0

有没有办法从 MyLocationOverlay 获得修复的准确性?它显然知道它有多准确,因为它绘制了它有多准确的区域的圆圈。有没有得到这个值?

谢谢

4

2 回答 2

0

在我的一个应用程序中来自我的位置侦听器的代码...

      public void onLocationChanged(Location location) {
        currentLatitudeE6 = (int) (location.getLatitude() * 1E6);
        currentLongitudeE6 = (int) (location.getLongitude() * 1E6);
        currentAccuracy = location.getAccuracy();
        hasCurrentPosition = true;
        gpsMessage = "GPS Tracking";
        updateMap();
    }
于 2012-04-07T15:42:21.970 回答
0

通过 locationManager.requestLocationUpdates 方法实现 Location Listener,查看以下链接:

http://hejp.co.uk/android/android-gps-example/

于 2012-04-07T15:47:26.513 回答