android.location
Class Geocoder

java.lang.Object
  extended by android.location.Geocoder

public final class Geocoder
extends Object


Constructor Summary
Geocoder(Context context)
           
Geocoder(Context context, Locale locale)
           
 
Method Summary
 List<Address> getFromLocation(double latitude, double longitude, int maxResults)
           
 List<Address> getFromLocationName(String locationName, int maxResults)
           
 List<Address> getFromLocationName(String locationName, int maxResults, double lowerLeftLatitude, double lowerLeftLongitude, double upperRightLatitude, double upperRightLongitude)
           
static boolean isPresent()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Geocoder

public Geocoder(Context context,
                Locale locale)

Geocoder

public Geocoder(Context context)
Method Detail

isPresent

public static boolean isPresent()

getFromLocation

public List<Address> getFromLocation(double latitude,
                                     double longitude,
                                     int maxResults)
                              throws IOException
Throws:
IOException

getFromLocationName

public List<Address> getFromLocationName(String locationName,
                                         int maxResults)
                                  throws IOException
Throws:
IOException

getFromLocationName

public List<Address> getFromLocationName(String locationName,
                                         int maxResults,
                                         double lowerLeftLatitude,
                                         double lowerLeftLongitude,
                                         double upperRightLatitude,
                                         double upperRightLongitude)
                                  throws IOException
Throws:
IOException


Copyright © 2008-2012. All Rights Reserved.