I am new to Android application, create one xml file data.xml inside the Resource folder, then i tried to access that local xml file, but i can’t get it.
But android resource folder and open rawresource to the raw folder under res inside xml file
data.xml using this way, i access that xml file like:
InputStream is = this.getResources().openRawResource(R.raw.data);
but using local xml file cannot access, please help me.
Thanks

raw xmls should be in Assets folder, and to access files from assets folder use: