Sasi Kumar wrote: > When we are reading a xml file in android. At the execution time it is > taking so much time for executing. Is there any way to reduce the time > taking for execution?
1. Don't use DOM, if that is what you are using. Use SAX or XPP for performance. 2. Read smaller XML files. 3. Consider trying to use the NDK and SWIG to create a wrapper around libxml2, which is in the firmware. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _Beginning Android_ from Apress Now Available! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---