Don't check the qName. Use the localName instead.
(localName.equals("event")).

On Jun 30, 10:07 pm, Michael <[email protected]> wrote:
> Thanks again, but I'm still having a problem.
>
> public void endElement(String uri, String localName, String qName)
>                 {
>                         if (qName.equalsIgnoreCase("event"))
>                         {
>                                 addElement();
>                         }
>
>                 }
>
> seems to still not add anything to the arrayList
>
> On Jun 30, 7:19 pm, Frank Weiss <[email protected]> wrote:
>
>
>
> > Yes. Assuming your XML is like this:
>
> > <entries>
> > <entry>
> > <business-name>,,,</business-name>
> > <longitude>...</longitude>
> > <street1>...</street1>
> > </entry>
> > ...
> > </entries>
>
> > Check for the closing entry element in the endElement() method and add
> > the new item to your list.- Hide quoted text -
>
> - Show quoted text -

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to