Put XML in res folder

/res/raw/kc.xml

then use below mechanism

Xml.parse(getResources().openRawResource(R.raw.kcXML), Xml.Encoding.UTF_8, root.getContentHandler());


Leave a Reply