Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Route simulation using GPX on Android

I've asked this question before but still no resolution. Here is what I'm looking for. I am working on a GPS Navigation application on Android. For that I would like to be able to simulate driving on a map. I read that I can achieve it using a GPX file and using the Android emulator. So I added GPS support to an emulator and launched it. Then I created a GPX file using two different sites:

  1. wtracks.appspot.com: The gpx file I created using it, after loading it in DDMS, nothing happens. That is, I don't even see the file being loaded so the play button is grayed out

  2. Mapmyride.com: The GPX file I created using this do get loaded in DDMS and shows the 835 points in the point count in the emulator window. The green play button is enabled but when I select it, it shows the pause button for a second and then goes back to the green play button. That is, it's almost like the file runs for a second and stops.

So really, all I want is if someone can show me the exact steps to be able to create a GPX file by some easy method like clicking on a map and then once I have a valid GPX file, to be able to load it in DDMS and run it to simulate car driving on a map. If it works, I will accept the answer immediately.

Thanks,

-Vivek

like image 883
vkinra Avatar asked Mar 04 '13 16:03

vkinra


1 Answers

you can use this website can create for you a gpx file in second just set the destination on google maps and copy the link to this website and click create

MAPS GPX

like image 106
Ridha Rezzag Avatar answered Oct 14 '22 11:10

Ridha Rezzag