How to Get 3 digit country code from latitude and longitude in android

Viewed 1633

Can anyone please tell me about how to get 3 digit country code (for example India-IND) from latitude longitude

here is my code for getting 2 digit country code

  latitude = gps.getLatitude();
  longitude = gps.getLongitude();
  geocoder = new Geocoder(getActivity(), Locale.getDefault());
  addresses = geocoder.getFromLocation(latitude, longitude, 1); 
  Country = addresses.get(0).getCountryName();
  String Country_code1=addresses.get(0).getCountryCode();
1 Answers
Related