Take a look at Geonames.orgIt's a free webservice that allow you to get a lot of informations from a long/latThey also provide a free (and open source) Java Client for GeoNames Webservices library (library for other language also provided: ruby, python, perl, lisp...)Here's some info you can get from long/lat: (complete list of webservices here) Find nearest Address Find nearest Intersection Find nearby Streets Elevation Timezone
Find nearest Intersection
Find nearby Streets
Elevation
Timezone
你看看那这个网址:http://tech.cncms.com/shouji/iphone/113013.html
private String getLocationInfo() {
LocationManager locationManager = (LocationManager) getSystemService(Context.LOCATION_SERVICE);
Location location = locationManager
.getLastKnownLocation(LocationManager.NETWORK_PROVIDER);
return location.getLatitude() + "," + location.getLongitude();
}private String getLocationInfo() {
LocationManager locationManager = (LocationManager) getSystemService(Context.LOCATION_SERVICE);
Location location = locationManager
.getLastKnownLocation(LocationManager.GPS_PROVIDER);
Log.i("location: ",location.getLatitude() + "," + location.getLongitude());
return location.getLatitude() + "," + location.getLongitude();
}