Search code examples
androidinputandroid-keypadkeystrokes

Android : Keep track of total keystroke while application running in background?


Is there any way to keep track of total keystroke in device while my application running in background? I tried to find any working solution but there is no luck.

Update : Background means my application is not showing to user. Now it may be running through a service or using a broadcast receiver or any other method but its not visible to user. It just have to detect keystroke without showing to user.


Solution

  • Fortunately, no, for obvious privacy and security reasons.