Wednesday, January 30, 2013

Location Change on Emulator

How to simulate location change in the emulator?

Start the Emulator from eclipse

Start a command prompt

Type - telnet localhost 5554

This connects the telnet client to the android emulator (assuming emulator is running locally listening on port 5554. Else this connection fails)
Now type
geo fix 79.000000 13.000000 (or your latitude and longitude)

This sends the location change signal to the emulator.

If telnet doesn't works then go to Control Panel\Programs then turn windows feature on or off check telnet client.

No comments:

Post a Comment