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?
Is there any push notification service in Android like Apple Push Notification Service?
Asked Answered
possible duplicate of Does Android support near real time push notification –
Debut
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
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 chat –
Tabshey
It seems that C2DM has been discontinued and been replaced by Google Cloud Messaging for Android : developer.android.com/guide/google/gcm/index.html –
Shimberg
Google Cloud Messaging has now been replaced by Firebase Cloud Messaging: firebase.google.com/docs/cloud-messaging –
Derma
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
Try this GCM Google Cloud Messaging for Android
Thanks Dhiral, yeah this seems to be the replacement of C2DM (mentioned in edit to answer) –
Juetta
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
© 2022 - 2024 — McMap. All rights reserved.