Well look at each of these Using geo to update location

The geo utility is built into the Android image that runs on the emulator. It has a number of capabilities, the most important of which is geo fix:

geo fix

You can use the geo fix command to send a location to Android by telnetting to the console of the emulated Android. The LocationProvider will then use this as the current location:

telnet localhost 5554

Android Console: type 'help' for a list of commands OK

geo fix -122.842232 38.411908 0

geo fix takes three parameters: longitude

Specified in decimal latitude

Also specified in decimal altitude

Specified in meters

0 -1

Post a comment