Is there any push notification service in Android like Apple Push Notification Service?
Asked Answered
T

3

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?

Tabshey answered 11/8, 2011 at 3:16 Comment(1)
possible duplicate of Does Android support near real time push notificationDebut
M
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

Marshy answered 11/8, 2011 at 3:25 Comment(9)
This cloud-based push service meets my requirements. Thank you very much!Tabshey
Do you have any hands-on experience in C2DM ?Tabshey
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.Marshy
But I think there will be a lot of tutorials available and also a whole lot of posts here on SO! So good luck.Marshy
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 ?Tabshey
@AnandSainath let us continue this discussion in chatTabshey
It seems that C2DM has been discontinued and been replaced by Google Cloud Messaging for Android : developer.android.com/guide/google/gcm/index.htmlShimberg
Google Cloud Messaging has now been replaced by Firebase Cloud Messaging: firebase.google.com/docs/cloud-messagingDerma
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.Marshy
T
3

Try this GCM Google Cloud Messaging for Android

Tsunami answered 3/1, 2013 at 3:6 Comment(1)
Thanks Dhiral, yeah this seems to be the replacement of C2DM (mentioned in edit to answer)Juetta
W
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

Wilkerson answered 28/9, 2016 at 5:24 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.