rtReply:
Reply:
Take a look at Geonames.org
It's a free webservice that allow you to get a lot of informations from a long / lat
They 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
Reply:
Oh so familiar problem! !
You see that this URL: http://tech.cncms.com/shouji/iphone/113013.html
Reply:
This is very simple, by latitude and longitude, positive and negative, as well as Meridian, will soon be able to calculate it. This problem is not a new problem, lz found some posts it
Reply:
By phone? GPS or network
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 ();
}
Reply:
DateFormat.getDateTimeInstance (DateFormat.FULL, DateFormat.FULL, Locale.CHINA);
Reply:
very helpless sister found a mistake demandReply:
XBC
Reply:
Reply:
Not bad
Reply:
No comments:
Post a Comment