android.location
Class Geocoder

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

public final class Geocoder
extends java.lang.Object


Constructor Summary
Geocoder(Context context)
           
Geocoder(Context context, java.util.Locale locale)
           
 
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
 

Constructor Detail

Geocoder

public Geocoder(Context context,
                java.util.Locale locale)

Geocoder

public Geocoder(Context context)
Method Detail

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.