Java android.location Geocoder fields, constructors, methods, implement or subclass

Example usage for Java android.location Geocoder fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.location Geocoder.

The text is from its open source code.

Constructor

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.

Method

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..
booleanisPresent()
Returns true if the Geocoder methods getFromLocation and getFromLocationName are implemented.