• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Disable the "Force Stop" option in the application

merthkm

Lurker
Hello,

In a mobile application we have developed, the user should not close the application. We did this with the background services, but when you select the application from the application list, the "force" to "stop" options of the "uninstall" and "force to stop" options need to be deactivated. Is there any way I can do this, except when I'm rooting an application?

Thank you.
 

Attachments

  • InkedScreenshot_20191004-183727_Settings_LI.jpg
    InkedScreenshot_20191004-183727_Settings_LI.jpg
    1.7 MB · Views: 261
As an ordinary app developer, I don't think so. This would have to be done within the operating system configuration.

In fact it would be incredibly dangerous if the system let any old developer do this: do you really want adware or just malfunctioning apps that can't be killed? And if it were available like that you can be sure that malware and adware would use it.
 
Back
Top Bottom