【问题标题】:Struggling to implement google directions api in Android App努力在Android App中实现google方向api
【发布时间】:2010-07-20 17:14:27
【问题描述】:

我想在我正在创建的 Android 应用程序中实现谷歌步行/自行车路线,但我很难弄清楚如何做到这一点。我已经认识到最被接受的方式是通过 http 查询 google 以检索 kml 文件,该文件被翻译回 android 应用程序。但是自从我从事 java/android 编程大约一天以来,我只是在苦苦挣扎!有没有人可以向我指出如何实现简单的 A 到 B 导航应用程序的非常全面的教程,或者更好地向我发送一个简单的项目供我审查、分解和适应!

非常感谢任何帮助。

问候

【问题讨论】:

标签: android google-maps driving-directions map-directions


【解决方案1】:

这里也讨论过:

Launching Google Maps Directions via an intent on Android

使用以下代码:

Intent intent = new Intent(android.content.Intent.ACTION_VIEW, Uri.parse("@987654322@")); startActivity(intent);

【讨论】:

    猜你喜欢
    • 2013-12-30
    • 2014-07-27
    • 2020-01-31
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多