Hi Monu,
I m a newbie to android too and i found that exception too.
In my manifest i already put <uses-permission>, but still have this exception.
here is my create Feed method
(that's from Newsdroid tutorial..)
public void createFeed(Context ctx,String linktext) throws ParserConfigurationException, SAXException, IOException
{
targetFlag = TARGET_FEED;
try {
URL url = new URL(linktext.toString());
droidDB = new NewsDroidDB(ctx);
droidDB.open();
SAXParserFactory spf = SAXParserFactory.newInstance();
SAXParser sp = spf.newSAXParser();
XMLReader xr = sp.getXMLReader();
RSSHandler myExampleHandler = new RSSHandler();
xr.setContentHandler(myExampleHandler);
InputStream mystream = null;
try{
mystream = url.openStream();
}catch (Exception e)
{
Log.e("RSS Handler", e.toString());
}
InputSource is = new InputSource(mystream);
try {
xr.parse(is);
} catch (SAXException e) {
e.printStackTrace();
Log.e("xr.pasrse(is)", e.toString());
}
} catch (Exception e) {
Log.e("RSS Handler", e.toString());
}
}