solved: android emulator "location is currently unavailable"
not a question, but an answer:
i've solved this issue where my location-aware app would error out on android emulators (errno 2 "location is currently unavailable") when i'd hit the geolocation api.
You just have to fire up ddms and manually enter some coordinates (or KML) one time, and the api calls will work.
http://developer.android.com/guide/developing/tools/ddms.html#emulator-control
3 Answers
-
Accepted Answer
Cool, thanks for sharing.
-
I'm still getting "unable to get current position, location is null"
-
please some clarifications………….