I haven't tested JSON's performance on Android, but for XML, I found that this was the fastest and most convenient (i needed a proper context for XML elements, know where the XML element is in the document): - Use android.sax.RootElement and related classes to listen only for elements I'm interested in. - Install Piccolo as a SAXParser: http://piccolo.sourceforge.net/ (very fast and lean java based SAXParser). - Create instances of the Piccolo SAXParser using a thread-local so that they can be re-used within each thread.
-- 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