[android-developers] file handling : reading a file in internal storage

2010-07-09 Thread Abhyudai Shanker
hey guys, The following is my code: OutputStreamWriter out2 = new OutputStreamWriter(openFileOutput(myfilename2.txt,1)); sa_lt=3 2 1; out2.write(sa_lt); // close the file out2.close(); InputStreamReader in2 = new

Re: [android-developers] file handling : reading a file in internal storage

2010-07-09 Thread TreKing
On Fri, Jul 9, 2010 at 2:21 AM, Abhyudai Shanker abhyudai.shan...@gmail.com wrote: I have defined it as private char[] buf on the top. And I'm sure you've initialized this array, yes? - TreKing -