Skip to content

Instantly share code, notes, and snippets.

Avatar
👨‍💻
Xamarin developer

José Burkhardt JFMG

👨‍💻
Xamarin developer
  • adesso mobile solutions
  • Berlin, Germany
View GitHub Profile
View Android Studio Error Log
09-10 17:19:25.403 766-780/? E/ActivityManager: ANR in com.my.app
PID: 5198
Reason: Broadcast of Intent { act=com.google.firebase.INSTANCE_ID_EVENT flg=0x14 cmp=com.my.app/com.google.firebase.iid.FirebaseInstanceIdInternalReceiver (has extras) }
Load: 7.36 / 7.08 / 7.34
CPU usage from 11729ms to 0ms ago (2018-09-10 17:19:08.892 to 2018-09-10 17:19:20.621):
5.4% 26982/adbd: 0.5% user + 4.9% kernel / faults: 5367 minor
4.8% 16228/com.google.android.googlequicksearchbox:search: 3.4% user + 1.3% kernel
3% 564/audioserver: 0.9% user + 2.1% kernel
1.2% 766/system_server: 0.4% user + 0.8% kernel / faults: 32 minor 1 major
1% 2945/com.google.android.googlequicksearchbox: 0.2% user + 0.7% kernel
@JFMG
JFMG / MainActivity.java
Last active Oct 27, 2017
Android Wear Channel API – Sending and receiving messages
View MainActivity.java
public class MainActivity extends WearableActivity implements ConnectionCallbacks, OnConnectionFailedListener, NodeListener, ChannelListener {
private static final String TAG = MainActivity.class.getSimpleName();
private GoogleApiClient googleApiClient = null;
protected void onCreate(final Bundle savedInstanceState) {
Log.d(TAG, "onCreate");
super.onCreate(savedInstanceState);
You can’t perform that action at this time.