Am having an issue with accessing the user home folder on a Samsung Android device.
I've tested these variations:
AppFramework.userHomeFolder.path + "/myFolder"
They all seem to return the path of "/sdcard"
Then any attempt to create a folder fails with just a generic 'Error creating' message.
The device doesn't have an sdcard in it. My question is, why is it returning the path of '/sdcard'?
As a comparison, Survey123 appears to use the "~/myFolder" approach, and works fine on this device. So I'm not sure why I'm experiencing a different result.
AppFramework.standardPaths.standardLocations(StandardPaths.HomeLocation) + "/myFolder"
Allows me to create a folder and get the app to work, but the location is not the location that Survey123 accesses, and is obviously not visible when I plug the device into a pc and try to browse the file system.
Any suggestions welcome.