[android-developers] c2dm registration understanding
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", "jags@gmail.com");
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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home