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", "j...@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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to