android.location
Class Geocoder
java.lang.Object
android.location.Geocoder
public final class Geocoder
- extends java.lang.Object
|
Method Summary |
java.util.List<Address> |
getFromLocation(double latitude,
double longitude,
int maxResults)
|
java.util.List<Address> |
getFromLocationName(java.lang.String locationName,
int maxResults)
|
java.util.List<Address> |
getFromLocationName(java.lang.String locationName,
int maxResults,
double lowerLeftLatitude,
double lowerLeftLongitude,
double upperRightLatitude,
double upperRightLongitude)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Geocoder
public Geocoder(Context context,
java.util.Locale locale)
Geocoder
public Geocoder(Context context)
getFromLocation
public java.util.List<Address> getFromLocation(double latitude,
double longitude,
int maxResults)
throws java.io.IOException
- Throws:
java.io.IOException
getFromLocationName
public java.util.List<Address> getFromLocationName(java.lang.String locationName,
int maxResults)
throws java.io.IOException
- Throws:
java.io.IOException
getFromLocationName
public java.util.List<Address> getFromLocationName(java.lang.String locationName,
int maxResults,
double lowerLeftLatitude,
double lowerLeftLongitude,
double upperRightLatitude,
double upperRightLongitude)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2008-2010. All Rights Reserved.