Android Question folder accessible for multiple app

catster

Member
Licensed User
Longtime User
Is it possible to have a folder writable to multiple app? seems RuntimePermissions.GetSafeDirDefaultExternal return folder to specific app which is not accessible for other apps.

android:targetSdkVersion="22"
I need my app working on android 4.4, 6, 12 devices.

Thanks.
 

catster

Member
Licensed User
Longtime User
Thanks Erel, this is a non google play app.

Will it works on 4.4 Kitkat device if I set targetSdkVersion to 29?

What function to use and where should I locate this shared folder? File.DirRootExternal and create folder by my own? /storage/emulated/0/Android/data/share/files ?

File.DirRootExternal -> /storage/emulated/0
File.DirDefaultExternal -> /storage/emulated/0/Android/data/app.name/files
 
Last edited:
Upvote 0
Top