hello guys i am writing the data in text file with help of
fos = new FileOutputStream(file);
out1 =new OutputStreamWriter(fos);
out=new DataOutputStream(fos);
String Dpass = new String ("1008");
out.writeChars(Dpass);
but in file due to char it is leaving space after each charactor.so
how should i store so the will be no sapce.
also which api should i used to delete containt of the file?
thank you
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---