How do I create a shared directory with read/write permissions to all applications installed on my phone and that is not on the sdcard? I tried that :
File f = new File("/tmp");
f.mkdir();
but it is not working.
The preferred way in Android would be to use ContentProvider.
A ContentProvider will be able to write File blobs.
See http://developer.android.com/guide/topics/providers/content-providers.html http://developer.android.com/reference/android/content/ContentProvider.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With