Emaineecheria
New Member
I am really lost here, i am trying to find my way around xml parsing, reading and writing.I have this app where at one point i can input data such as a Date and a time for instance - click save, and once it saved it will write into an existing XML file, for later reading, and add it at the end in a format like this:\[quote\]\[code\]<Units> <item> <date>27-5-12</date> <time>15:30</time> </item> <item> ... and so on ...</Units>\[/code\]\[/quote\]i managed to read an xml file, but i am really having trouble in opening a premade - existing file for reading or writing.currently i tried this code: \[code\]InputStream raw = this.getAssets().open("mydata.xml");Reader is = new BufferedReader(new InputStreamReader(raw, "UTF8"));\[/code\]which returns file not found exception.could anyone direct me on what i should look for?Thanks.