【问题标题】:How to retrieve Google Directions GPS data from real device如何从真实设备中检索 Google Directions GPS 数据
【发布时间】:2017-11-26 23:42:52
【问题描述】:

我正在尝试基于 Google 路线(地图)API 制作应用程序。基本上,我将开发一个移动应用程序,它会告诉用户他们的汽车在哪里导航,我将监控实际行程(遵循的路线、时间、速度等)。然后,我需要处理检索到的数据,以便在网络平台上显示它并计算一些统计数据。

我的问题是,我应该使用哪个 API 以及如何使用?我实际上已经搜索过这个主题,但我找不到关于这个主题的有用的东西(比如教程),因为我是这个领域的新手,我不知道如何开始和做什么。

因此,如果您能给我一些我必须遵循的步骤来完成此任务,我将不胜感激。此外,所有类型的材料(教程、文档、文章以及与该主题相关的任何内容以及针对真正初学者的提示)都会对我非常、非常有帮助!

【问题讨论】:

  • 请告诉我们您目前的研究成果。

标签: android directions google-directions-api


【解决方案1】:
Refer the following link for directions API documentation.

https://developers.google.com/maps/documentation/directions/intro

You can refer the following link for parsing directions.

https://github.com/jd-alexander/Google-Directions-Android

On Location Listener,listen continuosly your current location and store in a list and after the trip is completed,You can use that list that which path that the user as travelled and do your algorithm according to your requirement.

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2021-07-25
    • 2016-03-19
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-01-04
    • 2014-04-04
    相关资源
    最近更新 更多