> 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?
The "clock" and "weather" apps (widgets?) on your Hero are proprietary and, AFAIK, have no documented Intents for anything, let alone getting latitude and longitude of a city from a list. I am not aware of anything built into Android that offers such an Intent. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---