2013-05-10 54 views
0

我在谷歌云消息传递中使用谷歌注册编号为例,但我不明白如何生成此编号。什么谷歌注册编号是

是它的链接到谷歌播放帐户或移动?

的为例做了使用相同的谷歌Play帐户将具有相同的注册ID

如果用户使用两个谷歌Play帐户两种不同的手机,并注册ID将取决于谷歌玩会吗?

感谢您的帮助

回答

1

一个GCM注册ID是唯一到Android登录&设备。如果用户使用相同的登录名登录2台设备,则它们将具有不同的GCM ID。从这个link

An ID issued by the GCM servers to the Android application that allows it to receive messages. Once the Android application has the registration ID, it sends it to the 3rd-party application server, which uses it to identify each device that has registered to receive messages for a given Android application. In other words, a registration ID is tied to a particular Android application running on a particular device.

+0

谢谢您的回答中发现以下 – Ajouve 2013-05-11 08:13:21