I have an app where I want to implement a function that takes a
latitude & longitude pair and return a "place" associated with those
coordinates. The android.location.Geocoder interface is exactly what I
need, but the documentation includes the following note: "The Geocoder
class requires a backend service that is not included in the core
android framework." I assume in most Android devices, this backend is
powered using the Google Maps infrastructure.

Instead of using Google Maps to determine the relevant places, I'd
rather have a fully-offline implementation that implements a simpler
scheme that I'm using in my app. Basically, all I want to do is map
location coordinates to a handful (< 10) regions in the world that I
can determine from the coordinates themselves without an offline call
to Google's services. (In addition to offline access, I also want to
support non-Google sanctioned devices like the Nook.)

The simplest solution would be to ignore Geocoder altogether (and just
use a custom lookup method), but in the spirit of doing things the
"Android way", I was wondering if it was possible to override the
system provider Context.LOCATION_SERVICE with one of my own and have
Geocoder use my implementation (just for my own app). Please keep in
mind, I'm a simple app developer using stock devices - not a device
manufacturer. :-)

Thanks in advance,

-Chris Karr

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to