问题
I am developing an application where I need to find zipcode using GPS. Can anyone help me in this regard?
回答1:
Look into using Geocoder. Specifically Geocoder.getFromLocation.
Once you get the List of Address(es) you can get the zip code from those Address(es) using Address.getPostalCode.
回答2:
Just ask for a location using the LocationManager and then use the received location to send a reverse geocoding request with Geocoder.
来源:https://stackoverflow.com/questions/8375884/getting-zipcode-using-gps-android