10

I want to provide a push notification service to Android phone users, is there any push notification service in Android like Apple Push Notification Service?

Janusz
  • 187,060
  • 113
  • 301
  • 369
user403015
  • 7,209
  • 19
  • 66
  • 100
  • 1
    possible duplicate of [Does Android support near real time push notification](http://stackoverflow.com/questions/1243066/does-android-support-near-real-time-push-notification) – Matt Ball Aug 11 '11 at 03:25

3 Answers3

13

Oh yes! Its called C2DM. Do check it out!

Edit: Tutorial link added!

Edit: For completeness, C2DM has now been deprecated in favor of Google Cloud Messaging

Edit: GCM has now been replaced by Firebase Cloud Messaging

Anand Sainath
  • 1,807
  • 3
  • 22
  • 48
  • This cloud-based push service meets my requirements. Thank you very much! – user403015 Aug 11 '11 at 03:33
  • Do you have any hands-on experience in C2DM ? – user403015 Aug 11 '11 at 03:39
  • I just wanted to implement it in one of my apps. I have registered for the service, which will allow me to send messages from the Google Server, but I haven't got around to actually implementing it. So in short, I don't have much hands-on experience, but yea, I know the theoretical part. – Anand Sainath Aug 11 '11 at 03:42
  • 1
    But I think there will be a lot of tutorials available and also a whole lot of posts here on SO! So good luck. – Anand Sainath Aug 11 '11 at 03:43
  • Hi, I have gone through the C2DM documentation, it seems that it uses a ClientLogin token during the message sending process. The client login phase involves CAPTCHA challenge. If the message is sent by application server automatically, how the server do the login phase with CAPTCHA challenge ? – user403015 Aug 11 '11 at 04:03
  • @AnandSainath let us [continue this discussion in chat](http://chat.stackoverflow.com/rooms/2346/discussion-between-user403015-and-anand-sainath) – user403015 Aug 11 '11 at 04:04
  • 2
    It seems that C2DM has been discontinued and been replaced by Google Cloud Messaging for Android : http://developer.android.com/guide/google/gcm/index.html – Andreas Paulsson Aug 06 '12 at 05:43
  • Google Cloud Messaging has now been replaced by Firebase Cloud Messaging: https://firebase.google.com/docs/cloud-messaging/ – kcstricks May 19 '16 at 23:37
  • I attended Google IO this year and I think Firebase is something that is going to be talked about for some time now. Thanks for the pointer. – Anand Sainath May 23 '16 at 18:39
3

Try this GCM Google Cloud Messaging for Android

Dhiral Pandya
  • 10,311
  • 4
  • 47
  • 47
0

Firebase Cloud Messaging (FCM) is the new version of GCM. It inherits the reliable and scalable GCM infrastructure, plus new features.

Reference: GCM and FCM frequently Asked Questions

devprashant
  • 1,285
  • 1
  • 13
  • 23