I am trying to determine the city in USA the user is in using their current location from an Android App. I want to use the GPS as the location provider but how accurately can I determine the name of the city from the Locale or Latitude / Longitude data.
For instance I noticed the twitter app determines you are in Manhattan when tweetin...
I am trying to Reverse GeoCode current Lat/Long data to just Admin Area and Sub Admin Area using the Geocoder class.
I am using the NETWORK_PROVIDER as the Location provider. Here is the code that I use and it works. The problem is sometimes it does not give me any location sometimes it does.
Android Manifest permissions I am using.
<...
So, my app involves a lot of reverse geocoding. Now, Google permits only 2500 requests/day.
I was wondering if I could store the reverse geocoded values in my database, so for future requests for approximately the same latitude/longitude pair, I can query my database instead of sending a request to the Google Maps API. Is it illegal to d...
I'm trying to cache lat/lon address pairs from Google Maps, so I need a data structure where the key is two ints (lat and lon). What's the simplest data structure for that?
I thought of two ways so far:
Nested hash:
{37.734608 {-121.913019 "San Ramon, CA" -121.6 "Tracy, CA"}}
Concat the two to make the key:
{"37.734608,-121.913019"...
Hello,
In my application on the iPhone and iPod Touch I want to be able to retrieve the country a person is in without accessing the internet. I know how to do this with internet, so I know how to retrieve the longitudes and latitudes, I've read something about a file with the world borders included, but I don't know how to use this in ...