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: Unable to parse response from server
> > 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 [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to