I tried it with the StringBuffer to no avail, the problem still
persists.
public void endElement(String uri, String localName, String qName)
                {
                        if (localName.equalsIgnoreCase("registry"))
                        {
                                System.out.println("string");
                        }
                        else if (localName.equalsIgnoreCase("business-name"))
                        {
                                businessName = businessNameBuff.toString();
                        }
                        else if (localName.equalsIgnoreCase("street1"))
                        {
                                street1 = street1Buff.toString();
                        }
                        else if (localName.equalsIgnoreCase("longitude"))
                        {
                                longitude = longitudeBuff.toString();
                        }

                        if (longitudeBuff != null && street1Buff != null &&
businessNameBuff != null)
                        {
                        addElement();
                        }

                }

On Jun 30, 10:24 pm, Frank Weiss <[email protected]> wrote:
> In the endElement() method, also check for the other elements and save
> the contents of the StringBuffer:
>
>
>
> >                         if (qName.equalsIgnoreCase("business-name"))
> >                         {
> >                                 businessName = sb.toString();
> >                         }

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