有没有办法将
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
}
我已经阅读了如何解析并在Android MapView上绘制gpx文件,但我正在寻找更简单的解决方案。