hi,
sorry for late reply...
the code is :-
SAXParserFactory spf = SAXParserFactory.newInstance();
SAXParser sp = spf.newSAXParser();
XMLReader xr = sp.getXMLReader();
ServicesXMLParser parser = new ServicesXMLParser(con, this);
xr.setContentHandler(parser);
try {
//this is the path where the xml has been downloaded, if got
java.io.IOException occur, will then parse directly using "url address"
xr.parse(new InputSource(path));
} catch (Throwable e) {
xr.parse(new InputSource(addXML));
}
hope this will address my problem more clearly...
thanks.
have a nice day.
wesley.
On Sat, Oct 25, 2008 at 2:43 AM, Justin (Google Employee) <[EMAIL
PROTECTED]>wrote:
>
> Ummm, can you post your code? Its impossible to know what might be
> going wrong without any code.
>
> Also, do you own the basic.com domain?
>
> Cheers,
> Justin
> Android Team @ Google
>
> On Oct 20, 2:10 am, Wesley Sagittarius <[EMAIL PROTECTED]> wrote:
> > hi all,
> >
> > I want to download a xml file from internet and store it in my app
> > dir...
> >
> > I manage to download it...
> > but...
> >
> > I cannot parser due to the error below...
> > 09-30 05:41:09.305: INFO/WESLEY(2340): java.io.IOException: Couldn't
> > open /data/data/com.basic.ui/cache_/data.xml
> >
> > any one got this exception before???
> >
> > how to solve it???
> >
> > wesley.
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---