XML Parse to local file (Android)

nathanmarck

New Member
I am using the DOM Parser to write information to an XML file stored at the file path\[quote\] /res/values/StorageXMLs/\[/quote\]When I use this code to try to find the location of the xml file, I get a File not found warning.\[code\]public void appendXML(String fileName){ try { String filepath = "/res/values/StorageXMLs/" +fileName + ".xml/";\[/code\]where 'fileName' is the name of the file that is passed in.The reason I did it this way was because I want different information to load depending on which button is pressed.Thank you!
 
Back
Top