简体   繁体   English

在管理应用程序中禁用强制停止按钮

[英]Disable force stop button in manage application

I am trying to disable the force stop button in the manage application page in Android settings. 我正在尝试在Android设置的管理应用程序页面中禁用强制停止按钮。 Certain applications are able to this even when their service is in running state the force stop button comes in disabled state. 某些应用程序即使在其服务处于运行状态时也能够做到这一点,强制停止按钮处于禁用状态。 Please can anyone help me with this? 请任何人可以帮助我吗?

I am finding since last 1 week and finally I found that how to disable the Force Stop button. 我从上个星期开始就发现了,最后我发现了如何禁用“强制停止”按钮。

You should apply Device Administrator Policy to your application. 您应将“设备管理员策略”应用于您的应用程序。 Below url will help you. 网址下方将为您提供帮助。

http://prashantandroid.blogspot.in/2013/07/disable-force-stop-in-manage.html http://prashantandroid.blogspot.in/2013/07/disable-force-stop-in-manage.html

I am trying to disable the force stop button in the manage application page in Android settings. 我正在尝试在Android设置的管理应用程序页面中禁用强制停止按钮。

Fortunately, this is not possible for ordinary SDK applications, for obvious security reasons. 幸运的是,出于明显的安全原因,这对于普通的SDK应用程序是不可能的。

Certain applications are able to this even when their service is in running state the force stop button comes in disabled state 某些应用程序即使在其服务处于运行状态时也能够做到这一点,强制停止按钮处于禁用状态

Some system apps can do this, I believe. 我相信某些系统应用程序可以做到这一点。 You are welcome to make your own custom ROM and attempt to prevent your app from being force-stopped. 欢迎您制作自己的自定义ROM,并尝试防止强制停止您的应用程序。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM