【发布时间】:2014-07-26 20:43:33
【问题描述】:
我正在开发一个使用 google play 服务的应用程序。在某些手机上,客户端返回 null 作为位置。发生这种情况是因为在 google 设置中未启用 locaiton 选项,如附图所示。
如何以编程方式检查 android 应用中是否启用了谷歌设置位置?
http://www.cnet.com/how-to/explaining-the-google-settings-icon-on-your-android-device/
【问题讨论】:
-
使用
LocationManager检查不同的供应商
标签: android location google-play-services