Skip to content Skip to sidebar Skip to footer

Android Get Latitude And Longitude On Emulator Of Android

hi iwant to check lat long of current position in android emulator how to achive this..??it is possible to get current position latitude and longitude on emulator???if yes then wha

Solution 1:

You'll find this window in the DDMS perspective in Eclipse. This way you can test your application with various location values.

Emulator Control


Solution 2:

go to eclipse DDMS perspective,Via

Windows>Open Perspective > other > DDMS (You can type to filter the list)

find Emulator Control tab

then inside Location Control box

You can send lat, long to emulator to simulate gps changes.

if you cannot find Emulator Control, just open it via:

Windows > show view > other > Emulator Control (You can type to filter the list)


Solution 3:

You can also using telnet to set the emulator's location

  1. open a command shell

  2. conect to the emulator with the command: telnet localhost

  3. to enter a fixed location execute the command:

  4. geo fix longitude latitude


Post a Comment for "Android Get Latitude And Longitude On Emulator Of Android"