Titanium Community Questions & Answer Archive

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

Get city name using GPS - Android

I would like to know how can I get the city name by using geolocation API.

I can see something explained here:
http://www.smnirven.com/?p=39

But I can't turn it into Titanium Code :)

— asked July 20th 2010 by NsyHSXNKDCWFlVfOeDaS NsyHSXNKDCWFlVfOeDaS
  • android
  • geolocation
  • gps
0 Comments

1 Answer

  • If you are talking about taking your GPS location and getting a city, address, etc. from it, the Kitchen Sink sample project has an example already. Check out geolocation.js the functionality exists within Titanium.Geolocation.reverseGeocoder. You may want to look at google only to better understand the places object that is returned, but Titanium should do the rest.

    — answered July 22nd 2010 by Mike Robinson
    permalink
    0 Comments
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.