gpt4 book ai didi

Android 获取 Google Play 商店当前应用的国家/地区已从

转载 作者:行者123 更新时间:2023-12-02 09:39:45 89 4
gpt4 key购买 nike

这个问题在这里已经有了答案:





How can I get my Android device country code without using GPS?

(10 个回答)


8年前关闭。




我需要在下载我的应用程序时获取 PlayStore 设置的国家(在应用程序中)。我只需要在从 Playstore 下载后安装我的应用程序时在首次启动时获取此值。

如果没有,有没有办法从通过 AccountManager 检索到的帐户派生国家?

我已经四处寻找,但尚未找到解决方案。
非常感谢您的帮助! :)

最佳答案

帐户不会向您提供国家/地区信息。即使您将用户连接到 Google+。您需要使用网络中的位置、gps,或者由于您只需要国家/地区,请使用电话中的 mcc。

关于Android 获取 Google Play 商店当前应用的国家/地区已从,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21420298/

89 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com