-
Notifications
You must be signed in to change notification settings - Fork 6
Is there a better way to break user idle? #8
Comments
hi, i think you are looking for this:
https://developer.android.com/reference/android/app/Activity.html#onUserInteraction() |
Yesss 🌠 |
Actually.. that's still per-activity right? |
yes, its still per activity. you have to forward it to the class it need. |
simple java sample how it could work
|
There is no global way to get the userinput. |
Is there a more global way of detecting all screen input to break user idle than each activity intercepting touches via
dispatchTouchEvent
?The text was updated successfully, but these errors were encountered: