Page 1 of 1

Enable/Disable

Posted: 20 Feb 2016 14:24
by Ankit Bindal
Is there a way to enable and disable an app??
I want to enable and disable no root data firewall.

Re: Enable/Disable

Posted: 22 Feb 2016 19:03
by Martin
Hi,

Either using action Execute Root Command: pm disable <package.name> (when rooted) or using Control UI. Control UI does not require root but the screen needs to be turned on and unlocked.

Regards,
Martin

Re: Enable/Disable

Posted: 23 Feb 2016 06:05
by Ankit Bindal
Hi,
I just want to switch on and off and not disable and enable the app.

Re: Enable/Disable

Posted: 23 Feb 2016 15:33
by Martin
Hi,

Please ask the developer of no root data firewall if his app allows to turn on/off using intents and how the intents have to look like.
If he does not offer such a way, you could resort to action Control UI to simulate tapping the switch.

Regards,
Martin