1

Populate counties in android spinner control

view story
linux-howto

http://stackoverflow.com – I have 2 spinner controls in my android application i.e. Country and City. I want to populate a spinner control for Countries with list of all countries. Is there any way by which i can populate the same by performing some coding? My aim is to avoid hard-coding of the arrays. Once the country is selected, i would like to fetch possible list of cities in that country. Please suggest any good mechanism to perform this activity (HowTos)