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

Java Development

Reply
New Developer
Posts: 16
Registered: ‎09-12-2008
My Device: Not Specified
Accepted Solution

how to set a device IDLE timeout

The MemoryCleanerListener class indicates that an event of "EVENT_IDLE_TIMEOUT " can be detected

(i.e. As per the API it is defined as Indicates the device has been idle for some set time (as configured by the user.))

 

But how (or where) do we programatically set this IDLE timeout ?

or

Is is this something the user sets manually via the the device ?

 

 

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

Re: how to set a device IDLE timeout

This refers to the backlight timeout set under Options, Screen/Keyboard.  Here is some information on how you can prevent this timeout from occuring and keep the screen on for your application.

 

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

http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800620/How_To_...

 

How To - Prevent the Lock screen from interrupting your application
Article Number: DB-00563

http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800451/800719/How_To_...

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Highlighted
New Developer
Posts: 16
Registered: ‎09-12-2008
My Device: Not Specified

Re: how to set a device IDLE timeout

thanks Mark, this helps