Enable/Disable

Post your questions and help other users.

Moderator: Martin

Post Reply
Ankit Bindal
Posts: 90
Joined: 12 Feb 2016 03:23

Enable/Disable

Post by Ankit Bindal » 20 Feb 2016 14:24

Is there a way to enable and disable an app??
I want to enable and disable no root data firewall.

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Enable/Disable

Post by Martin » 22 Feb 2016 19:03

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

Ankit Bindal
Posts: 90
Joined: 12 Feb 2016 03:23

Re: Enable/Disable

Post by Ankit Bindal » 23 Feb 2016 06:05

Hi,
I just want to switch on and off and not disable and enable the app.

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Enable/Disable

Post by Martin » 23 Feb 2016 15:33

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

Post Reply