I\'m trying to get the street name of my current location but I can\'t seem to get it.
I use this method to retrieve the Address:
public Address getAddre
Geocoder gcd = new Geocoder(this, Locale.getDefault());
List addresses =
gcd.getFromLocation(currentLatitude, currentLongitude,100);
if (addresses.size() > 0 && addresses != null) {
StringBuilder result = new StringBuilder();
myaddress.setText(addresses.get(0).getFeatureName()+"-"+addresses.get(0).getLocality()+"-"+addresses.get(0).getAdminArea()+"-"+addresses.get(0).getCountryName());
}
That's All..!