Why in Android one should use openFileOutput()
method instead of FileOutputStream()
constructor?
Would the mode type as a second param of openFileOutput() be the only "respectful" reason for all the cases?
FileOutputStream fos;
fos = openFileOutput("test.txt", Context.MODE_PRIVATE);
fos = new FileOutputStream("test.txt");
0 comments:
Post a Comment