Android exhibition mode --> Detect user inactivity
<p>I will first explain what I'm trying to accomplish. I wanna use some android devices (10-12) as exhibition devices. The will be always on power and my visitors can play with them. When a device is inactive for a while, I wanna pop up a full screen video playing. The video file must be updated once in a while. </p>

<p>What I have thought so far is to develop a background service app that will update the file of the video I wanna show. And I will create/send an intent to trigger my video player.</p>

<p>What's bothering me is how to detect user inactivity from the whole device. Is this even possible? I know how to do it from my activities, but here I want it for the whole device. Any ideas? Keep in my mind that it is only for my devices, so I can have any setup for them needed (install any kind of management system or root my devices).</p>

<p>Thank you in advance.</p>
