android c2dm注册ID

发布于 2024-10-04 07:44:31 字数 223 浏览 0 评论 0原文

我阅读了 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

本王不退位尔等都是臣 2024-10-11 07:44:32

根据 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]

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文