I am trying to make my Android application more dynamic. All the strings are in the strings.xml file and retrieved with R.string. Now I would like to fill strings.xml with data from a database. I know how to fetch data and use it, but I don't understand how I can write to the strings.xml. I read that SharedPreferences is one way of retrieving key-value pairs of data, but not sure if that is the best way to go.
Thanks for any suggestions!