In order to test GPS function of a Android Application, DDMS of Android SDK can help to change GPS location of Android Emuator.
Change to DDMS in Eclipse:
Click Window->Open Perspective->DDMS
Scroll down in Emulator Control on the left, till Location Controls
type in Longitude and Latitude, and click Send.
Nice post. I didn't know about this way through Eclipse.
ReplyDeleteI got fed up with having to manually telnet to the emulator and specify exact latitude and longitude coordinates.
I put together a little browser-based program that uses GWT and Google Maps to set the geo fix coordinates by clicking on a map.
android-gps-emulator
It's open source and can hopefully be of use to other developers out there!
thanks ,it helped me a lot..
ReplyDeletei did this same way.but gps location was not changed.what is the error???
ReplyDelete