I somehow improved Justins code. See http://pastebin.com/m1f06415f
It has now a New-York based journey (longer than before) and the time-interval between each points can be set so that the update inveral (set to 500ms) can be arbitraryly small (see line 177) @Justin: if you like it, please include it in you zip-file > I just posted some code at > http://groups.google.com/group/android-developers/web/mock_provider.zip > that implements a mock location provider. This runs entirely in the > emulator, so it should work across all platforms. It allows you to > specify a set of coordinates and will the just loop through them > forever. This could easily be adapted to read data from a file, URL, > etc. As Stefan points out on > http://groups.google.com/group/android-developers/browse_frm/thread/2b71c14f34dd8788 > , its important to set the time value on the Location you pass to the > location service. If a new Location has the same time value as the > previous one the LocationManager received, the location won't be > updated. > > You should be able to compile this, install it on the emulator, run > it, and then see the location change in Maps application. > > Hopefully this puts it all together and resolves issues that many have > been encountering. > > Cheers, > Justin > Android Team @ Google > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new Android 0.9 SDK beta! http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

