有什么方法可以导出GeoPoints
到 GPX 文件中吗?
@Override
public void onLocationChanged(android.location.Location location) {
lat = location.getLatitude();
lon = location.getLongitude();
currGeo = new GeoPoint((int)(lat*1e6),(int)(lon*1e6));
//Store GeoPoint to GPX file
}
我已阅读How to parse and plot gpx file has an android MapView,但我正在寻找更简单的解决方案。