I am a newbie in android. What I'm trying to do is to get a location by name, but I can't use this code in my android application.
String location = "London";
the code below is highlighted by red line saying "Cannot make a static reference to the non-static method getFromLocationName(String, int) from the type Geocoder"
-->>List<Address> addressList = Geocoder.getFromLocationName(location, 1);