I don't know about getting a list of cities, but android.location.Geocoder#getFromLocationName will give you an address with latitude and longitude for strings like "Boston, MA".
On Sep 23, 2:54 pm, bevis <[email protected]> wrote: > I have an app in which I want to be able to select a location from a > list of cities, and find out the latitude / longitude for that city. > > Now surely I don't need to store all that data in the app myself? > There must be an "intent" or similar available already to get that > info? Certainly the "clock" & "weather" apps (on my htc hero) already > have a list of cities - can I somehow access that? > > bevis --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

