我有一个地址的位置。当我点击我的应用程序的一些按钮。它应该重定向到默认的谷歌android系统中的地图和落针到特定位置。如何做到这一点?你知道吗?
i have an address for a location. when i click some button in my app. it should redirect to default google map in android and drop the pin to that particular location. how to do that? Any Idea?
的的 Android的文档介绍了各种意图
的谷歌地图应用程序将响应,如果存在一个给定的设备上。您将presumably想有一个 GEO:0,0 Q =我+街道+地址
乌里
上 ACTION_VIEW
意图
。
The Android documentation describes the various Intents
that the Google Maps application will respond to, if it exists on a given device. You will presumably want a geo:0,0?q=my+street+address
Uri
on an ACTION_VIEW
Intent
.