Results 1 to 3 of 3
  1.    #1  
    Hello,

    I'm working on an app that needs the screen to be always switch ON. Do you know what code to use ?

    And is there a way to adjust screen brightness?

    Thanks for answers !
  2. #2  
    Code:
    Mojo.Controller.stageController.setWindowProperties({blockScreenTimeout: true,setSubtleLightbar: false});
    that will keep the screen on, and this will make it so it will turn off again...

    Code:
    Mojo.Controller.stageController.setWindowProperties({blockScreenTimeout: false,setSubtleLightbar: true});
    no idea about the screen brightness.
    My site: Shanerooni, LLC
    Follow me on Twitter
    My apps: GuessWhat? | MazeHunter3D | Small Wonders | PhakePhoney | AutismAware | PicSketcher | Cubix | QuickSolve | QuickSpell | QuickTrace | QuickWhack | QuickSuite | Soccer Shots | Ballooning |
    Cubix

Posting Permissions