Hi, can anyone assist on how I could configure Tasker to disable peeking/heads up notification on a couple of apps (i.e. whatsapp, Line, hangouts, etc) when running a certain app (i.e. when I am playing a certain game full screen) on Nougat?
I used to be able to disable peeking for them individually without silencing the notifications on Marshmallow but ever since the update to Nougat, for some reason I can only enable "show silently" which disables peeking, vibration and muting the notifications all at once.
Now of course I would still want notification sounds when the message comes in but since it is impossible now, I would hope if someone can help me with getting tasker to activate "show silently" permissions on a couple of apps when I run a certain app (Vainglory in my case) as I wouldn't want the heads up notifications to pop up suddenly as I am in the game which if I clicked on them by accident, I would get kicked out of the game hence prompting me to rejoin my match.
Ofcourse, I'd like for tasker to deactivate "show silently" for those apps once more whenever I close/exit the game.
Thanks in advance.
I have profile to just Disable Head up notification for all apps. When I open some games in fullscreen and Enable Head up notification when exit app.
I can't find any option for an individual app yet.
If this is what you want I can help you out.
Cheers.
aillez said:
I have profile to just Disable Head up notification for all apps. When I open some games in fullscreen and Enable Head up notification when exit app.
I can't find any option for an individual app yet.
If this is what you want I can help you out.
Cheers.
Click to expand...
Click to collapse
This would be great. Kindly share, thank you!
Alright then.
Here we go.
The plugin you need is AutoTools if you don't want to use a plugin you can use Run Shell as Root as well (but it'll not work as good as using AutoTools will have some delay before it apply.)
1st option: Using AutoTools Plugin
Create New Task for DisablePeek/Head Up Notification
Code:
Plugin > AutoTools > Secure Settings > Pen icon for edit
Custom Settings
Setting Type: global
Name: heads_up_notifications_enabled
Input Type: Int
Value: 0
then Apply
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
and for EnablePeek/Head Up Notification
Code:
Plugin > AutoTools > Secure Settings > Pen icon for edit
Custom Settings
Setting Type: global
Name: heads_up_notifications_enabled
Input Type: Int
Value: 1
2nd options: Run Shell as Root.
Disable HeadUp with Shell
Code:
Code > Run Shell
Command: settings put global heads_up_notifications_enabled 0
Tick Use Root
Enable HeadUp with Shell
Code:
Code > Run Shell
Command: settings put global heads_up_notifications_enabled 1
Tick Use Root
Hopes this help.
aillez said:
Alright then.
Here we go.
The plugin you need is AutoTools if you don't want to use a plugin you can use Run Shell as Root as well (but it'll not work as good as using AutoTools will have some delay before it apply.)
1st option: Using AutoTools Plugin
Create New Task for DisablePeek/Head Up Notification
Code:
Plugin > AutoTools > Secure Settings > Pen icon for edit
Custom Settings
Setting Type: global
Name: heads_up_notifications_enabled
Input Type: Int
Value: 0
then Apply
View attachment 4189656
View attachment 4189657
and for EnablePeek/Head Up Notification
Code:
Plugin > AutoTools > Secure Settings > Pen icon for edit
Custom Settings
Setting Type: global
Name: heads_up_notifications_enabled
Input Type: Int
Value: 1
2nd options: Run Shell as Root.
Disable HeadUp with Shell
Code:
Code > Run Shell
Command: settings put global heads_up_notifications_enabled 0
Tick Use Root
View attachment 4189658
Enable HeadUp with Shell
Code:
Code > Run Shell
Command: settings put global heads_up_notifications_enabled 1
Tick Use Root
Hopes this help.
Click to expand...
Click to collapse
Thank you. Quick question, is root required for both options to work?
skingg said:
Thank you. Quick question, is root required for both options to work?
Click to expand...
Click to collapse
I forgot to mention that Using AutoTools is not required Root!!!!
but you need a little work from your PC.
you can find information via this link.
aillez said:
I forgot to mention that Using AutoTools is not required Root!!!!
but you need a little work from your PC.
you can find information via this link.
Click to expand...
Click to collapse
I think I'll need to find a time to get ADB properly run on my pc before I can setup your Tasker profile. Really appreciate you taking the time to help!
Related
1. Launch the app by opening Terminal and running:
am start -a android.intent.action.MAIN -n com.android.settings/.quicklaunch.QuickLaunchSettings
2. Or download and install Manual Intent Shortcuts in market which can create the shortcut as follows:
Action: android.intent.action.MAIN
Component Package: com.android.settings
Component Class FQN: com.android.settings.quicklaunch.QuickLaunchSettings (not Settin gs =>Settings )
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my DROID4 using xda app-developers app
Really neat stuff. works perfectly!
I was wondering if it is possible to completely disable quick launch in a similar way? I have a droid 4 with a physical keyboard that is running jellybean so the regular quick launch menu isn't available to disable it. I followed your directions and I am able to open quick launch with the terminal, but I can't set the preset shortcuts to nothing, I can only select another app. Any help would be greatly appreciated.
Tanzior said:
1. Launch the app by opening Terminal and running:
am start -a android.intent.action.MAIN -n com.android.settings/.quicklaunch.QuickLaunchSettings
2. Or download and install Manual Intent Shortcuts in market which can create the shortcut as follows:
Action: android.intent.action.MAIN
Component Package: com.android.settings
Component Class FQN: com.android.settings.quicklaunch.QuickLaunchSettings (not Settin gs =>Settings )
View attachment 1804512
Sent from my DROID4 using xda app-developers app
Click to expand...
Click to collapse
Foxgirl17 said:
I was wondering if it is possible to completely disable quick launch in a similar way? I have a droid 4 with a physical keyboard that is running jellybean so the regular quick launch menu isn't available to disable it. I followed your directions and I am able to open quick launch with the terminal, but I can't set the preset shortcuts to nothing, I can only select another app. Any help would be greatly appreciated.
Click to expand...
Click to collapse
can't find any way to deselect things, sorry.
wanted to add though that another way of accessing quick launch is using nova launcher, some other launchers would allow it too. long-press on home screen > short cuts > activities > expand "settings" > QuickLaunchSettings
keflexxx said:
can't find any way to deselect things, sorry.
wanted to add though that another way of accessing quick launch is using nova launcher, some other launchers would allow it too. long-press on home screen > short cuts > activities > expand "settings" > QuickLaunchSettings
Click to expand...
Click to collapse
Ok, thanks a lot. The problem I was having was that while texting with the physical keyboard it would randomly open up the phone app and start typing whatever I was typing into the contact search and subsequently calling people before I realized what was happening. I assumed this was a problem with the quick launch selecting the contacts app and causing problems for me. I really don't know how the quick launch was being activated in the first place though as the only "search" button I have that activates the quick search is located on the face of the phone and I know I am not pressing it. Do you know of any other methods of activating quick launch which a physical keyboard or if there is a glitch with a phone that was upgraded from ICS to Jellybean?
Thanks again,
Foxgirl17
Try rebooting your phone
Foxgirl17 said:
Ok, thanks a lot. The problem I was having was that while texting with the physical keyboard it would randomly open up the phone app and start typing whatever I was typing into the contact search and subsequently calling people before I realized what was happening. I assumed this was a problem with the quick launch selecting the contacts app and causing problems for me. I really don't know how the quick launch was being activated in the first place though as the only "search" button I have that activates the quick search is located on the face of the phone and I know I am not pressing it. Do you know of any other methods of activating quick launch which a physical keyboard or if there is a glitch with a phone that was upgraded from ICS to Jellybean?
Thanks again,
Foxgirl17
Click to expand...
Click to collapse
I used to have the same problem when I was running the stock ROM. Occasionally while using the physical keyboard, the phone would start jumping to random programs. The problem wasn't consistent, but was easily solved by rebooting the phone. I haven't had the issue since switching to AVATAR ROM. Must have been a bug in the stock software.
Android 5.0 Lollipop added the ability to keep your device unlocked so long as you stay connected to a trusted bluetooth device. Dubbed "Smart Lock", the feature is quite useful if you own a smart wearable that you keep on you at all times. However, Smart Lock is unavailable for devices that connect to your phone via Bluetooth Low Energy. Some manufacturers offer the ability to simulate Smart Lock through keeping their app on in the background (such as Xiaomi's Mi Band and the Mi Fit app), but others do not.
If you, for instance, own a basic Fitbit or one of the new Honor Z1 bands among others, then you'll be able to keep your phone unlocked so long as your wearable is in range of your phone by following this Tasker guide.
Prerequisites
Secure Settings plug-in
Bluetooth 4.0 LE enabled device
A Bluetooth LE Scanner app
Instructions
Ensure that Secure Settings is set as a Device Administrator by opening the app and going to the Preferences screen. This is so the plugin has the ability to enable/disable the lockscreen.
Bring your phone and your device close together. Open the BLE Scanner app you downloaded above, and press SCAN.
Write down the MAC ID of the device that shows up at the top of the list. This should be the address of the Fitbit or other wearable, in case the name doesn't properly populate.
Click + to create a new Profile and name it "Watch Near" or anything else you want.
Select the State context, then select "BT Near" under "Net."
Once you're in the BT Near setting, type in the Bluetooth Address that you wrote down earlier under "Address." Additionally, select "Low-Energy (LE) Devices" and "Unpaired Devices". Leave everything else unchecked and/or default.
Press the back key to save and exit the context setup.
Tasker will now ask you to set up a new task associated with this context. Click on "New Task" and optionally give the task a name. Before we move on, here's a picture of what the context screen should look like.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Now that you've got the context set-up, we're going to make a simple entry and exit task to correspond to when your phone connects/disconnects to your smart wearable.
Plugin --> Secure Settings. Under the Dev Admin Actions dropdown, select Password/Pin. Make sure that the box is set as "DISABLED" and that Device Admin Enabled is checked. Press the save icon up top to exit, then press the back key once you're back in Tasker.
Press back once more to exit the task creation. Now expand the Profile you just created by tapping on its name. Long-press on the Task that launches, the select "Add Exit Task."
Within this new task, you're going to do the opposite of what you did above. Plugin --> Secure Settings. Select Password/Pin under Dev Admin Actions again, but this time change the box to "ENABLED" and set up the password or pin code that you desire. Exit out all the way after you're done.
That's it! Your phone should now automatically disable the pin/password when your bluetooth device is in range, otherwise it will re-enabled it. You can expand the power of this task by adding some alerts for when your device and phone disconnects, the choice is up to you!
Does it work only with bt le?
Enviado do meu Mi 4i
mclaudio77 said:
Does it work only with bt le?
Enviado do meu Mi 4i
Click to expand...
Click to collapse
Smart Lock already works with regular bluetooth devices out of the box, so I wouldn't recommend using Tasker for that. But yes, if you put in the Bluetooth MAC ID into Tasker it will work the same way.
Does not work with my meizu pro5 and Xiaomi mi band 1s (Android 5.1.1)
Still I need to put my finger on finger scanner or putting the pin code to unlock the device
Will it break the device protection and the encryption
This is great thanks, I am using this with a cheap Bluetooth tracker keyring I got from eBay for 99p.
Edit
I need to test this a little more with the tag. The tag seems to power its self off which means it doesn't then trigger BT Near.
Where is the Secure Settings plug-in? There is an app of that name, by intangibleObject - is that what you mean?
fjuniper said:
Where is the Secure Settings plug-in? There is an app of that name, by intangibleObject - is that what you mean?
Click to expand...
Click to collapse
The Secure Settings Plugin is in an app called "Tasker".
However, having setup this instructions it seems to me that Secure Settings or TAsker never triggers a lockscreen/password protection to be active. What is your default state ? OS Version ? Do you have any initial password options enabled ?
deepsync said:
The Secure Settings Plugin is in an app called "Tasker".
Click to expand...
Click to collapse
Ah, thanks - I have Tasker, but didn't realise what the OP meant.
deepsync said:
However, having setup this instructions it seems to me that Secure Settings or TAsker never triggers a lockscreen/password protection to be active. What is your default state ? OS Version ? Do you have any initial password options enabled ?
Click to expand...
Click to collapse
I haven't had time to try it yet - I am on Marshmallow and have a BT LE step counter to test it with, when I have a chance.
Please Do. It works but somehow Timing of tasker to Check connection is not really good
This can be accomplished using the delayed lock app in conjunction with the Tasker plugin without having to use secure settings
Sent from my Nexus 5 using Tapatalk
Hi,
Kindly help me to automate this task using Tasker.
I am using Oneplus 3 with CM14.1. I have already created a task which automatically enables Wifi whenever I am near to home or office (using Cella near). That is working fine.
In my office, whenever we connect to WiFi, it is showing a notification asking to enter username and password. I have to enter the username and password every time when I disconnect and reconnect.
How can I automate this authentication process using Tasker?
These are the screenshots :-
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Regards,
Vidya Sagar
nagurvidyasagar said:
Hi,
Kindly help me to automate this task using Tasker.
I am using Oneplus 3 with CM14.1. I have already created a task which automatically enables Wifi whenever I am near to home or office (using Cella near). That is working fine.
In my office, whenever we connect to WiFi, it is showing a notification asking to enter username and password. I have to enter the username and password every time when I disconnect and reconnect.
How can I automate this authentication process using Tasker?
Regards,
Vidya Sagar
Click to expand...
Click to collapse
I guess AutoInput can do this. Save your user name and password to a file on your phone. Let Tasker pull this information and AutoInput put it in there. That is what I would try to do.
Sent from my ONEPLUS A3003 using Tapatalk
Hi,
I am using Skype for business on mobile phone. If there is no activity for few minutes, status changing to "Away - Mobile". Can someone help me to create a profile which will refresh Skype for business app every 30 seconds. If I keep it active (navigating / taping), status is "available".
Please help me with step by step procedure for creating profile and task to achieve thks.
Regards,
Vidya Sagar
download autoinput.
click.
loogielv said:
download autoinput.
click.
Click to expand...
Click to collapse
Downloaded and tried. Not able to create tasks as required. I am looking for steps by step instructions.
I can't get AutoInput to work either.
But if you are rooted you can use just tasker. Then you dont have to install an extra app.
To do so create a task and add a Run Shell.
Check the button Use Root and under command you add:
Code:
input tap x y
input text login-name
input tap x y
input text login-password
input tap x y
With x and y being the coordinates of the fields where you tap. If you need to figure out these you can turn on pointer position under developer options.
That should work.
But remember that your password will be readable by anybody with access to your phone. Maybe you should lock tasker with a pin code, although that adds just a tiny bit of security.
hahamuntz said:
I can't get AutoInput to work either.
But if you are rooted you can use just tasker. Then you dont have to install an extra app.
To do so create a task and add a Run Shell.
Check the button Use Root and under command you add:
With x and y being the coordinates of the fields where you tap. If you need to figure out these you can turn on pointer position under developer options.
That should work.
But remember that your password will be readable by anybody with access to your phone. Maybe you should lock tasker with a pin code, although that adds just a tiny bit of security.
Click to expand...
Click to collapse
Thanks for reply. I guess, it works. I would like to know how to open web login page as soon as I connect to wireless network. Usually a notification appears as soon as I connect to wifi then I have to open the web login page from notification bar. How do I automate this as well?
Maybe AutoInput can help you. When the notification arrived AutoInput tap it and open the browser for you.
Sent from my ONEPLUS A3003 using Tapatalk
nagurvidyasagar said:
Thanks for reply. I guess, it works. I would like to know how to open web login page as soon as I connect to wireless network. Usually a notification appears as soon as I connect to wifi then I have to open the web login page from notification bar. How do I automate this as well?
Click to expand...
Click to collapse
Sorry kinda thought there would appear a popup window.
If you click on the notification and it opens in the browser, is there a link you could enter manually?
If so you could add another action to open the link. Use Net-> Browse URL to open the link and then do as I said before.
If there is no link you could add Display->Status Bar and select expanded. This will open your notification drawer and with another input tap you could select the notification. But that is getting kinda complicated , if the notification isn't always in the same place...
Kinda hard to figure out a good way, without being able to test it so maybe you have to tweak it a little.
R4V3N-2010 said:
Maybe AutoInput can help you. When the notification arrived AutoInput tap it and open the browser for you.
Click to expand...
Click to collapse
Will it perform the same action as a shell command or will it just open the link, without the need to emulate the swipe and click?
I am not sure how she'll comands works. I never used it. AutoInput will simulate the klick. Swiping are only available at Android 7 when I remember right. But the Klick on the notification opens the browser right? If so then you can have the login information stored in a file and copy and past it with AutoInput in. Then Klick login with AutoInput and you are done.
Sent from my ONEPLUS A3003 using Tapatalk
R4V3N-2010 said:
I am not sure how she'll comands works. I never used it. AutoInput will simulate the klick. Swiping are only available at Android 7 when I remember right. But the Klick on the notification opens the browser right? If so then you can have the login information stored in a file and copy and past it with AutoInput in. Then Klick login with AutoInput and you are done.
Sent from my ONEPLUS A3003 using Tapatalk
Click to expand...
Click to collapse
The shell just pretends that the user tapped at the given coordinates, so the display has to be on and you can watch your device doing things. So I would guess AutoInput does the same, but without the need for root...
hahamuntz said:
The shell just pretends that the user tapped at the given coordinates, so the display has to be on and you can watch your device doing things. So I would guess AutoInput does the same, but without the need for root...
Click to expand...
Click to collapse
Yes exactly.
Sent from my ONEPLUS A3003 using Tapatalk
can this be done with HTTP GET or POST?
I got my P2 some days ago and after initial setup I looked at me statusbar and found it to be cluttered with a lot of icons I don't need. For example I had icons for portrait, bluetooth and worst of all the enormous NFC-icon. So I tried to find an option to disable them and found how to do this using ADB. My Lenovo is on the last Nougat-update.
You need to have ADB working on your PC and have ADB debugging enabled in developer settings on your phone.
Plug your phone into your computer and open command prompt in your ADB folder. Type:
Code:
Code:
adb shell settings put secure icon_blacklist [comma separated codes here]
For example, I disabled the icons for portrait (rotate), traffic meter (speed), Bluetooth (bluetooth), NFC (nfc), alarm(alarm_clock) and vibrate icon (volume).
Code for this example:
Code:
adb shell settings put secure icon_blacklist nfc,bluetooth,speed,rotate,volume,alarm
After you put in the code, hit enter and wait until you see the path for ADB in your prompt screen. Turn on the screen of your P2 and voila! Enjoy your clean statusbar!
Note: Hiding an icon will cause the other icons to re-appear, so you will need to make the command to hide all your iccons with one command. Separate names of the icons with a comma "," and without spaces between them).
You can turn them off manually as well... In settings... Well obviously, they'll be on the status bar when they're on. But then what's the point in not knowing whether they're on or off? Since this method will hide them either way.
Note: just my opinion. This might be useful for someone else. No hard feelings, as always, Good job finding.:good:
Siva Mk said:
You can turn them off manually as well... In settings... Well obviously, they'll be on the status bar when they're on. But then what's the point in not knowing whether they're on or off? Since this method will hide them either way.
Note: just my opinion. This might be useful for someone else. No hard feelings, as always, Good job finding.:good:
Click to expand...
Click to collapse
I understand your opinion but I have a lot of these things enabled by default (bluetooth for wearable, nfc for mobile payments, Alarms) so my statusbar would be cluttered with icons while I'm well aware they're turned on.
Hello,
I have simplest solution to these just download ShortCuter application.
Enable system ui tuner from menu and (((booom)))
you can now hide unwanted icons from status bar.
Where do I enable the system tuner?
Sent from my bacon
OmarBFC73 said:
Where do I enable the system tuner?
Sent from my bacon
Click to expand...
Click to collapse
ShailM said:
Hello,
I have simplest solution to these just download ShortCuter application.
Enable system ui tuner from menu and (((booom)))
you can now hide unwanted icons from status bar.
Click to expand...
Click to collapse
On the P2 you can't simply enable system tuner like you can in other devices (pulling down notification drawer and holding the settings-icon for 4-5 seconds). You can however acces the system tuner by creating a shortcut using an alternative launcher (I used Nova). You can chose to make a shortcut to an activity and choose demo-mode under system.
However, from system tuner you can't toggle all icons, for example NFC....
]Without root .. use activity luncher .. look for system UI settings .. demo activity ..run it and disable whatever u don't like in the status bar
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
jdjta said:
On the P2 you can't simply enable system tuner like you can in other devices (pulling down notification drawer and holding the settings-icon for 4-5 seconds). You can however acces the system tuner by creating a shortcut using an alternative launcher (I used Nova). You can chose to make a shortcut to an activity and choose demo-mode under system.
However, from system tuner you can't toggle all icons, for example NFC....
Click to expand...
Click to collapse
I am using that's why I have posted the simplest method.
Really its working for me. Rest its your choice.
well, you cannot disable rotate icon from the settings so adb command helped me get rid of it.
thanks a bunch
Hey community,
I recently bought the OP6 and discovered the reading mode. Unfortunately it was not possible for me to time trigger the reading mode like the night mode. (Just by opening predefined apps).
So I made some research and found the TASKER App with which U thought I could handle this issue. Unfortunately I couldn't make a task run. The reading mode was not detected by TASKER and so I instead the plug-in AUTO-TOOLS. I tried to make a secure setting to automatically identify the reading mode in TASKER.
This didn't work. Now I need your support to find a solution, how to make a time trigger for enabling and disabling the reading mode on the OnePlus 6.
Thanks for your help in advance.
poweRalph
I don't have a OP device so I'm not positive, but I think the setting is managed through the system settings. You would have to find the correct setting but I think it's something like "reading_mode_status".
Look through Not Enough Tech's [URL="http://35.188.28.166/tasker/tasker-run-shell-commands/" ]Best run shell commands in Tasker[/URL] post. You'll be looking through system settings.
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
poweRalph said:
Hey community,
I recently bought the OP6 and discovered the reading mode. Unfortunately it was not possible for me to time trigger the reading mode like the night mode. (Just by opening predefined apps).
So I made some research and found the TASKER App with which U thought I could handle this issue. Unfortunately I couldn't make a task run. The reading mode was not detected by TASKER and so I instead the plug-in AUTO-TOOLS. I tried to make a secure setting to automatically identify the reading mode in TASKER.
This didn't work. Now I need your support to find a solution, how to make a time trigger for enabling and disabling the reading mode on the OnePlus 6.
Thanks for your help in advance.
poweRalph
Click to expand...
Click to collapse
You can use Custom setting to find which option to toggle.
And I attach screenshot for you (I've tested in Oneplus 5T)
secure
night_display_activated
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my Oneplus 5T
Reading Mode - not Night Mode
aillez said:
You can use Custom setting to find which option to toggle.
And I attach screenshot for you (I've tested in Oneplus 5T)
secure
night_display_activated
View attachment 4556219
Sent from my Oneplus 5T
Click to expand...
Click to collapse
Thanks for the quick response,
unfortunately your variable is for the night mode and not for the reading mode. Tasker wasn't able to identify the right variable for the reading mode itself.
Hopefully we can find out the right variable for the reading mode.
Thanks for your efforts by now.
poweRalph
poweRalph said:
Thanks for the quick response,
unfortunately your variable is for the night mode and not for the reading mode. Tasker wasn't able to identify the right variable for the reading mode itself.
Hopefully we can find out the right variable for the reading mode.
Thanks for your efforts by now.
poweRalph
Click to expand...
Click to collapse
Oops sorry then I picked up the wrong setting.
Here what it works for sure.
system
reading_mode_status_manual
either 0 (off) or 1 (on)
hopes this work in your device.
I'm not sure you can see my attachment or not. So, I re-upload here again.
Sent from my Oneplus 5T
Error message occurs when testing this task
aillez said:
You can use Custom setting to find which option to toggle.
And I attach screenshot for you (I've tested in Oneplus 5T)
secure
night_display_activated
View attachment 4556219
Sent from my Oneplus 5T
Click to expand...
Click to collapse
aillez said:
I'm not sure you can see my attachment or not. So, I re-upload here again.View attachment 4556869
Sent from my Oneplus 5T
Click to expand...
Click to collapse
Hi,
I tried it out immediately, but my OP6 phone shows an error message and doesn't toggle the reading mode.
Here is what it shows:
"05.35.27/MyPM getReceiverInfo: android.content.pm.PackageManager$NameNotFoundException: ComponentInfo{com.joaomgcd.autotools/com.joaomgcd.autotools.broadcastreceiver.IntentServiceFire}
05.35.27/ android.app.ApplicationPackageManager.getReceiverInfo(ApplicationPackageManager.java:463)
05.35.27/ net.dinglisch.android.taskerm.du.a(Unknown Source:1)
05.35.27/ net.dinglisch.android.taskerm.du.f(Unknown Source:0)
05.35.27/ net.dinglisch.android.taskerm.el.a(Unknown Source:336)
05.35.27/ net.dinglisch.android.taskerm.ExecuteService.a(Unknown Source:57)
05.35.27/ net.dinglisch.android.taskerm.ExecuteService.a(Unknown Source:296)
05.35.27/E FIRE PLUGIN: AutoTools Secure Settings / com.twofortyfouram.locale.intent.action.FIRE_SETTING: 6 bundle keys
05.35.27/E AutoTools Secure Settings: plugin comp: com.joaomgcd.autotools/com.joaomgcd.autotools.broadcastreceiver.IntentServiceFire
05.35.27/E add wait type Plugin1 time 60
05.35.27/E add wait type Plugin1 done
05.35.27/E handlePluginFinish: taskExeID: 1 result 3
05.35.27/E pending result code
05.35.27/E add wait task
05.35.27/E Fehler: 1185377229
05.35.27/E Can't change setting on this device: You cannot keep your settings in the secure settings."
Perhaps you know what went wrong here.
I appreciate your help.
poweRalph
poweRalph said:
Hi,
I tried it out immediately, but my OP6 phone shows an error message and doesn't toggle the reading mode.
Here is what it shows:
"05.35.27/MyPM getReceiverInfo: android.content.pm.PackageManager$NameNotFoundException: ComponentInfo{com.joaomgcd.autotools/com.joaomgcd.autotools.broadcastreceiver.IntentServiceFire}
05.35.27/ android.app.ApplicationPackageManager.getReceiverInfo(ApplicationPackageManager.java:463)
05.35.27/ net.dinglisch.android.taskerm.du.a(Unknown Source:1)
05.35.27/ net.dinglisch.android.taskerm.du.f(Unknown Source:0)
05.35.27/ net.dinglisch.android.taskerm.el.a(Unknown Source:336)
05.35.27/ net.dinglisch.android.taskerm.ExecuteService.a(Unknown Source:57)
05.35.27/ net.dinglisch.android.taskerm.ExecuteService.a(Unknown Source:296)
05.35.27/E FIRE PLUGIN: AutoTools Secure Settings / com.twofortyfouram.locale.intent.action.FIRE_SETTING: 6 bundle keys
05.35.27/E AutoTools Secure Settings: plugin comp: com.joaomgcd.autotools/com.joaomgcd.autotools.broadcastreceiver.IntentServiceFire
05.35.27/E add wait type Plugin1 time 60
05.35.27/E add wait type Plugin1 done
05.35.27/E handlePluginFinish: taskExeID: 1 result 3
05.35.27/E pending result code
05.35.27/E add wait task
05.35.27/E Fehler: 1185377229
05.35.27/E Can't change setting on this device: You cannot keep your settings in the secure settings."
Perhaps you know what went wrong here.
I appreciate your help.
poweRalph
Click to expand...
Click to collapse
can you just use Tasker custom setting to try out (not via Autotools)?
Sent from my Oneplus 5T
Error message
aillez said:
can you just use Tasker custom setting to try out (not via Autotools)?
Sent from my Oneplus 5T
Click to expand...
Click to collapse
Hi,
Good hint, but unfortunately a new error message occurs.
Please find it below:
"06.14.05/E Custom Setting: ->
06.14.05/E Custom Setting: Can't change this system setting. Check notification.
06.14.05/E result: stop task (error)
06.14.05/E Fehler: 1
06.14.05/MacroEdit action finished exeID 1 action no 0 code 235 status: Err next 0"
No notification pops upby the way.
But I also didn't found a possibility to put in the value 1 or 0. Just entered =:=toggle=:= into the value field
poweRalph said:
Hi,
Good hint, but unfortunately a new error message occurs.
Please find it below:
"06.14.05/E Custom Setting: ->
06.14.05/E Custom Setting: Can't change this system setting. Check notification.
06.14.05/E result: stop task (error)
06.14.05/E Fehler: 1
06.14.05/MacroEdit action finished exeID 1 action no 0 code 235 status: Err next 0"
No notification pops upby the way.
But I also didn't found a possibility to put in the value 1 or 0. Just entered =:=toggle=:= into the value field
Click to expand...
Click to collapse
Did you give all permission Tasker required? looks like it can't change system setting because of that.
aillez said:
Did you give all permission Tasker required? looks like it can't change system setting because of that.
Click to expand...
Click to collapse
Yes I did. Couldn't find a way to change it afterwards. But I remember that I have all the permissions and as well had some USB debugging/ADB-permissions I gave to TASKER right after installing.
All the best,
poweRalph
poweRalph said:
Yes I did. Couldn't find a way to change it afterwards. But I remember that I have all the permissions and as well had some USB debugging/ADB-permissions I gave to TASKER right after installing.
All the best,
poweRalph
Click to expand...
Click to collapse
Then maybe you need to contact Tasker developer and submit the log to him.. see if he can solve it or not.
solution?
setting `reading_mode_status` to 1 AND `reading_mode_status_manual` to 1 (in either order) seems to work for me (as the task).
I wanted to be in reading mode always (since I'm trying to use my phone less and seeing the screen in B&W helps with that apparently)
If there someone who wants to do that too, I set 3 profiles:
1. Display unlocked
2. Display on
3. Device boot
all with the same task as above.