简体   繁体   English

是否每个Android手机都启用了GPS?

[英]Is every Android phone GPS Enabled or not?

I am developing a location based application but I am confused whether every Android phone has GPS enabled or not? 我正在开发基于位置的应用程序,但我是否为每部Android手机都启用GPS感到困惑?

And if GPS is not available and if we use GPS settings API, then what is the result? 如果GPS不可用,并且我们使用GPS设置API,那么结果如何? is any error or not..? 有没有错误..?

please help me.. 请帮我..

Some android devices don't have a GPS. 某些android设备没有GPS。

For more informations on how to get the location of a user, you should read the Obtaining User Location section of the documentation : it contains quite of bit of notes and code samples. 有关如何获取用户位置的更多信息,您应该阅读文档的“ 获取用户位置”部分:其中包含大量注释和代码示例。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM