如何从真实设备中检索Google Directions GPS数据

问题描述 投票:-1回答:1

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

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

因此,如果你能给我一些我必须遵循的步骤以实现这一目标,我将非常感激。此外,所有类型的材料(教程,文档,文章和有关该主题的任何内容以及真正初学者的提示)对我来说都非常非常有用!

android directions google-maps-direction-api
1个回答
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.
© www.soinside.com 2019 - 2024. All rights reserved.