I have the below code to convert lat, long to human readable address. Now iam getting full details including street name. How can i get only city, state, country? I don\'t want
To get City, State and Country use code in following way-
if (addresses.size() > 0) { System.out.println(addresses.get(0).getLocality()); System.out.println(addresses.get(0).getAdminArea()); System.out.println(addresses.get(0).getCountryName()); }