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
Developer
second
Posts: 20
Registered: ‎03-11-2011
My Device: Not Specified

Prevent Playbook from Sleeping

What are the auto-sleep settings of the Playbook?  I have an app that, in one particular page, should prevent the device from automatically fading the screen or going to sleep. 

 

I need to (a) prevent the device from automatically going to sleep, and (b) restore the device's auto sleep functionality, depending on what page the user is in.

 

How can I accomplish this?

 

Thanks in advance.

/second

 

Developer
second
Posts: 20
Registered: ‎03-11-2011
My Device: Not Specified

Re: Prevent Playbook from Sleeping

The bbwp AirAppTemplates include the source code of the .SWF that's being generated.  Is there a way to patch this code so that the generated app prevents the device from going to sleep?