【问题标题】:Is there any push notification service in Android like Apple Push Notification Service?Android中是否有像Apple Push Notification Service这样的推送通知服务?
【发布时间】:2011-10-24 15:04:02
【问题描述】:

我想为Android手机用户提供推送通知服务,Android中是否有类似Apple Push Notification Service的推送通知服务?

【问题讨论】:

标签: android push-notification android-c2dm


【解决方案1】:

哦,是的!它称为C2DM。一定要看看!

编辑:Tutorial 已添加链接!

编辑:为了完整起见,C2DM 现已弃用,取而代之的是 Google Cloud Messaging

编辑:GCM 现在已替换为 Firebase Cloud Messaging

【讨论】:

  • 这个基于云的推送服务符合我的要求。非常感谢!
  • 您有 C2DM 的实践经验吗?
  • 我只是想在我的一个应用程序中实现它。我已经注册了该服务,这将允许我从 Google 服务器发送消息,但我还没有开始实际实施它。所以简而言之,我没有太多的实践经验,但是是的,我知道理论部分。
  • 但我认为这里会有很多教程可用,还有很多关于 SO 的帖子!祝你好运。
  • C2DM 好像已经停产,取而代之的是 Google Cloud Messaging for Android :developer.android.com/guide/google/gcm/index.html
【解决方案2】:

试试这个GCM Android 版 Google 云消息传递

【讨论】:

  • 谢谢 Dhiral,是的,这似乎是 C2DM 的替代品(在编辑回答中提到)
【解决方案3】:

Firebase Cloud Messaging (FCM)GCM 的新版本。它继承了可靠且可扩展的 GCM 基础架构以及新功能。

参考:GCM and FCM frequently Asked Questions

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2011-01-18
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-11-18
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多