[android-developers] Re: Google Maps API - Getting GPS data ??

2010-12-17 Thread JP
I suppose you've found a decent answer yourself. I didn't think of the Directions API. That could be a piece of the puzzle. When you query the Directions API with a start and end address, you receive a series of steps that lead from start to finish. You can try to extract the start and end coordina

[android-developers] Re: Google Maps API - Getting GPS data ??

2010-12-17 Thread CJ
Thanks a lot. That is really helpful for me and gives me a lot of safety for my project. But I just stumbled over the following: http://code.google.com/intl/en/apis/maps/documentation/directions/ At Directions Responses --> JSON "overview_polyline": { "points": There I could get an code,

[android-developers] Re: Google Maps API - Getting GPS data ??

2010-12-17 Thread JP
The Google Maps API does not offer the structured data that you are looking for (that I am aware of). This is not stashed away somewhere on the device, it isn't available. The data exchange between the client and the Maps server side is based on rastered (bitmap) map tiles. You'll have to find anot

[android-developers] Re: Google Maps API - Getting GPS data ??

2010-12-17 Thread CJ
Thanks for your answer, GPS Breadcrumbing seems to be really interesting but unfortunatelly that's not what I'm working on. The key to my project is to compare every point of a route (maybe all points of the showed Google Maps API Polyline) and its GPS data to a certain fixed location. That means

[android-developers] Re: Google Maps API - Getting GPS data ??

2010-12-15 Thread Spiral123
It sounds like you are working on GPS Breadcrumbing. If you take a snapshot of Latitude, Longitude (optionally Altitude) at defined time intervals during your trip you will be able to calculate Bearing, Velocity between points and distance of each point to a fixed other location using the handy f