Is there some kind of trick to get the setting to enable "notification access" for an app? In the system settings this is not available... I have root.
*Update*
After searching and trying, i found a solution for myself
You need an app that creates a shortcut to an activity.
I used Nova Launcer and created a shortcut to Settings$NotificationAccessSettingsActivity.
maybe with Xposed? i tried with an app from play store but no luck
bigboy2005 said:
Is there some kind of trick to get the setting to enable "notification access" for an app? In the system settings this is not available... I have root.
*Update*
After searching and trying, i found a solution for myself
You need an app that creates a shortcut to an activity.
I used Nova Launcer and created a shortcut to Settings$NotificationAccessSettingsActivity.
Click to expand...
Click to collapse
Thank you man. I also used the Nova Launcher Shortcut. Locate it by long tapping, selecting widgets, selecting Shortcut and then scrolling down to the Settings Activity Notification Access Option.
This method also allowed me to access "Apps with usage access" using the Settings$UsageAccessSettingsActivity. Thank you!
By the way, initially I was having issues adding widgets/shortcuts to the Nova Launcher homescreens. If anyone else is having this issue, it can be solved by installing/converting Nova Launcher to a System app. Apparently this grants it some additional otherwise inaccessible permissions by default. Cheers!
Dear Tasker-Masters,
My goal:
I want to limit the use of certain apps on my son's phone (running CM12.1) using tasker. Some apps (basically games) are time-limited, others shall not be accessible at all.
What I did (apart from deactivating the guest account):
I've defined a profile "No access" that activates when certain apps start (including play store and settings). This profile starts a task calling for a lock screen asking for a code. Locking settings is especially needed to deactivate the option to developer options and root access, access to other appstores, or the device admin section.
What my son did:
He found out, that the locked app appears in the app history. Clicking the locked app in the history immediatly brings up the lockscreen. However, there's a tiny time frame of maybe 0.1 seconds, where the locked app reacts to strokes on the display. This way, it's possible to scroll down the "setting" app until you get to the "security" and "device admin" section, and then to disable tasker from there. Now, profiles cannot read or react to whatever appears in the foreground of the display.
My question:
1. Can you think about a secure way to lock access to android settings? How would that be?
2. is it possible to deactivate the appearence of (only!) the android settings in the app history?
1. Create a profile -> Application -> Settings. This will trigger when someone goes into the settings app (yes even settings its an app).
In the task itself you can just "Go Home".
The task will trigger even if he goes to the settings from the recent app screen.
2. If your phone is rooted then just kill the settings app from running.
If not use AutoInput to press that "kill all" button (unfortunately).
Make sure also that tasker is a device administrator. You don't want your son to "accidentally" uninstall it.
You can't uninstall device admin apps without turning off that setting and he cant go into settings.
I hope these guidelines will help you.
Hi,
New to Tasker and am absolutely amazed by it's capabilities!
Got a new Galaxy S7, which I am unable to root at this point in time.
I really need a way to toggle Mobile Data and GPS on/off.
Did quite a bit of reading and searching and only found info for rooted devices. Even tried Secure Settings, which of course needs root to toggle them.
Is there ANY way I can toggle mobile data on/off without root???
GPS will be nice as well but less critical.
Will appreciate any help.
Y.
It can be done by using AutoInput but it would require the screen to be on.
I would also appreciate some help on this too, especially the autoinput method. I got parts of it to work, like opening location settings and clicking location on if off. But I'm having trouble creating the task if location is already on. Also, the exit task is giving me fits too because every time the task runs when I open maps, it exits the app to location settings to click the on location, thus activating the exit task before I even get to use the maps haha. It basically goes on a loop for me and can't figure it out. Any help on how to configure this would be appreciated.
svampsson said:
It can be done by using AutoInput but it would require the screen to be on.
Click to expand...
Click to collapse
Thank you!
Is there a way to turn the screen on with Tasker?
If so, perhaps I can use the combination of Tasker and AutoInput to achieve toggling mobile data on off?
(I found Turn On under Display in Tasker but it has a cross on it so I don't think I can select it. Is there another plugin that will turn the screen on?... that is without root)
yud said:
Thank you!
Is there a way to turn the screen on with Tasker?
If so, perhaps I can use the combination of Tasker and AutoInput to achieve toggling mobile data on off?
(I found Turn On under Display in Tasker but it has a cross on it so I don't think I can select it. Is there another plugin that will turn the screen on?... that is without root)
Click to expand...
Click to collapse
AutoInput has that feature built in
Task => Plugins => AutoInput => Unlock Screen
Sent from my HTC One using Tapatalk
svampsson said:
AutoInput has that feature built in
Task => Plugins => AutoInput => Unlock Screen
Sent from my HTC One using Tapatalk
Click to expand...
Click to collapse
Thanks heaps!
This means I can achieve what I want to do. Right?
yud said:
Thanks heaps!
This means I can achieve what I want to do. Right?
Click to expand...
Click to collapse
It should yes.
Sent from my HTC One using Tapatalk
---------- Post added at 08:56 AM ---------- Previous post was at 08:55 AM ----------
Faint Paradox said:
I would also appreciate some help on this too, especially the autoinput method. I got parts of it to work, like opening location settings and clicking location on if off. But I'm having trouble creating the task if location is already on. Also, the exit task is giving me fits too because every time the task runs when I open maps, it exits the app to location settings to click the on location, thus activating the exit task before I even get to use the maps haha. It basically goes on a loop for me and can't figure it out. Any help on how to configure this would be appreciated.
Click to expand...
Click to collapse
This should help
svampsson said:
AutoInput has that feature built in
Task => Plugins => AutoInput => Unlock Screen
Sent from my HTC One using Tapatalk
Click to expand...
Click to collapse
Only works if screen lock security is set to none or swipe.
I have fingerprint unlock setup.
Back to square one.
svampsson... That XML file is only for screen Brightness. I did try tinkering with it to have it work for location Toggle instead but it still gave me trouble. The global action on it would not go back to the app after toggling location on. Any ideas? Thanks for the help tho.
Hi,
I just installed tasker app on my Galaxy S7 Edge.
I tried to create a task to switch on GPS when running Pokemon App and then switch off once app is closed.
Task:
1. Launch App
App Pokemon Go Data %LOC
I run the task, as expected, it opens pokemon go app and 4G(gps) icon appears on the upper-left corner of my phone. But the icon won't disappear when I manually turn off the Location on Quick Settings.
Please help how to restore Location icon on-off.
Thank you
Sent from my iPhone using Tapatalk
rxk said:
Hi,
I just installed tasker app on my Galaxy S7 Edge.
I tried to create a task to switch on GPS when running Pokemon App and then switch off once app is closed.
Task:
1. Launch App
App Pokemon Go Data %LOC
I run the task, as expected, it opens pokemon go app and 4G(gps) icon appears on the upper-left corner of my phone. But the icon won't disappear when I manually turn off the Location on Quick Settings.
Please help how to restore Location icon on-off.
Thank you
Click to expand...
Click to collapse
Do you have root? It is very easy to turn high accuracy GPS ON/OFF with Secure settings-plugin. If no root you can do it with Autoinput.
Hallo everyone,
i have looked over all the threads here but did not find any solution.
My question is: Since SecureSettings (plugin) seems to be not developed anymore i need a new way to completely disable keyguard with Takser and ofc. reset to keyguard it was before.
Example: currenty i have a pattern to unlock. What i want to do: Profil "App X starting" -> Start-Task: completely disable keyguard (no "swipe to unlock", no pattern, no pin, nothing: tapping on power button => screen on with current running app); -> Exit-Task: restore pattern (with the pattern i was using before ofc)
Does any1 know any way how to do this? Currently i am running CM13 Snapshot (Android 6.0.1) on my GT-I9505.
thanks for any helpful answer
You can do that with Secure Settings, or the new AutoTools plugin
CrashOverride93 said:
You can do that with Secure Settings, or the new AutoTools plugin
Click to expand...
Click to collapse
SecureSettings disableing does not work on Android 6 (not only on my device). Thats why i started this thread. But thanks for the hint with AutoTools, i will try
did it work with autotools?
if it did, can u share the howto?
ty
liatgme said:
did it work with autotools?
if it did, can u share the howto?
ty
Click to expand...
Click to collapse
No, it did not (at least not for me), i did not even find the "disable keyguard" option like the SecureSettings Pluig-in had it
Still looking for a way to completely disable keyguard on Android 6 (CM13). Not even with my Smartwatch and "Smart Lock" i can REALY disable keyguard, i still have to swipe the Lock-Icon after reaktivating my phone
you can use secure settings on Lollipop and also on MM
try this with Terminal emulator:
https://dammit.nl/p/962
alegend1979 said:
you can use secure settings on Lollipop and also on MM
try this with Terminal emulator:
https://dammit.nl/p/962
Click to expand...
Click to collapse
Thanks, but i already knew this. The problem is not, secure settings does not find su binary. The problem is, secure settings -> disable keyguard is not working on LP&MM.
I am running Android 6.0.1... I use the Tasker plugin TouchTask (in Google Play) to disable the keyguard. It works perfect for me.
---------- Post added at 10:32 PM ---------- Previous post was at 09:58 PM ----------
I use a tasker plug in called TouchTask from Google Play. It works perfect for me on Marshmallow. I used the plugin to temporary disable the keyguard in order to allow voice commands when driving.
135Shadowsoul said:
Thanks, but i already knew this. The problem is not, secure settings does not find su binary. The problem is, secure settings -> disable keyguard is not working on LP&MM.
Click to expand...
Click to collapse
hi, this is weird!
Maybe I misunderstood something here, but I'm running MM, and Secure setting's disable keyguard runs fine here. I use it to turn off pin keyguard when at home, and turn it back on, with preset pin, when I'm out.
I'm running Tasker with Secure setting on 6.0.1. Also, Secure setting is enabled in Xposed, if it matters.
I don't see any problem so far...
p.s. I just saw another plugin from the same developer, it is called SecureTask, it claims to be able to clear/set pin, password too. Maybe a good solution to finally replace the dated Secure setting?
alienyd said:
hi, this is weird!
Maybe I misunderstood something here, but I'm running MM, and Secure setting's disable keyguard runs fine here. I use it to turn off pin keyguard when at home, and turn it back on, with preset pin, when I'm out.
I'm running Tasker with Secure setting on 6.0.1. Also, Secure setting is enabled in Xposed, if it matters.
I don't see any problem so far...
p.s. I just saw another plugin from the same developer, it is called SecureTask, it claims to be able to clear/set pin, password too. Maybe a good solution to finally replace the dated Secure setting?
Click to expand...
Click to collapse
Can you provide a link to this Secure Task plugin? Thanks
GrippingSphere said:
Can you provide a link to this Secure Task plugin? Thanks
Click to expand...
Click to collapse
https://play.google.com/store/apps/details?id=com.balda.securetask
there you go, but I haven't tried this out, just saw that it claims to be able to do the job.
trukero said:
I am running Android 6.0.1... I use the Tasker plugin TouchTask (in Google Play) to disable the keyguard. It works perfect for me.
---------- Post added at 10:32 PM ---------- Previous post was at 09:58 PM ----------
I use a tasker plug in called TouchTask from Google Play. It works perfect for me on Marshmallow. I used the plugin to temporary disable the keyguard in order to allow voice commands when driving.
Click to expand...
Click to collapse
Can you share how you did this?
thanks for all the reply. Unfortunately nothing did work for me the way i need it
135Shadowsoul said:
thanks for all the reply. Unfortunately nothing did work for me the way i need it
Click to expand...
Click to collapse
how exactly do you want it to work?
alienyd said:
how exactly do you want it to work?
Click to expand...
Click to collapse
Like mentioned in my OP (and how it worked on 4.4.4 (CM11):
Profil "App X" => start task: disable keyguard => end task: enable keyguard
i am using unlock pattern usually. what i want is, while "App X" is active/running, keyguard will be set to nothing (not even swipe to unlock!). pressing power (or home button) on my Samsung Galaxy S4 (GT-I9505), wich has no fingerprint reader, returns me from black screen (screen off) to the running "App X", i was before pressing power button to screen off. If i stop "App X" the keyguard should be re-set to the unlock pattern.
The SecureSettings plugin did this job on android 4.4.4, but not on 6.0.1 for me
135Shadowsoul said:
Like mentioned in my OP (and how it worked on 4.4.4 (CM11):
Profil "App X" => start task: disable keyguard => end task: enable keyguard
i am using unlock pattern usually. what i want is, while "App X" is active/running, keyguard will be set to nothing (not even swipe to unlock!). pressing power (or home button) on my Samsung Galaxy S4 (GT-I9505), wich has no fingerprint reader, returns me from black screen (screen off) to the running "App X", i was before pressing power button to screen off. If i stop "App X" the keyguard should be re-set to the unlock pattern.
The SecureSettings plugin did this job on android 4.4.4, but not on 6.0.1 for me
Click to expand...
Click to collapse
I would recommend Xposed module App Settings, allow your app to show on lockscreen.
alienyd said:
I would recommend Xposed module App Settings, allow your app to show on lockscreen.
Click to expand...
Click to collapse
but xposed sometimes hard to hide with suhide or rootswitch
135Shadowsoul said:
but xposed sometimes hard to hide with suhide or rootswitch
Click to expand...
Click to collapse
there are, again, some modules just to do the hiding:laugh:
dorsetqpr said:
Can you share how you did this?
Click to expand...
Click to collapse
The task I use is the follwoing:
A1 Secure Settings, "screen & keyboard Lights on 4 s"
A2 Screen Unlock "Using the Plug I have mentioned"
A3, what ever else you want to do with Tasker
Please keep in mind that previously, I have disable the PIN using Tasker and Secure Settings when my cell phone is connected to my car's bluetooth
Keyguard is disabled/not an option in Secure Setting even I enabled legacy features. Did anyone figure it out how to disable keyguard on Marshmallow?
I'm not real keen on rooting my Note8 just yet but the only way I know how to change the IME with the Spen is with tasker, Secure settings and root access. Is there a way to get around needing root access to set the IME with secure settings? Orban alternative method? Thanks
So I finally figured out how to do this. It requires AutoTools (you also need to give it permission to write secure settings via adb). I'm sure you can configure this in Tasker but since I use Macrodroid, that's what I used.
Configure it to trigger based on an intent, com.samsung.pen.INSERT to be exact. Now in Macrodroid I set this up as 2 macros. For the removal I had it trigger on that intent with the extra of penInsert and a value of false. That means the pen was removed, the the reverse for when it was inserted.
It's the same intent, com.samsung.pen.INSERT and extra of penInsert but with a value of true. Then for each macro I used the AutoTools Secure Settings option then under services it lists input method.
You can then select an input method for each macro, one for when the pen is removed (like Google handwriting) and then when it's reinserted have it swap back to a normal keyboard.