我能够与Android - 如何在驾驶模式中启用Google地图意图?
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");
你是对的,它需要的目标使用travelmode =驾驶。我想知道是否有办法在没有目的地的情况下进入驾驶模式,如下所述:http://fieldguide.gizmodo.com/google-maps-driving-mode-is-your-essential-in-car-ai- 1776306949 –