I want to get longitude and latitude in Android emulator for testing.
Can any one guide me how to achieve this?
How do I set the location of the emulator to
In Linux where communication ports are blocked. navigate the terminal to platform-tools folder inside android sdk and fire this command:
android sdk
./adb -s #{device_name} emu geo fix #{longitude} #{latitude}