On Mar 15, 6:24 am, Kumar Bibek <[email protected]> wrote: > But I couldn't think of s situation where you will need it. Shared > preferences are not a way to store your data. Either use the database > or a file(xml).
It's possible though. As they are stored as XML, it's basically the same as your own xml file (and you save reading and parsing) But it's better to store in your own xml file. You may also use some kind of XML data binding (like XStream, but it's a little heavyweight for a phone ) I personally use JSON ( as JSON parse and write is part of android java environment) but my own JSON databinding does not support cvollections yet (due to lack of use case and contributions ) In case you like to give it a try and improve it: http://github.com/ko5tik/jsonserializer regards, -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

