Hello,

I am trying to get the geo codes for an address.  I am using:

Geocoder geocoder = new Geocoder(GeoNoteEditor.this, Locale
                                        .getDefault());
List<Address> addressList = null;
addressList = geocoder.getFromLocationName(addressString, 1);

The problem is that I am getting an IOException sometimes when I call
getFromLocationName for the same addressString.  This does not happen
all the time.  When I get the IOException, if I repeat the
getFromLocation call, sometimes it works sometimes I get the
IOException again.

How do I prevent the IOException from happening?

Thanks,
Prasanna

-- 
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