1

I was thinking of building an app for a hackathon, in which I need to know if it is possible to get the location coordinates and the timestamp of those coordinates.

For example say, X was at A in time p and at B in time q, now can I get these parameters from the Google Maps API, which will have to be fetched from its history? This is a place where one can check there location history What I want to know is, is it possible through the API?

As you would have guessed I am a complete noob in android, so any help is valuable. :) Thanks in advance. Cheers.

MrUpsidown
  • 21,592
  • 15
  • 77
  • 131
rd22
  • 1,032
  • 1
  • 18
  • 34

1 Answers1

1

As far as I have searched through Google and other sources, Google do not provide API which results us travel path or places in recent history time.

But...

Google has provided APIs set through which we can implement this task on our own. They are Distance Matrix APIs and Direction service APIs

For achieveing this task, Direction service APIs are good way to implement

You can check my question : Difference between Google Map Distance and Directions API

I have found good tutorials which i am giving you :

  1. Showing Current location on Google Map Android

  2. Driving Location from our location to any destination

I am also trying to implement this task using above two tutorials.

Community
  • 1
  • 1
Kushal
  • 8,100
  • 9
  • 63
  • 82