Hii every one, am brand new to android,i have a doubt can any one help me
In this following link
http://www.androidpeople.com/android-xml-parsing-tutorial-using
try {
// InputStream is = getResources().getAssets().open("yourfilename.xml");
InputStream is =getAssets().open("yourfilename.xml");
SAXParserFactory spf = SAXParserFactory.newInstance();
SAXParser sp = spf.newSAXParser();
XMLReader xr = sp.getXMLReader();
MyXMLHandler myXMLHandler = new MyXMLHandler();
xr.setContentHandler(myXMLHandler);
xr.parse(new InputSource(is));
} catch (Exception e) {
System.out.println("XML Pasing Excpetion = " + e);
}