We want to activate a process if the user does not interact for 2 mins with our compact framework application running on our custom built devices.
I found an excellent C# sample code of Code Project(http://www.codeproject.com/KB/cs/ApplicationIdle.aspx) but it is not supported for compact framework as this code depends on Timers Class and Application.Idle events.
Can someone suggest me how to detect idle time?
This blog entry is exactly what you need.
(Archived version: http://web.archive.org/web/20090615073146/http://blog.opennetcf.com/ctacke/2009/05/19/DetectingApplicationIdle.aspx)