[solved] the runtime for android quit automatically
I have met some problems when using the opensesame runtime for android. I designed my tasks with opensesame on the computer with droid back-end, and saved them with the type of OpenSesame file (*.opensesame). When I inserted it into my android phone (whether HTCt328d or Sumsang Galaxy Gio(S5660)) in the sdcard, I can open them and type in my subject number as well as location for logfile, but after that it quit automatically. Worsely, when I use another phone (ZTE V967s), the tasks could not be read from the sdcard. When I open opensesame runtime and press enter, it just quit. So what is the problem?
Comments
Could you please post the debug information from
/sdcard/opensesame-debug.txt? See also:Cheers,
Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!
the contest of the bug file is as follows:
A right, I see. The debug info indicates that you pressed the back button, which is mapped onto the escape key and immediately aborts your experiment. So the debug info doesn't indicate any unexpected errors.
If you are sure that the experiment also crashes when you don't press the back button, could you please post the experimental script, for example to pastebin?
Cheers,
Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!
I have posted the script onto pastebin, you could see it by visiting https://pastebin.com/HFNeMMQP.
Please help me resolve this bug. Thank you.
I really cannot think of another explanation than that you are actually pressing the back button, and the experiment ends as a result of this. Note that the back button can be physical, i.e. a real button on the side of your phone, or emulated, i.e. a 'soft' button at the bottom of the screen. Pressing either one will abort the experiment in the way that you experience.
Are you sure that this is not it? If not, when does this problem occur? Does it consistently occur at the same moment during the experiment, at (seemingly) random moments, or something else altogether?
Cheers,
Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!
It occured at the same time as I have described. But now I have resolved this problem. It is probably because of the bug of the program. For example, when I saved the program in the type of .opensesame, it failed to include the files in filepool. When it could not access the files, it quit automatically. Thank you.