Hi all,
This is the initialization code for my Geocoder:
Geocoder gc = new Geocoder(this);
List 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
Although I never found out what caused the problem, I "guarded" my code
like this:
if(isOnline()) {
// dangerous code here
...
} else {
// handle showing a message
...
}
and this is the isOnline method:
private boolean isOnline() {
ConnectivityManager cm = (ConnectivityMa
OK, I managed to narrow down the problem. It happens when I invoke the
Geocoder over my Wifi connection, but works fine over 3G. My Wifi connection
is connected normally, if I open the browser I can open any web page.
This is my manifest:
http://schemas.android.com/apk/res/android";
package="c
Hi,
>From time to time (every some days), with no change in my code, I get an
IOException when calling the geocoder from my android application.
I call the geocoder.getLocationFromName() like this:
List newAddresses = gc.getFromLocationName(arg0.toString(), 10);
And I get an IOException with m
4 matches
Mail list logo