>>>>> "T" == TreKing  <[email protected]> writes:

   T> On Thu, Aug 16, 2012 at 4:02 PM, Jake Colman <[email protected]> wrote:
   >> Any idea what I need to do to make sure that my output matches my input?
   >> 

   T> 
http://developer.android.com/reference/android/location/Address.html#setLocality%28java.lang.String%29

   T> outputAddress.setLocality(inputAdress.getLocality());

My bad, I was not clear enough.

I am carrying around a Location object whose latitude/longitude were set
from a previously obtained Address object.  I feed that
latitude/longitude into Geocoder to obtain a new Address object.  I
verified that I am feeding the exact values mentioned in my post but the
new Address object doesn't get created with those values.  I suspect
that because the new Address object is not identical to the old, its
locality is not being set the same. 

Am I having unreasonable expectations here?  Why should Geocoder create
an Address object with latitude/longitude that is different than what
was passed into its getFromLocation method?

-- 
Jake Colman -- Android Tinkerer

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to