google-maps - 如何从 Google map 应用程序返回到我的应用程序?

标签 google-maps google-maps-android-api-2 google-maps-api-2

在我的应用程序中,我使用 Intent 调用 Google map 应用程序,一切正常。

我的问题是:

如何从 Google map 应用返回到我的应用?

如果我使用设备的“后退”按钮,那么我需要按下它 4-5 次! 有人有更好的解决方案吗?

最佳答案

Android 不会让您控制您启动的事件。因为它在 official documentation 中什么也没提到,它可能意味着你不能。

有一件事可能会有所帮助,您的应用程序似乎可以检查导航当前是否正在运行。查看此帖子以获取更多信息:Android application to detect when Google maps direction is finished

关于google-maps - 如何从 Google map 应用程序返回到我的应用程序?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32056696/

相关文章:

java - 地理围栏 : GoogleApiClient is not connected yet

带有 GPS 语音导航的 Android 应用

php - 安卓谷歌地图纬度/经度

java - 无法再在应用程序中看到谷歌地图

java - 如何在谷歌地图 v2 android 上显示纬度/经度标记

google-maps - Google Directions API 公交返回总是 "ZERO_RESULTS"

javascript - 设置谷歌地图标记javascript

android - 移植 Android 应用程序以在 BlackBerry 10 Android 运行时运行 - Google map

google-maps - 如何从 WKT 添加 MultiPolygon 到 Android Google Maps v2

Android - setInfoWindowAdapter with WebView in google Marker (api v2)