How to know the user’s inactivity from an application. Actually if user is inactive for a period I have to trigger some code. How can I do this. Please help.
Sub Activity_Touch (Action As Int, X As Float, Y As Float)
lastTimeAlive = DateTime.Now
End Sub