Example usage for Java android.location Geocoder fields, constructors, methods, implement or subclass
The text is from its open source code.
Geocoder(Context context) Constructs a Geocoder whose responses will be localized for the default system Locale. | |
Geocoder(Context context, Locale locale) Constructs a Geocoder whose responses will be localized for the given Locale. |
List | getFromLocation(double latitude, double longitude, int maxResults) Returns an array of Addresses that are known to describe the area immediately surrounding the given latitude and longitude. |
List | getFromLocationName(String locationName, int maxResults) Returns an array of Addresses that are known to describe the named location, which may be a place name such as "Dalvik, Iceland", an address such as "1600 Amphitheatre Parkway, Mountain View, CA", an airport code such as "SFO", etc.. |
List | getFromLocationName(String locationName, int maxResults, double lowerLeftLatitude, double lowerLeftLongitude, double upperRightLatitude, double upperRightLongitude) Returns an array of Addresses that are known to describe the named location, which may be a place name such as "Dalvik, Iceland", an address such as "1600 Amphitheatre Parkway, Mountain View, CA", an airport code such as "SFO", etc.. |
boolean | isPresent() Returns true if the Geocoder methods getFromLocation and getFromLocationName are implemented. |