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-saxparser/
there is a sax parser in which xml file is taken from the internet, using a URL path How to change that url to local path in which xml is stored in raw folder of the project,,can any one give me the syntax ,,thanx in advance
In the link you provided, replace the line 47
with
and place your xml file in /res/raw folder
links: Asset Manager Docs and Resources Manager Docs
This is what I did,
In Android you can store data in the assets folder, which can be entered by your code. To address your file use
I haven´t tried this yet, but I hope it will work