本文介绍了如何禁用电源按钮?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否可以覆盖Android的电源按钮的功能? 我想禁用电源按钮。我的计划是覆盖此按钮,什么也不做的功能({};) 那么我的主要想法是禁用转动屏幕关闭。
我要当有人preSS电源按钮没有什么事情发生。
我怎样才能做到这一点?
解决方案是否可以覆盖Android的电源按钮的功能?我想禁用电源按钮。
幸好,这是不可能的,也许除了经由定制固件
Is it possible to override the functionality of the android power button ? I want to 'disable' the power button. My plan is to override the functionality of this button to do nothing ( {}; ) Well my main idea is to disable the turning the screen off.
I want when someone press the power button nothing to happen.
How can I do this ?
解决方案Is it possible to override the functionality of the android power button ? I want to 'disable' the power button.
Fortunately, this is not possible, except perhaps via custom firmware.
更多推荐
如何禁用电源按钮?
发布评论