开发者

android c2dm registration ID

开发者 https://www.devze.com 2023-01-26 22:08 出处:网络
I read开发者_JAVA技巧 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 unt

I read开发者_JAVA技巧 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.


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]

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号