我知道
Intent intent = new Intent(android.content.Intent.ACTION_VIEW,
Uri.parse("http://maps.google.com/maps?f=d&source=s_d" +
"&saddr="+ srcLat + ","+ srcLong + "&daddr="+ destLat + "," + destLong));
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK &
Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS);
intent.setClassName("com.google.android.apps.maps",
"com.google.android.maps.MapsActivity");
startActivity(intent);
这里我添加源和目标lat和long。我想将折线发送到外部导航地图并基于折线导航而不是纬度和长度。
答案 0 :(得分:0)