I have a simple test stack running on an Android tablet which should display all files in a named folder which is typed into a field. It works when I type some folders into the field e.g. “/system”, “/dev”, “/system/bin” but I can’t get it to list files living in folders under “/sdcard”, e.g. “/sdcard/DCIM/Camera”. I've tried various alternatives for specifying the path (e.g. "/mnt/sdcard/DCIM/Camera", "/storage/sdcard0/DCIM/Camera") but none have worked up to now.
Here are the 2 lines of code where the folder is typed into folderField & the result (list of files) goes into filesField:
Code: Select all
set the defaultFolder to field "folderField"
put the files into field "filesField"
Thanks,
Jim