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
New Contributor
brybaquial
Posts: 2
Registered: ‎04-11-2011
My Carrier: Telus

Disabling Standby and Adding Sounds To Alerts

Hello,

 

I am working on a webworks (javascript/html5) app for the Playbook and I am just about done, but I am having two issues that I am hoping to find answers on here:

 

1) How can I disable standby mode? My app has a timer and I do not want the user's Playbook going into standby mode if they haven't interacted with it for a few minutes.

2) How can I play a sound (wav, ogg, or mp3) as an alert message is on the screen and then the sound stops when the user hits OK on the alert?

 

Thanks for the help.

Please use plain text.
New Contributor
brybaquial
Posts: 2
Registered: ‎04-11-2011
My Carrier: Telus

Re: Disabling Standby and Adding Sounds To Alerts

Update: got the sounds to go, but now I just need some help on disabling the sleep/standby mode. I haven't found anything in the forums.

Please use plain text.