Hi All,
I am new to android platform. I need to create a text file in android. Please let me know how to perform this task in android. I have written a code that is working fine in java but not in android. Please help me on this....the sample code that ihave written is :-
try { DataOutputStream dos = new DataOutputStream(new FileOutputStream("test.txt", true)); dos.writeBytes(dataLine); dos.close(); } catch (FileNotFoundException ex) {}
the above code snippet is working fine in java but not in android :(
Thanks, Ashish