Touch event while display off
Asked Answered
C

1

6

Sorry for stupid question, but can I listening touch events from android phone, while display is off? Or touch system works only when display is ON..?

Cryptocrystalline answered 5/2, 2014 at 9:5 Comment(0)
G
6

Only when the display is on since the touchscreen needs power to detect touches. However, there is some research to re-register the sensors when the screen is off, so maybe you'll have some luck if you follow that route.

Useful Resources:

Gebelein answered 5/2, 2014 at 9:6 Comment(3)
The nosemaj.org link does not work anymore...I'm guessing the website went offline in 2017, according to web.archive.org (Wayback Machine). But you can still access the links through the Wayback Machine.Neckar
What about more recently changes? Various devices can detect double tap to wake the device. Wouod there be some way to mimic on unsupported devices? (as a system app and/or root user rights)Supervision
This is an answer from 8 years ago, you can't expect an answer from 8 years ago to be kept up to date. If anyone has more information, feel free to edit it or answer again. I made it a community wiki so I no longer own thisPhenetidine

© 2022 - 2024 — McMap. All rights reserved.