You never request the next element to be read. Your loop should
contain the following statement:

eventType = xpp.next();

On Sat, Jul 17, 2010 at 9:51 PM, 7H3LaughingMan <austin.brk...@gmail.com> wrote:
> 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+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Romain Guy
Android framework engineer
romain...@android.com

Note: please don't send private questions to me, as I don't have time
to provide private support.  All such questions should be posted on
public forums, where I and others can see and answer them

-- 
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