Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
Trusted Contributor
sergiosandoval
Posts: 132
Registered: ‎02-17-2012
My Device: Bold 9900

Making the Screen stay on

Any one know how to make the screen stay on even if the user has a 10 sec backlight time?

 

Thank you in Advance

BlackBerry Development Advisor
twindsor
Posts: 832
Registered: ‎07-15-2008
My Device: Passport
My Carrier: Bell

Re: Making the Screen stay on

This would need a new API or Extension to do. I've added a request on github to track it.

 

https://github.com/blackberry/BB10-WebWorks-Framework/issues/304

Tim Windsor
Open Source Technical Lead
Trusted Contributor
sergiosandoval
Posts: 132
Registered: ‎02-17-2012
My Device: Bold 9900

Re: Making the Screen stay on

Thank you!

Developer
TheMarco
Posts: 669
Registered: ‎02-19-2011
My Device: BlackBerry PlayBook 32GB

Re: Making the Screen stay on

In Cascades this is super easy. Hope WebWorks gets it too!

Staff UI Prototyper (read: full-time hacker)


My BB10 apps: Screamager | Scientific RPN Calculator | The Last Weather App

Developer
TheMarco
Posts: 669
Registered: ‎02-19-2011
My Device: BlackBerry PlayBook 32GB

Re: Making the Screen stay on

in Cascades you can already call this from Javascript inside your QML:

 

Application.mainWindow.screenIdleMode = 1;

 

Guess all it takes it for that to be invokable in WebWorks.

Staff UI Prototyper (read: full-time hacker)


My BB10 apps: Screamager | Scientific RPN Calculator | The Last Weather App