- locationName
- a user-supplied description of a location
- maxResults
- max number of results to return. Smaller numbers (1 to 5) are recommended
Documentation for this section has not yet been entered.
Type Reason Java.Lang.IllegalArgumentException if locationName is null Java.IO.IOException if the network is unavailable or any other I/O problem occurs
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.. The returned addresses will be localized for the locale provided to this class's constructor.
The query will block and returned values will be obtained by means of a network lookup. The results are a best guess and are not guaranteed to be meaningful or correct. It may be useful to call this method from a thread separate from your primary UI thread.