Updating GPS coordinates in Android emulator
The Android Eclipse plugin is generally a very handy plugin. There are, however, a few limitations. For example, if you are working with multiple emulators running simultaneously and want to update the GPS coordinates in both emulators, you will find that you can load only one KML file at the time. Needless to say, this is a very specific issue, but annoying enough when developing applications which heavily depend on the GPS functionality and interacting with other clients at the same time.
@pauloricardomg wrote a GPS server to be used in his and @navaneethr course project. He programmatically updates the coordinates by sending instructions over Telnet to the emulator. For the evaluation of our own project, we needed something similar. Below is a hack which extracts the essential functionality and wraps it in a python script.
Hope it may come in handy.