Its not working on both the emulator and the device.

   1. If i am using the Target 3 AVD, then I am getting an IOException on
   the below mentioned method call.

            addressList =geocoder.getFromLocation(mLatitude, mLongitude, 1);

            latLongList = geocoder.getFromLocationName(currentCityCountry,
1);

            Any way to resolve the IOException problem?

     2.   If i use the Target 2 AVD, then i am result of the above method
call is an empty array.

What could be the problem? Any suggestions as to how this can be avoided?

The logs for the IOException :

05-09 11:31:21.074: WARN/System.err(725): java.io.IOException: Unable to
parse response from server
05-09 11:31:21.074: WARN/System.err(725):     at
android.location.Geocoder.getFromLocation(Geocoder.java:124)

05-09 13:10:04.775: WARN/System.err(725): java.io.IOException: Unable to
parse response from server
05-09 13:10:04.927: WARN/System.err(725):     at
android.location.Geocoder.getFromLocationName(Geocoder.java:166)

NOTE: I am behind a proxy when testing on emulator. I am able to access
internet from the emulator. But still facing this issue.

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