App lock

Post your questions and help other users.

Moderator: Martin

Post Reply
Lucy
Posts: 225
Joined: 10 Aug 2019 11:24

App lock

Post by Lucy » 02 Nov 2019 15:51

Being that my phone is NOT rooted and therefore CANNOT use any actions like "kill app".. how would i go about creating a flow to lock applications from executing? My original idea was to simply have a flow with trigger "app task started" then provoke the action "kill app" but again my phone is not rooted. Is it maybe possible to deny the app from ooening in the first place?

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: App lock

Post by Desmanto » 03 Nov 2019 17:55

You can just restrict the app from running background. Android Oreo above should have that option, but depends on the ROM, the option can vary. Try to find it in the app info, application manager or permission manager.

To kill the app, the app itself should be in background. So if the app is running, you should use show homescreen first then kill app.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

Lucy
Posts: 225
Joined: 10 Aug 2019 11:24

Re: App lock

Post by Lucy » 04 Nov 2019 02:12

Yeah i know android has these ootions but i was wanting to lock or unlock apps periodically depending on whom is on this device. To use androids settings in such a fashion proves tedious and long waiting times for packages to load.

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: App lock

Post by Desmanto » 05 Nov 2019 17:50

The username logged in is the same, only the physical user is different right? You can set some kind of profile when you want to hand over to different user. And activate the flow when handed to A, B or C. Each will have blacklisted apps list. When A open the blacklisted app, the flow triggered and show homescreen, kill the app. That way, they can't never open the app properly. The app is still there, they simply can't launch it until usable state.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

Post Reply