I will have an android application running at all times and i'm trying to code in a function where if there is no user activity for 30 seconds the app will exit.
I have looked through alot of threads on this and most of them go into far too much detail than what i'm looking for. (For example - Application idle time)
Any help would be much appreciated.