通过Intent来拉起谷歌地图
Intent intent = new Intent(android.content.Intent.ACTION_VIEW,
Uri.parse("http://maps.google.com/maps?saddr=20.344,34.34&daddr=20.5666,45.345"));
startActivity(intent);
通过Intent来拉起谷歌地图
Intent intent = new Intent(android.content.Intent.ACTION_VIEW,
Uri.parse("http://maps.google.com/maps?saddr=20.344,34.34&daddr=20.5666,45.345"));
startActivity(intent);
本文标题:android 应用内调起谷歌地图实现导航
本文链接:https://www.haomeiwen.com/subject/tfkdactx.html
网友评论