After you get the lat/long info, you can do  Reverse GeoCoding to find
the address of the place.

>From there, you can pick up the city name and use it.

http://developer.android.com/reference/android/location/Geocoder.html

http://stackoverflow.com/questions/472313/android-reverse-geocoding-getfromlocation

Thanks and Regards,
Kumar Bibek


On Jan 3, 9:25 am, star double <doublestar...@gmail.com> wrote:
> Hi, all
>
> I am making a weather widget now , and there is a problem that how can I get
> some city name after getting latitude and longitude from google map.
> because I think we can't get weather data if can not get city name . any
> advice is welcome, thanks a lot !

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to