You may want to look at using SAX parser.
This article compares SAX speed to other parsers on Android:
http://www.developer.com/xml/article.php/3824221/Android-XML-Parser-Performance.htm

This article gives a full example:
http://www.anddev.org/parsing_xml_from_the_net_-_using_the_saxparser-t353.html

-carmen
http://www.twitter.com/CarmenDelessio
http://www.talkingandroid.com
http://www.facebook.com/BFFPhoto
http://www.twitter.com/DroidDrop


On Wed, Apr 7, 2010 at 12:42 PM, Tereno <[email protected]> wrote:

> Not sure if this applies but does the Eclipse contain Java EE?
>
> On Apr 7, 9:20 am, MartinM <[email protected]> wrote:
> > Hi, I need to create a simple app. to retrieve some XML, parse and
> > display it. I'm using Eclipse Galileo on WinXP.
> >
> > I've triedhttp://
> www.warriorpoint.com/blog/2009/07/19/android-simplified-source...
> >
> > which I believe is derived from
> >
> > http://www.ibm.com/developerworks/opensource/library/x-android/index....
> >
> > However, with the latter project I get the error 'Could not find
> > AndroidXml.apk!'
> >
> > I was getting the same error with the first example, but ended up
> > with :
> >
> > '[2010-04-07 14:17:55 - AndroidXmlSimple]
> > trouble processing "java/net/DatagramPacket.class":
> > [2010-04-07 14:17:55 - AndroidXmlSimple]
> > Attempt to include a core class (java.* or javax.*) in something other
> > than a core library.
> > ....
> > ....
> > ...
> > [2010-04-07 14:17:55 - AndroidXmlSimple] 1 error; aborting
> > [2010-04-07 14:17:55 - AndroidXmlSimple] Conversion to Dalvik format
> > failed with error 1'
> >
> > As a beginner I was hoping that importing example projects would be
> > painless, however... :)
> >
> > Any ideas folks?
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Beginners" group.
>
> NEW! Try asking and tagging your question on Stack Overflow at
> http://stackoverflow.com/questions/tagged/android
>
> To unsubscribe from this group, send email to
> [email protected]<android-beginners%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-beginners?hl=en
>
> To unsubscribe, reply using "remove me" as the subject.
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to