Hi, I have two applications installed and I want to read a file from 1st app that is stored in the directory of the 2nd app.
How can I set the xml related to FileProvider of 1st app? Thanks
Thanks for your reply. However, I wanted to try this:
in both of my apps I use the FileProvider class, so the
B4X:
RuntimePermissions.GetSafeDirDefaultExternal("")
returns a path to storage that, among the two apps, differs only for the package name of each app. Finally, I replaced the package name retrieved from 1st app with the package name of the 2nd app, and now from 1st app I am able to get the file stored in the 2nd app path.
Sorry but I have some difficulties to proceed.
My 1st app is a launcher for the 2nd app. 2nd app downloads new update apk (of itself, and save it into its folder) and then invoke the 1st app to install it.
How can I proceed in my case, to let the 1st app get the apk update from 2nd app? Can you help me, please?