Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

[solved] failing to initiate any experiments i have made on Android (Nexus7)

edited March 2014 in OpenSesame

The example ones work fine. I have scanned other discussions and i notice that a number of functions did not work such as fixation dot. I have made an experiment with a sketchpad simply displaying TEXT for 5 seconds. Backend is Droid however as soon as i input participant number, it exits and goes to my android homescreen. Any advice? Is there any way i can access the example experiments on my PC and not just my nexus? Many thanks

Comments

  • edited 10:52AM

    Hi Joshua,

    however as soon as i input participant number, it exits and goes to my android homescreen. Any advice?

    You can find debugging output in /sdcard/opensesame-debug.txt (i.e. what you would see in the debug window on your PC). What does this file say? See also:

    Is there any way i can access the example experiments on my PC and not just my nexus?

    They are simply included with the standard examples and marked with '(Android version)':

    Cheers!
    Sebastiaan

  • edited 10:52AM

    I have accidentally deleted this text file! I have attempted to uninstall and reinstall OS on nexsus however the log files or debug txt files no longer save to the /sdcard.

    oops.

  • edited March 2014
    Launching resources/android/menu.opensesame
    openexp.sampler._legacy.init_sound(): sampling freq = 48000, buffer size = 512
    experiment.init_log(): using 'defaultlog.csv' as logfile (utf-8)
    experiment.run(): experiment started at Mon Mar 10 16:02:43 2014
    experiment.run(): experiment finished at Mon Mar 10 16:02:52 2014
    Launching /sdcard/blankexp..opensesame.tar.gz
    Traceback (most recent call last):
      File "opensesame/main.py", line 99, in main
      File "opensesame/libopensesame/experiment.py", line 282, in run
      File "opensesame/libopensesame/experiment.py", line 610, in init_display
      File "opensesame/openexp/canvas.py", line 47, in init_display
      File "opensesame/openexp/_canvas/droid.py", line 49, in init_display
    osexception: 
    The droid back-end requires a resolution of 1280 x 800. Your display will be scaled automatically to fit devices with different resolutions.
    
  • edited 10:52AM

    i changed the display resolution to the same as your examples and it seemed to work

  • edited 10:52AM

    Good to hear that you worked it out. Yes, indeed, the droid back-end requires a fixed 1280x800 resolution. The image will always be scaled so that it fits the entire screen, though!

  • I cannot access to the examples you mention and have the same issue. Which is the resolution required, to be introduced when setting the experiment?

    Thank you!

  • btw. I changed to 1280x800 but the scaling does not seem to occur.

  • @elesa This is a very old discussion. As you can read on the documentation, the Android runtime for OpenSesame no longer works on recent versions of Android. In many cases, there are better alternatives now, such as using a Windows tablet or running experiments online with OSWeb.

Sign In or Register to comment.