Im trying to save an ArrayList containing multiple ArrayLists of Strings into the sharedpreferences of Android. I also want to support API level 8 and higher and if possible avoid the use of databases. Do I need to do something like this or is there a easier method to simply save my ArrayLists?
Im trying to save an ArrayList containing multiple ArrayLists of Strings into the sharedpreferences
Share
I would use JSON for this purpose. See: http://developer.android.com/reference/org/json/JSONObject.html
There are also nice JSON tutorials around the web.