Saturday, July 17, 2010

[android-developers] XML Pull Parser Bugging Out

I am trying to create a Forum Parsing Application that uses the XML
Pull Parser to grab the HTML and then go through it and parsing it for
the specific data. I managed to create one that works however when I
try to create another one that is used by another Activity in the same
Application it gets stuck in a infinite loop.

http://pastebin.com/8YciNjXL

When I debug my code I traced it all the way down to Line 51...
while (eventType != XmlPullParser.END_DOCUMENT) {

Apparantly eventType gets forever stuck as 0, this is an almost exact
copy of my other XML Pull Parser and I have no idea where I or it went
wrong.

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate