I have looked for a solution, but getting solutions for SharedPreferences and SQLite databases. I have to store a single URL that my Android application will access for getting some data. I like to keep that as configurable, as in case I can change the URL and use the app with another set of data.
If I use strings.xml, will I need to repeat the same in case I am adding support for other languages?
For storing in SharedPreferences, I need to store it somewhere till the app is installed to be able to save it there.
Using an SQLite database for this seems too far fetched?
I think the basic thing would be to store it in a Constants class, but I am not sure whether that is the correct approach.
Can someone suggest a better solution?