我正在设计一个应用程序,我想在其中显示地图上的特定位置。我正在传递String
已经放置在Google Map
. 以下是我的Intent
代码..
String url = "http://maps.google.com/maps?daddr="+address;
Intent intent = new Intent(android.content.Intent.ACTION_VIEW, Uri.parse(url));
startActivity(intent);
但它给了我谷歌地图来获取方向。我知道为什么会这样,因为我使用daddr
过url
但我不知道在特定位置使用什么..请告诉我在那里使用什么..