Hey folks,

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!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to