If so, is there a tutorial that I have missed somewhere that might help me get started with this? If not, can someone point me towards a place to get started setting up a database where I would preload the information instead of actually having the user do it?
Share
Here’s a simple example of loading values from a values xml file into a string array, searching through the values, and selecting one for display.
values/strings.xml
If you’d rather load the data from an xml file in the assets folder, note that it’s a bit involved. Take a look at android: how to load xml file from assets directory?.
If the values are just a simple list of strings, then xml structure probably isn’t necessary. Here’s a simple example of loading the values from a text file in the assets folder.
assets/planets.txt