Touch gestures recognition while screen is off?

浪子不回头ぞ 提交于 2019-12-06 07:29:32

问题


I've been looking into on how to allow my phone to have it's screen off and allow it listen for touch gestures.

I've thought of doing loading kernel modules but as I read more about it I found out that it would be troublesome to do since I'd have to write one for multiple different kernels.

Does android sdk have anything that allows you to this easily? It would be really cool if you could just create a background service and listen for touch gestures even if the screen is off.

I'm just looking to see if this is possible without having to use kernel modules.

来源:https://stackoverflow.com/questions/23915624/touch-gestures-recognition-while-screen-is-off

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!