我能够启动谷歌地图意图
Uri location = Uri.parse("geo:0,0");
Intent mapIntent = new Intent(Intent.ACTION_VIEW, location);
startActivity(mapIntent);
如何在驾驶模式下启动意图(没有目的地,除非之前在地图中设置),使其看起来像下面的屏幕截图?
我尝试了设置mode=driving
,但这只是打开了常规地图并选择了“驾驶”选项卡:
Uri location = Uri.parse("geo:0,0?mode=driving");