I'm trying to save a file to a system folder. I know the default directory for saving files to the device is in your local data folder, as so:
String dir = getFilesDir().toString();
// dir is "/data/data/<app>/files"
I'm wondering if it's possible to save files to another directory, such as: /system/media/audio/ringtones ?
This doesn't seem to work: getFileStreamPath("/system/media/audio/ringtones/").mkdirs();
Any help would be much appreciated - thanks!