android c2dm注册ID
我阅读了 Android Cloud to Device Messaging Framework 中的解释。 当我们的应用程序成功注册到 C2DM 服务器后,我们会收到一个注册 ID。注册 ID 一直持续到应用程序明确取消注册,或者直到 Google 刷新您的应用程序的注册 ID。 Google 何时刷新您的应用程序的注册 ID?我们如何知道它,以便我们可以再次注册并将新的注册 ID 发送到我们的服务器。
谢谢。
I read in the explanation in Android Cloud to Device Messaging Framework.
After our app register successfully to C2DM server, we receive a registration ID. The registration ID lasts until the application explicitly unregisters itself, or until Google refreshes the registration ID for your application. When is exactly Google refreshes the registration ID for your application?? How do we know it so we can register again and send our new registration ID to our server.
Thank you.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
根据 android-c2dm 邮件列表上的讨论,刷新注册 ID 并不是一个频繁的事件,但您的应用程序应该能够处理它。操作系统将使用新的注册 ID 再次触发注册
Intent
。请参阅 Google 网上论坛上的以下主题:[1] [2] [3]
According to discussions on the android-c2dm mailing list, refreshing the registration ID is not a frequent event, but your application should be able to handle it. The OS will fire the registration
Intent
again with the new registration ID.See the following threads on Google Groups: [1] [2] [3]