从我的Android应用程序拖放引脚上的默认谷歌地图? [英] Drop Pin on Default Google Maps from My App in Android?
本文介绍了从我的Android应用程序拖放引脚上的默认谷歌地图?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个地址的位置。当我点击我的应用程序的一些按钮。它应该重定向到默认的谷歌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
.
这篇关于从我的Android应用程序拖放引脚上的默认谷歌地图?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文