Hi, i am using a text file in assets folder in Android. I would like to change the data inside that text file dynamically. I am trying to open the file as follows,
FileOutputStream fos=this.getAssets().openNonAssetFd("data.txt").createOutputStream();
But it generating the error that "java.io.FileNotFoundException: This file can not be opened as a file descriptor; it is probably compressed". please help me to edit that file. thanQ very much.