You can not access DirInternal of another Application.
You can request permission to File.DirRootExternal (Runtimepermissions) and save the file on a Place on the SD-Card.
Implement Runtimepermission in both apps so both can access the File in SDCard.
You can send an Intent to the other app to inform the app about the new file.
Ouch, that doesn't suit me ...
I have to find another solution.
The user of the free version after use if he decides to buy the full version, I must be able to recover the files from the free to the full.
You can save the file under RuntimePermissions.GetSafeDirDefaultExternal in the free version. No special permission needed.
Add Log(rp.GetSafeDirDefaultExternal) to see the path. It shouldn't be complicated to get the path of a different app.
In the paid version you will be able to access that folder with the READ_EXTERNAL permission.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.