Android Question How to detect any application user action?

RB Smissaert

Well-Known Member
Licensed User
Longtime User
This could be a keyboard action, button-click, scroll, etc. etc.
The purpose is to disconnect from the database or maybe close the application after a certain
amount of time of user inactivity.



Licensed User
Longtime User
I think you'd need a Service to monitor the application - otherwise an App itself just sits there awaiting input and isn't aware of non-input.
Upvote 0