My code snippets:
1. String filePath = file:///assets/android.txt;
2. OutputStream os= openFileOutput(filePath,
MODE_WORLD_WRITEABLE);
3. OutputStreamWriter osw = new OutputStreamWriter(os);
4. outWriter.write(hello...);
5. outWriter.flush();
6. outWriter.close();
The
Have you though of the assets being read only? Even the name suggests
that it might be.
On Sep 13, 12:29 pm, amon wu amon.wu1...@gmail.com wrote:
Hi,
My case 1: I am trying to write a file into folder 'Assets' for a
test, but I cannot do it.
My case 2: I write the into sdcard , then copy
2 matches
Mail list logo