How can I get more accurate position with reverse geocoding in android.I have searched a lot on this,but could not find a desired solution.Is there any way using the altitude and other fields of location on reverse geocoding to get location?
Edit:
Geocoder geocoder = new Geocoder(this, Locale.ENGLISH);
try {
List<Address> addresses = geocoder.getFromLocation(latitude,
longitude, 5);
address=new ArrayList<String>();
log.debug(addresses.size());
if (addresses != null&&addresses.size()>0) {
Address fetchedAddress = addresses.get(0);
for (int i = 0; i < fetchedAddress.getMaxAddressLineIndex(); i++) {
address.add(fetchedAddress.getAddressLine(i));
}
}
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
Toast.makeText(getApplicationContext(), "Could not get address..!",
Toast.LENGTH_LONG).show();
}
}
This is what I have tried so far.