List<Address> geoDecode(String searchedLocation){
  try {
    Geocoder geo=new Geocoder(sContext,Locale.getDefault());
    List<Address> addresses=geo.getFromLocationName(searchedLocation,10);
    if (addresses != null && addresses.size() > 0) {
      return addresses;
    }
  }
 catch (  Exception ex) {
  }
  return null;
}

List < Address > geoDecode ( String searchedLocation ) { try { Geocoder geo = new Geocoder ( sContext , Locale . getDefault ( ) ) ; List < Address > addresses = geo . getFromLocationName ( searchedLocation , 10 ) ; if ( addresses != null && addresses . size ( ) > 0 ) { return addresses ; } } catch ( Exception ex ) { } return null ; }
return list of < address > from searched location
