Hi!

I am trying to create project using Google Cloud Messaging (not C2DM - it's 
deprecated). I use this code from demo app to get message text in onMessage 
method:

String data = intent.getExtras().getString(GCM_EXTRA_MESSAGE);

And I get null. Message even doesn't has "message" extra. What's wrong?

Thanks!

-- 
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

Reply via email to