Attempting to make a kiosk type application/launcher on android and I need a way to detect if no user is present and/or interacting with the device.
In the app I'm writing I'm storing the last touch time and running a thread that determines how long it's been since the last touch... of course that last touch time doesn't get updated from 3rd party apps.
My problem comes in that we're going to allow the user to launch 3rd party apps and I need to detect touches to the screen from those apps to detect that the screen has had no touches/been idle for x amount of time.
Thanks