I’m working on a basic android app where in I have a list of items and each item consists of a list of around ten strings each.
- How do I store the strings in an array for later use?
- Can I use only one activity to display all the arrays?
- When I display a single array(a page of text), how do I use a button and navigate to the next one in the list?
Thanks,
Sowmya.
You can use the SharedPreferences of Android.
If you want to store a string array use putStringSet
A little example how to use the SharedPrefrences:
http://android-er.blogspot.nl/2011/01/example-of-using-sharedpreferencesedito.html