Get City Name From Latitude And Longitude in android Gives Service Not Available Android 4.0.3?
问题 I am using the Android 4.0.3 version in apps. Now I want to get the city name or other information from LATITUDE and LONGITUDE but when I run the apps is show me service not available. Logcat 01-10 13:58:29.279: W/System.err(1211): java.io.IOException: Service not Available 01-10 13:58:29.289: W/System.err(1211): at android.location.Geocoder.getFromLocation(Geocoder.java:136) 01-10 13:58:29.299: W/System.err(1211): at com.example.vixxa.VisitorActivity$CityAsyncTask.doInBackground