hi all, i am burning my hands with c2dm
i am following vogella tutorial
i see registration function has a function call startservice
where is it defined ? how can i debug and see the failure reason for
register ? my server side code is giving a proper auth token
public void register(View view) {
Log.w("C2DM", "start registration process");
Intent intent = new
Intent("com.google.android.c2dm.intent.REGISTER");
intent.putExtra("app",
PendingIntent.getBroadcast(this, 0, new
Intent(), 0));
// Sender currently not used
intent.putExtra("sender", "[email protected]");
startService(intent);
}
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en