如何覆盖android关闭移动功能? [英] How to override android turn off mobile function?
本文介绍了如何覆盖android关闭移动功能?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在开发一个anti_thef应用程序,其中我希望如果某个特定选项打开.....然后在此之后用户长按电话按钮关闭移动....然后按下关闭选项...移动不应该关闭,但应该执行特定的选项,例如负载量等警报......我们怎么做...?
我尝试过:
..................... ................................................
解决方案
据我所知,你没有。这是一个系统功能,无法覆盖。
i am developing an anti_thef application in which i want that if a particular option is turn on.....then after this any time a user long press phone button to turn off mobile ....then after pressing turn off option ...mobile should not be turn off but a particular option should be performed e.g siren in load volume etc.... how can we do it..?
What I have tried:
.....................................................................
解决方案
As far as I can tell, you don't. That's a system function and cannot be overridden.
这篇关于如何覆盖android关闭移动功能?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文