Questions:
1: What is Googles recommended migration path for C2DM->GCM for background services. Should I use the gcm.jar approach, even though its deprecated?
2: If Google Play Services are not currently available on the device, should you fall back to using C2DM, rather than call GooglePlayServicesUtil.getErrorDialog()?
3: Having both C2DM and GCM active in my client is unsatisfactory. When I register for GCM using GoogleCloudMessaging.register(senderId), a com.google.android.c2dm.intent.REGISTRATION message is broadcast, which is picked up my my C2DM receiver. I can not tell if the message is a C2DM registration message or a GCM registration message. Is there a way to distinguish between the 2 registration messages? I know that GoogleCloudMessaging.register() returns the registration Id, but it also results in that com.google.android.c2dm.intent.REGISTRATION message being broadcast which seems unnecessary and confuses the real C2DM receiver.
I welcome your advise / insight into my problem. The documentation around Google Play services seems a little light and does not address its use from background services.
Kind regards
--
You received this message because you are subscribed to a topic in the Google Groups "android-c2dm" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/android-c2dm/6w8wQpWgnyo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to android-c2dm...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Guillaume Perrot Software Engineer, Capptain |
p.
+33299656913
a.
18 rue Tronchet, 75008 Paris, France
|
Many thanks again.