I'm currently testing gps locations in Android(with SDK Tools rev 21.0.1. I tried the standard procedure:
- Create an emulator with GPS enabled(tried multiple version, from 2.1 to 4.2)
- Start the emulator
- telnet to localhost:5554
- Type geo fix long lat
In theory, this should set the gps to .
But the following signs indicate the location is not properly set:
1. When I go to maps.google.com or open Google map, it always complains that cannot decide my location and they always ask me to switch on wifi.
2. The GPS never seems to be activated -- no icons on the status bar.
Also, I tried DDMS(which is deprecated and of course I tried Monitor as well). Nothing seems to happen.
I went previous links pointed here: Location not being updated on new geo fix in android emulator
Android - Unable to get the gps location on the emulator
GPS on emulator doesn't get the geo fix - Android
But all those links do not seem to help. There are some bug report on android project page: http://code.google.com/p/android/issues/detail?id=13046
but it was a pretty old issue and a final solution wasn't reached.
I'm wondering if anyone else has experienced similar issue and please offer some help. Thanks.