I am trying to use C2DM in my application, but I am getting some errors
10-14 11:21:14.904: WARN/ActivityManager(61): Unable to start service Intent { act=com.google.android.c2dm.intent.REGISTER (has extras) }: not found
My code is:
Intent registrationIntent = new Intent("com.google.android.c2dm.intent.REGISTER"); registrationIntent.putExtra("app", PendingIntent.getBroadcast(this, 0, new Intent(), 0)); // boilerplate registrationIntent.putExtra("sender", " andylor03@gmail.com "); startService(registrationIntent);
Can anyone help me on this ...
Happy code ...!
source share