Problem with external file location on Android
Posted: Tue May 13, 2025 4:25 pm
It's one problem after another 
So, in order to confirm that my code change regarding ReadAssetFile for Android 64 is working, I'm trying to run the FileDemo on Android. And surprise, it's looking for TestFile.txt in a folder that requires root access:
/data/user/0/com.mydomain.filedemo/files/TestFile.txt
The only way I managed to browse it and upload the TestFile.txt in it was to use:
Android Studio → View → Tool Windows → Device Explorer
This folder is for private app files (databases, preferences, cache). My savefile for Omeganaut is there and it's fine.
But for editable files, it should normally be here:
/storage/emulated/0/Android/data/com.mydomain.filedemo/files/TestFile.txt
Where the user has (more or less) permission to manage their files, depending on the Android version...
Do you happen to remember where this path is set in ZGE's code?
On the bright side, once the TestFile.txt is found, the app is working flawlessly with my modification

So, in order to confirm that my code change regarding ReadAssetFile for Android 64 is working, I'm trying to run the FileDemo on Android. And surprise, it's looking for TestFile.txt in a folder that requires root access:
/data/user/0/com.mydomain.filedemo/files/TestFile.txt
The only way I managed to browse it and upload the TestFile.txt in it was to use:
Android Studio → View → Tool Windows → Device Explorer
This folder is for private app files (databases, preferences, cache). My savefile for Omeganaut is there and it's fine.
But for editable files, it should normally be here:
/storage/emulated/0/Android/data/com.mydomain.filedemo/files/TestFile.txt
Where the user has (more or less) permission to manage their files, depending on the Android version...
Do you happen to remember where this path is set in ZGE's code?
On the bright side, once the TestFile.txt is found, the app is working flawlessly with my modification
