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

New Developer
Posts: 29
Registered: ‎09-29-2008
My Device: Not Specified

My application goes into the sleep mode after some time

Hi friends,


I have written a player application.

I tested the same on Blackberry mobile. The problem is that when the application is playing a video file, after playing some time, the screen goes into blank screen. whenonly some key is pressed on the mobile, the application gets resumed. I dont want this type of behaviour. I used the canvas for displaying the video.

Please kindly help me to resolve this behaviour.



BlackBerry Development Advisor
Posts: 15,813
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: My application goes into the sleep mode after some time

Please see the following link.



How To - Enable the backlight and prevent the screen from turning off
Article Number: DB-00426


Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.