从Google Maps Intent获取结果 [英] get results from google maps intent
问题描述
在我的Android应用程序中,我希望用户能够选择一些位置并将该位置返回到应用程序代码. 类似于startActivityForResults.
in my android application I want the user will be able to choose some location and to get this location back to the application code. something like startActivityForResults.
有可能吗?
我知道所有google服务sdk以及所有这些都可能, 但我只想使用内容意图,如此处所述:
I know that it is possible with all the google service sdk and all of this, but I want to use only the content intent, like described here:
https://developers.google.com/maps/documentation/android-api/intents#overview
和此处(在地图"部分): http://developer.android.com/guide/components/intents-common.html
and here (in the maps section): http://developer.android.com/guide/components/intents-common.html
非常感谢.
推荐答案
Android设备不需要具有能够满足您需求的应用程序.对此也没有标准的Intent
结构.
There is no requirement for an Android device to have an app that does what you want. There is no standard Intent
structure for this, either.
这篇关于从Google Maps Intent获取结果的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!