【问题标题】:Get Google account username of the Google Play account from which the app is installed获取安装应用程序的 Google Play 帐户的 Google 帐户用户名
【发布时间】:2016-04-23 13:19:18
【问题描述】:

在我的应用中,我需要找到从 Play 商店安装该应用的用户的电子邮件地址。我可以使用 AccountManager 获取设备上存在的所有 Google 帐户,但无法区分用户从 Play 商店安装应用程序的帐户。

你能告诉我实现这一目标的可能方法吗?

【问题讨论】:

  • AccountManager.get(getActivity()).getAccountsByType("com.google")

标签: android google-play


【解决方案1】:

这是不可能的!如果你尝试这样的事情,谷歌会永远把你踢出商店:)

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2012-06-16
    • 1970-01-01
    • 2018-05-24
    • 2020-05-27
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多