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
Developer
omri
Posts: 74
Registered: ‎07-17-2008
My Device: Not Specified

how to detect application idle time

Hey everyone.

I would like to handle an event in my application, where the user has been idle for X time

what is the recommended way of doing so? 

Developer
RexDoug
Posts: 4,764
Registered: ‎07-21-2008
My Device: Not Specified

Re: how to detect application idle time

You could poll DeviceInfo.getIdleTime() from a background thread.