android - 如何检测用户是否链接到 Google Market 帐户

标签 android google-play

<分区>

Possible Duplicate:
How to find Gmail account associated with Android Market?

在 Android 中,是否有一种简单的代码方法来检测用户是否已使用 gmail 地址将他们的手机链接到 Google 电子市场?

最佳答案

在我看来,此时应该问的是“你到底想做什么?”

我能想到的最明显的用例是验证用户是否合法使用您的应用程序,在这种情况下,您可能会在应用程序许可中找到正确答案:http://developer.android.com/guide/google/play/licensing/index.html

我能想到的下一个最明显的用例是您想帮助用户安装一些东西,在这种情况下,您的答案可能是链接到您的应用程序:http://developer.android.com/distribute/googleplay/promote/linking.html

对于其他情况,答案可能从客户经理开始。在这里试试:http://developer.android.com/training/id-auth/identify.html

关于android - 如何检测用户是否链接到 Google Market 帐户,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11595704/

相关文章:

android - 获取 JSON 并对其进行操作

android - Android studio 中的 Github "PUT"请求

android - Google 控制台警告我的应用需要 CAMERA 权限

android - 我在调用方法 : purchases. subscriptions.get 端点时收到未经验证的错误

android - 无法在Google Play商店上发布Xamarin.Forms App的APK文件

android - 上线后如何访问Google Play上的Beta Testing APK?

android - 循环显示带有 fragment 的 Activity

android - 这段代码为什么要用Context呢?

java - 需要服务器端的 iOS/Android 应用程序的标准架构

php - PHP Google Play订阅API