07-29-2016 02:01 AM
Sabe alguien cómo detectar que no hay actividad del usuario sobre una aplicación?
Does someone know how to detect that there is no activity of the user on an application?
07-29-2016 03:20 AM
A possibility that does not rely on any other resource is to have a timer running in the background that simply increments a global variable and fires something at a certain value.
The real pain is to intercept all events that identify user activity and reset that global in this case.
Otherway you should look into the SDK to see if some signal can be obtained by the screen saver mechanism handled by the OS.