该链接具有在我们的应用程序中在地图上绘制路线的教程。这可能会为您提供帮助,并在下面使用它与地图应用程序链接…这将带您在Google地图应用程序中
String uri = "http://maps.google.com/maps?f=d&hl=en&saddr="+source_latitude+","+source_longitude+"&daddr="+destination_latitude+","+destination_longitude;Intent intent = new Intent(android.content.Intent.ACTION_VIEW, Uri.parse(uri));intent.setClassName("com.google.android.apps.maps", "com.google.android.maps.MapsActivity");startActivity(intent);


