views:

373

answers:

2

I try to send gps longitude and latitude to the android emulator with eclipse, but the values seem to never be set. Instead the onStatusChanged method of my listener is called. Edit I send those values through the emulator controls in the ddms view in eclipse.

If I send data via telnet I get the correct data shown and the onLocationChanged method of my listener is changed.

+4  A: 

There is a bug with location controls of ADT in Eclipse if you're using a locale other than English. To fix it, you have to add "-Duser.language=en" (without the quotation marks) on a separate line to your eclipse.ini file. You can take a look at this issue for details.

Sarp Centel
A: 

dude......it works....took me long to find this post. Thanks a lot

murilo costa
glad to here that. But this should be a comment...
Janusz