I am using a text file in the 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:
Writing into /assets directory at runtime? AFAIK that's not possible.
/assets
You can put the original file in /assets, and at the first application run copy it over to the /sdcard.
/sdcard