I'm trying to write in a CSV file situated in my res/raw resources. I can read it using
InputStream csvFile = getResources().openRawResource(R.raw.fichier_csv);
But I don't know how to write in it because this method return an InputStream.
I'm trying to write in a CSV file situated in my res/raw resources. I can read it using
InputStream csvFile = getResources().openRawResource(R.raw.fichier_csv);
But I don't know how to write in it because this method return an InputStream.
you cant write to raw, you need to create a new file in code and read/write to that