Android gps定位的真实精度很差
我使用以下代码在LocationListener中获取位置:Android gps定位的真实精度很差,android,gps,Android,Gps,我使用以下代码在LocationListener中获取位置: LocationManager locationManager = (LocationManager) this.getSystemService(Context.LOCATION_SERVICE); locationManager.requestLocationUpdates(LocationManager.NETWORK_PROVIDER, 60000, 5.0, locationListener); locationManage
LocationManager locationManager = (LocationManager) this.getSystemService(Context.LOCATION_SERVICE);
locationManager.requestLocationUpdates(LocationManager.NETWORK_PROVIDER, 60000, 5.0, locationListener);
locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 60000, 5.0, locationListener);
我得到的位置往往不准确。“gps”提供商的定位精度约为10-20米,但在实际应用中可能约为500米。在原生安卓应用程序谷歌地图中,我看到我的位置足够准确
我怀疑谷歌使用了另一种API。在安卓系统中有没有其他获取位置的方法
- 操作系统:安卓4.4
- 智能手机型号:斗吉航行者2 DG310