I am implementing a app in which I am creating one file using openFileOutput API in Android. The file is saved to /data/data/com.xx.xx/files/

Now when I am switching to secondary user(multi user) I am not able to access that file from my app.

Earlier we used to have obb directly where we can share files across multiple users. But in Android 10 it is not possible.

So in Android 10 what are the ways to share files across multiple users? Or Where should I place my file so that it can be accessed from secondary user(multiuser) in my app.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.