Code:
开发者_如何学CGeocoder geocoder = new Geocoder(map.this,Locale.getDefault());
List<Address> list = geocoder.getFromLocation(geoLat, geoLng, 1);
Exception:
java.io.IOException: Unable to parse response from server
What am I doing wrong?
This kind of error shows up when the GPS is not active. Since the emulator doesnt have a GPS hardware, similar exception can be thrown. Cant say for sure unless you post more detail about the problem.
精彩评论