Thought you actually could according to this article I read couple of weeks ago : http://www.ibm.com/developerworks/opensource/library/x-android/index.html#N1029E
Says you can use the XmlSerializer object for that ? On 12 apr, 14:34, Mark Murphy <[email protected]> wrote: > Anthoni wrote: > > Hi raqz, > > > I saw your previous post in that you were sending lists of friends via > > serialization and were advised to use xml instead. > > Instead of XML you could also use JSON as it is more lightweight than > > using XML and doesn't take long to implement. > > I was using XML as my back end for my database to communicate with my > > application but I changed it all to JSON and haven't looked back > > since. > > > Here is an article on parsing JSON with Java > >http://www.androidcompetencycenter.com/2009/10/json-parsing-in-android/ > > Read through that and it should give you some ideas. There is an > > article on getting JSON back from the server but I can't find that at > > moment. > > Will try and dig it out though. > > Another advantage of JSON is that there is code built into Android to > generate JSON (for shipping *to* a Web server). There is no equivalent > of that for XML. > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://twitter.com/commonsguy > > Android Training...At Your Office:http://commonsware.com/training -- 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 To unsubscribe, reply using "remove me" as the subject.

