I recommend the android-gcm Google Group for questions related to GCM. On Thu, Oct 18, 2012 at 9:01 AM, Seshu <s.seshu...@gmail.com> wrote: > Hi all, > I implemented GCM i.e., Google Cloud Messaging in my > application. I got registration id and i sent to backend team.our > backend team sending msg's to device. but i am not able to receive > those messages. sday i received 2 messages out of 10. but 2day i > didn't receive single message also. If any body knows the reason then > plz tell 2 me... Please see my code attached here.. > > public class GCMIntentService extends GCMBaseIntentService{ > > public GCMIntentService(){ > super(Utils.GCMSenderId); > } > > @Override > protected void onError(Context context, String regId) { > Log.e("", "error registration id : "+regId); > } > > @Override > protected void onMessage(Context context, Intent intent) { > String message = intent.getStringExtra("message"); > Log.e("message is", ""+message); > } > > @Override > protected void onRegistered(Context context, String regId) { > handleRegistration(context, regId); > } > > @Override > protected void onUnregistered(Context context, String regId) { > > } > } > > -- > 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
-- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in NYC: http://marakana.com/training/android/ -- 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