我知道Google Play商店通过IP地址、帐户信息来确定其位置。但有没有办法获取 Google Play 商店正在使用的区域设置?
最佳答案
如果您从 Google Play 商店获取应用内可购买商品,它们将具有一个price_currency_code,即“价格的 ISO 4217 货币代码”。例如,如果价格以英镑指定,则price_currency_code 为“GBP” “。”
我认为,如果不向 Google Play 查询可用产品(并返回至少一种产品),就无法获取此信息。
更多信息请访问 Google's API documentation .
关于android - 如何获取 Google Play 商店区域设置,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19288379/