如果GPS关闭,我如何获得设备的位置?(How I can get the location of the device if the GPS is off?)
我想获得一个设备的经度和纬度,如果GPS关闭,希望可以是一个精确的位置
I would like to get the latitude and longitude of a device, if the GPS is off, well hopefully can be a precise location
最满意答案
您应该使用属于Google Play服务位置API的新LocationClient 。 它使用融合提供程序自动确定当时可用的最佳提供程序。 它还使用其他传感器来获得更准确的位置。
You should use the new LocationClient that is part of Google Play Services Location API. It uses a fused provider that automatically determines what is the best provider available at that moment. It also uses other sensors to get a more accurate location.
更多推荐
发布评论