Android 2.2 设备上的 Google 帐户同步
我正在Android应用程序中实现C2DM推送通知,它至少需要 一、登录Google账户。我创建了一个 Google g 邮件帐户并在设备上登录,但我 无法同步它。
请帮我。
提前致谢。
I am implementing C2DM for push notification in an android application, it need at least
one log in Google account. I create a Google g mail account and login on device, but I am
not able to sync it.
Please help me.
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您无需同步手机。您只需要一个与手机关联的 Google 帐户 - 设置、帐户、添加等。
另请注意,它不必必须是“发件人帐户” - 您在服务器上登录以发送消息的帐户。事实上,如果帐户相同,甚至可能会造成伤害。根据文档,C2DM 发送者帐户最好是专用帐户 - 除了发送 C2DM 之外不用于其他任何用途。
You don't need to sync your phone. You just need a Google account associated with the phone - Settings, Accounts, Add, and so forth.
Also note that it does not have to be the "sender account" - the one that you log on with on the server to send messages. In fact, it might even hurt if the account is the same. According to the docs, the C2DM sender account better be a dedicated one - not used for anything else other than sending C2DM's.