|
-
September 20th, 2009, 02:51 PM
#2
Re: Terminating an app after 5 min idle ?
As far as I see you need to periodically poll for the last input time. When that last time is greater than 5 minutes, than you close the application. You can use a timer for this polling. You don't have to reset this timer, because is not a timer for the idle time, but a timer for the polling operation.
Is there anything that I'm missing here?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|