Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

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

— asked August 18th 2010 by Kevin Lim
  • android
  • emulator
  • geolocation
  • getcurrentposition
0 Comments

3 Answers

  • Accepted Answer

    Cool, thanks for sharing.

    — answered August 18th 2010 by Kevin Whinnery
    permalink
    0 Comments
  • I'm still getting "unable to get current position, location is null"

    — answered April 27th 2012 by Joris
    permalink
    0 Comments
  • please some clarifications………….

    — answered March 5th 2014 by mithila abeysekera
    permalink
    1 Comment
    • Hi kiven thanks for sharing this, for me it works fine but i want to know if i can get position automaticlly without configurate DDMS ? here i posted my question Getting GPS coords.
      Can you help me ?

      — commented August 17th 2014 by MAY sameh
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.