捕获触摸事件即使系统处于休眠 [英] Capturing touch events even while system is in sleep
问题描述
我开发这就要求系统获得的触摸事件,系统进入睡眠模式,即使或者用户锁定屏幕后,我试图寻找一个解决方案的应用程序,但它是很难找到的。
我应该要设置任何权限或有任何内置的方法,或者我可以覆盖任何方法来执行此功能。
我开发这就要求系统获得的触摸事件,系统进入睡眠模式,甚至后一个应用程序的用户锁屏后
块引用>幸好,这是不可能的。否则,该设备将不睡着了,电池寿命会因此而受到影响。
I'm developing an app which requires the system to get the touch events even after the system goes to sleep mode or after the user locks the screen, I tried searching for a solution but it is hard to find one. Should I want to set any permissions or is there any inbuilt methods or can I override any methods to perform this functionality.
解决方案I'm developing an app which requires the system to get the touch events even after the system goes to sleep mode or after the user locks the screen
Fortunately, this is not possible. Otherwise, the device would not be asleep, and battery life would suffer as a result.
这篇关于捕获触摸事件即使系统处于休眠的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!