How to enable GPS in Eclipse Emulator for Android

Possible duplicate:
How to emulate GPS location in Android emulator?

I am struggling with activating GPS functions in Android emulator (Eclipse)

I wrote a test program to get the current location. It works on my Android phone, so I'm sure the application works.

If I test the program in Eclipse’s Android Emulator ... nothing happens! What am I missing?

I already added GPS support to AVD. I know the emulator control ... but nothing happens in the application.

Do I need to install additional futures in the SDK?

Hope someone can point me in the right direction!

+3
source share
3 answers

telnet localhost 5554

. , :

geo fix (longitude) (latitude)

, ( GPS).

Google Maps, "drop latlong marker", GPS- .

+5

DDMS, . :)

+2

geo-fix , eclipse ui . .

try to create a new emulator (with gps support in its functions) and run it, select it in the list of emulators in the "devices" section, and then go to the emulator control. set the place there and click "Submit".

In any case, if this does not work, you can even install third-party applications on the emulator that do the same:

https://play.google.com/store/search?q=location+spoofer&c=apps

0
source

All Articles