从我的Andr​​oid应用程序拖放引脚上的默认谷歌地图?我的、拖放、应用程序、引脚

2023-09-04 06:44:51 作者:笨笨哒`

我有一个地址的位置。当我点击我的应用程序的一些按钮。它应该重定向到默认的谷歌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.

 
精彩推荐
图片推荐