I understand that I can open a file in a resource folder like this.
InputStream is = ((Activity) mView).getAssets().open("some.txt");
But what should I do to save back to the same file? I mean, how can I get an OutputStream of the same file?
According to my knowledge, you cannot , because the directory /assetcannot be written, so you cannot make changes to the file that is in the / asset directory, Its because Android.apk is read-only.
/asset
SO How android?