Hi,
I programmed a b4a app that produces a text file (FEN string). This file should be read by another application not written by me (DroidFish chess engine). If I drop the file in the directory advised by the RunTimePermission.getSafeDirDefaultExternal, DroidFish allows me to pick this file, but the subsequent read fails with a no such file or directory exception, probably not having access rights.
When I copy the file into the DroidFish own directory with a file explorer, the read is okay. But I cannot access this directory from b4a. Where can I drop a file in Android so that both apps have access without an external sd card (which cannot be mounted in my phone)?
Thanks for help!
I programmed a b4a app that produces a text file (FEN string). This file should be read by another application not written by me (DroidFish chess engine). If I drop the file in the directory advised by the RunTimePermission.getSafeDirDefaultExternal, DroidFish allows me to pick this file, but the subsequent read fails with a no such file or directory exception, probably not having access rights.
When I copy the file into the DroidFish own directory with a file explorer, the read is okay. But I cannot access this directory from b4a. Where can I drop a file in Android so that both apps have access without an external sd card (which cannot be mounted in my phone)?
Thanks for help!