[android-developers] Re: Reading and Writing xml file to Internal Memory

2012-02-28 Thread Dancing Fingers
Thanks. I got it going. The main problem was that my parser was not using a ByteArray input stream. Secondly, my Xml writer wasn't generating clean XML. It work now. Here's what I got: public void writeWordXmlFile() { myWords = new ArrayListWord();

[android-developers] Re: Reading and Writing xml file to Internal Memory

2012-02-27 Thread moktarul anam
Hi Dancing, First u check, whether ur xml file s created or not. my guess is there s some problem in save xml because of that u r getting null pointer exception. and for writing u hav to give permission in ur Manifest.xml file Moktarul anam On Feb 27, 9:27 pm, Dancing Fingers