📜  打开谷歌地图骑行导航意图 - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:21.734000             🧑  作者: Mango

代码示例2
var gmmIntentUri = Uri.parse("google.navigation:q="+destintationLatitude+","+destintationLongitude + "&mode=b");
var mapIntent = Intent(Intent.ACTION_VIEW, gmmIntentUri);
mapIntent.setPackage("com.google.android.apps.maps");
startActivity(mapIntent);