【发布时间】:2013-11-28 11:08:39
【问题描述】:
如何使用 Android 中的 GMail 地址获取类似于“1242343543557656”的 Google 用户 ID?
我已经搜索过这个,只找到了关于如何获取 gmail 地址和用户名的答案。
我想要的是 google 提供给 gmail 地址的唯一 ID?
这些是我已经提到的一些链接。
-Accessing Google Account Id /username via Android
-How can I get the google username on Android?
-Get the Google ID used to download the application
-How to get the Android device's primary e-mail address
【问题讨论】:
-
我不确定这是否可行。但是尝试在按钮代码中查看 google sing。它对您进行身份验证并返回您的用户信息,例如姓名、性别、个人资料图片。它可能会返回您正在寻找的 id。让我知道这是否有效
标签: android google-app-engine gmail