¡@

Home 

2014/10/16 ¤W¤È 08:23:41

android Programming Glossary: ser

Save an ArrayList to File on android

http://stackoverflow.com/questions/11640122/save-an-arraylist-to-file-on-android

an ArrayList to File on android I have an ArrayList full of strings that the user populated it with to use in a different activity in a ListView to view the strings they have saved. I want the ArrayList.. not work at all android arraylist save sharedpreferences share improve this question Here is some code to take a serializable object and write it to file this maybe what you need. Tested it out with and ArrayList and it works fine. You can.. an activity using extras or its bundle. I used this method for android versions 3.0. To Read a file already containing serialized object String ser SerializeObject.ReadSettings act myobject.dat if ser null ser.equalsIgnoreCase Object obj SerializeObject.stringToObject..