Android 4.1 Geocoder.getlocationfromname() Throws Ioexception: Unable To Parse Response From Server Only Over 3g
I am using the Geocoder in my android app to resolve a string in to Addresses. The following snippet of code works normally over Wifi, but not over 3G. When over 3G, it throws an I
Solution 1:
Instead of using that GeoCoder, use google's web api, you can make asynchronous api calls to that and get json objects with even more information than the android geocoder will ever give you.
it is better https://developers.google.com/maps/documentation/geocoding/
I've done this in several android apps and this also guarantees that you will get the same kind of results from crossplatform apps
Post a Comment for "Android 4.1 Geocoder.getlocationfromname() Throws Ioexception: Unable To Parse Response From Server Only Over 3g"