Wednesday, June 22, 2011

[android-developers] Re: Unable to get Latitude, Longitude of Current location

You are running this in the emulator right? The emulator does not have GPS hardware (duh) so the only way for the Location api to return a location is to provide it to it via adb as you just found out.

On the other hand if you are running on an actual device, no idea. Make sure GPS is turned on and getting a fix?

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment