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..?

David
  • 15,894
  • 22
  • 55
  • 66
user3274393
  • 63
  • 1
  • 4

1 Answers1

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:

Juan Cortés
  • 20,634
  • 8
  • 68
  • 91
  • 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. – rmutalik Sep 25 '19 at 23:19
  • 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) – Edw590 Jan 10 '22 at 17:01
  • 1
    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_ this – Juan Cortés Jan 12 '22 at 14:15