:D funny!

But i have a rest web service and I already have a sax parser that
parses my xml file and saves it in a sqlite database.
But i was wondering that reading a xml file and save it objects would
be much easier?



On Jul 17, 9:40 pm, Mark Murphy <mmur...@commonsware.com> wrote:
> Wouter wrote:
> > Ok i will try that!
>
> > What is the best way to deserialize xml to objects?
>
> Well, I am a fan of Excedrin, but you can use whatever pain reliever you
> prefer (aspirin, whiskey, etc.)... ;-)
>
> There is no generic "deserialize XML to objects" in Android. In part, I
> imagine it is because mobile platforms are tight on CPU and RAM, and so
> you are usually better served by writing a custom SAX or XPP parser,
> painful as they may be.
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://twitter.com/commonsguy
>
> _Android Programming Tutorials_ Version 1.0 In Print!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to