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

Java Development

Posts: 43
Registered: ‎11-24-2011
My Device: Perl
My Carrier: BB

how to impliment wakelock -blackberry



I developed a  functionality for the audio recording on my application which is about 2 min


When the user start the record it work fine but the backlight of my screen goes offf after a certain time,

so i need that the backlight shoud never turn off whenever my app is running on the phone


can any one know how to implement the wakelock in blackberry


Thanks in advanced


Posts: 17,019
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: how to impliment wakelock -blackberry


you need an extra permission for that, so be sure to request it.
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter