Can't view experiments on Andriod
Hi all,
In the past, I had Opensesame runtime working on my Samsung Galaxy Tab A. For some reason, in coming back to this project, I can't seem to get Opensesame runtime to see any of my experiment files. I have tried storing them in either Device Storage, or on a SD card. Neither seem to work. I'm able to load the included Gaze Cuing experiment, but the runtime doesn't detect anything else.
Am I doing something wrong?
Thanks for your help,
Bryn
Comments
Hi Bryn,
Finding experiments on tablets can often be a bit problematic, try to move your experiment file to the main folder (
sd/orsdcard/) and check whether it shows up there. Secondly, when you are prompted for the experiment location it needs to be the exact same path, including capitalization and possible spaces.I found using external apps helps to locate the specific folder and force the device to scan the SD again:
Best,
Laurent
Well, I believe I have figured out one problem: There are no software keyboards that will allow me to type capital letters. I have tried almost every free keyboard app (GO Keyboard, Gboard, SwifKey, etc.).
The path to the SD card is: /storage/extSdCard/
I can't seem to even find a way to paste the text into the Opensesame client. Is there a way I could write in the path in one of the Opensesame config files?
Any suggestions?
Alternatively, is there a way to update Opensesame so it recognizes more current Android keyboards?
Hi Bryn,
I've just checked, and i have the same issue on my Asus tablet with the Android keyboard enabled. It is impossible to type capitals in the prompt screens, but that does not seem to matter anymore (e.g.
/sdcard/experiments/ gives me the list of experiments, eventhough the correct folder is/sdcard/Experiments/). You are running the experiment from an external drive now? Did you try it from the internal folder too?An alternative might be to automatically start an experiment by adding a .yml to the main folder of your device. It is decribed halfway on this page:
I think that can only be done within the input settings of your Android device.
Best,
Laurent
Hi Laurent,
Thank you so much for your help. I'm not sure why, but my path is /storage/extSdCard/experiments and it doesn't seem to work. I tried the path without capital letters and all I see is the Gaze Cuing experiment.
I am able to run the experiment from the device storage, which shows the path /storage/emulated/0/tests/
I added the yml file to the root directory of the android device and it caused Opensesame to crash. I've attached the yml file for reference. I've also attached the debug and settings files, in case they're useful.
Hi again Bryn,
And are you able to see all the experiments stored on the internal storage? The debug file you attached does not show anything erroneous, but i can be that the error is not always written (correctly) to the debug-file.
Since your experiments used to appear in the past, it might also have something to do with an Android update? I've found these threads that might help you:
I'm not sure why it won't run from an external SD card, but it has probably something to do with restricted permission. But honestly, from here i'm a bit in the dark since i can't reproduce the same errors.