How to use onUserInteration method in my code?
<p>In my sample application in need find the user inactivity, ie if the user won't do anything for 5 minutes i need show a Alert Dialog. For this, initially i wrote my code in <code>onStart()</code> method in this method i include a thread with which is run 5 minutes delay but it doesn't meet the exact requirement, i searched in Google i got on predefined method <code>onUserInteracation()</code>, unfortunately i can't understand why this method (this method called when i interact the screen). Is it possible to find out the user inactivity through code?</p>
