I did have the same error. It turned out to be because of the proxy blocking the communication to the geocoding service. Before I had system admin guys to poke a whole in the firewall for Android because I could not configure the proxy for maps. The problem was that the geocoding service probably moved IP address and therefore, ended up onto a IP address my computer had no access to (although I have not been able to find out for sure, the IP address for geocoding as of today is probably available on one of these: 64.233.187.147 or 17 or 83).
The good news of course is that now Android can be configured with a proxy: http://code.google.com/android/reference/emulator.html#proxy which solved my problem. On Aug 26, 9:28 pm, android_dev <[EMAIL PROTECTED]> wrote: > Yes, I have > <uses-permission android:name="android.permission.INTERNET" /> > in my manifest file. > > I get this error the first time I invoke the Geocoder in my app for > reverse geocoding. Subsequently, I don't see the error. But the > results from the reverse geocoding is weird. > > On Aug 26, 1:20 pm, "Mark Murphy" <[EMAIL PROTECTED]> wrote: > > > > The Geocoder in 0.9 uses network lookup to obtain results. This seems > > > to not work since I see the following exception: > > > > java.io.IOException:Unabletoparseresponsefromserver > > > at android.location.Geocoder.getFromLocation(Geocoder.java:120) > > > > This is for the location 37.422006, -122.084095. I was expecting to > > > see Google HQ address. Is the Geocoder ready for getting correct > > > lookup results? > > > Out of curiosity, did you add the INTERNET permission to your > > AndroidManifest.xml file? > > > <uses-permission android:name="android.permission.INTERNET" /> > > > If you didn't, try that -- it might be a security issue under the covers. > > > If you did, and you're still getting the error, could you provide us with > > a snippet of source code that demonstrates how you're using the API? > > > -- > > Mark Murphy (a Commons Guy)http://commonsware.com > > _The Busy Coder's Guide to Android Development_ Version 1.1 Published! --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---