I would like to conduct experiment (very simple), like asking patients to select a response on a touch screen from a mobile device but I have two questions:
Is it possible with Psychopy
Are there some operating system that allow this kind of coding (Windows, OSX, etc.)
At the moment you can run PsychoPy on mobile devices BUT this needs to be done in the browser (i.e. Pavlovia) since PsychoPy does not yet have a native app for mobile use.
But you can create experiments in the PsychoPy builder and rub on mobile devices very easily (mouse responses translate to touch screen responses for tablet and mobile devices).
If you are coding in python, the builder way is the easiest way to translate your experiment online because there is a tool to auto-translate your script to PsychoJS (to support running in the browser), you can use code components in builder though if you are more familiar with coding (but see the JS crib sheet for possible issues in translation).
Yes, experiments running in pavlovia can be run on ipads too - although I would recommend piloting your experiment on several devices first as sometimes bugs may appear with different browser (e.g. safari)
Just trying out some different prolific tasks on ipads and the main problem I get is that the keyboard doesnât appear (for example in a digit-span task where people need to input the numbers they see, there doesnât seem to be a way to bring up the key pad because there isnât really a âtext fieldâ which I think the ipad requires). As becca said, the clicks work absolutely fine with the touch pad as presses. Has anyone else had any problems/successes accessing the keyboard on ipads? Thanks!
I doubt it. If nothing else, I would certainly expect many headaches. The problem is that PsychoPy doesnât only depend on Python but on many other libraries, so all of those would also be needed on the iPad. PsychoPy itself is âpureâ python but some of the dependencies require compiling and those are going to be the biggest headaches
See this onthe pyto documentation and note the statement â⌠includes also some popular libraries with compiled code in them. Itâs not possible to install them at runtime because iOS doesnât allow loading compiled plugins not included by the developerâ: https://pyto.readthedocs.io/en/latest/third_party.html
For running studies on mobile devices we would strongly recommend using PsychoJS, which is well-established with lots of users