[android-developers] Geocoder.getLocationFromName() works over wifi, throws IOException over 3G
Hi all,
This is the initialization code for my Geocoder:
Geocoder gc = new Geocoder(this);
List<Address> newAddresses = gc.getFromLocationName(arg0.toString(), 10);
The above code works perfectly over Wifi and throws an IOException: Could not parse response from server over 3G.
Do you have any idea what is going on?
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home