Auto expand notifications - Tasker Tips & Tricks

Hi.
Is there any way to auto expand all notifications using Tasker? Root is now very complicated on Samsung devices so looking for a non root method.
Thanks.

Related

Possible to use Tasker with Active Display?

I posted this in the Themes and Apps subforum a week ago and got no responses. I was wondering if anyone proficient at Tasker knows how to modify Active Display/Notifications.
For instance, is it possible to use Tasker to dictate what notifications will show up on Active Display depending on the time of day? So, when I'm at work, I'd like to disable (i.e., uncheck) all corporate email notifications (but only as they appear in Active Display) since I get those notifications on my PC anyway. If not, maybe I need to just disable corporate email notifications globally during that period of time, which would be a less desirable solution.
I could be wrong, but I think Tasker can only do something like that if the app is setup as a plugin to work with Tasker.
There very well may be an easier/better way to do it, but if you're rooted you can run shell commands to simulate touch input on the device. You could have a task to open the Active Notifications settings, and simulate the input of tapping the checkboxes you wanted to enable/disable, and run different tasks to set/remove them based on time/location/etc.
Like I said, there may be an easier way that I am not aware of, but that comes to mind.
eyc said:
I posted this in the Themes and Apps subforum a week ago and got not responses. I was wondering if anyone that is proficient with Tasker knows how to modify modify Active Display/Notifications.
For instance, is it possible to use Tasker to dictate what notifications will show up on Active Display depending on the time of day? So, when I'm at work, I'd like to disable (i.e., uncheck) all corporate email notifications (but only on Active Display) since I get those notifications on my PC anyway. If not, maybe I need to just disable corporate email notifications globally during that period of time, which would be a less desirable solution.
Click to expand...
Click to collapse
thats actually a genius idea...unsure if we can change the active notification setting, but maybe use tasker to clear the notification from the status bar then maybe bring it back (or a tasker notification with smiliar messaging) about the skipped notification on unlock.
StephenMilone said:
thats actually a genius idea...unsure if we can change the active notification setting, but maybe use tasker to clear the notification from the status bar then maybe bring it back (or a tasker notification with smiliar messaging) about the skipped notification on unlock.
Click to expand...
Click to collapse
Well it could definitely toggle the setting. I've used it to run some actions within apps before (apps that I wanted to "manually" sync on a specific schedule. You define the shell commands as:
Code:
input tap X Y
or
input swipe X1 Y1 X2 Y2
So you'd launch "settings", find the coordinates of the Active Display button, set it to tap there, find and set the coords for "manage notification types", and the associated apps. This could be tough if you add/remove apps a lot, because the coordinates would change if a new app falls in the list ahead of one you have setup to use this method, but it would work.
You could also fire a notification from Tasker when the task is executed to tell you that the selected apps are behind hidden.
This is exactly what I wanted. How and where can I input this shell command? And how can I find the coordinates?

Lollipop toast notifications

Hi. I'm in lollipop right now and I can't access an app (for example Hangout) from the notification while in another app. I can only dismiss it...its very uncomfortable ...am I missing something?
Thx

Is there any way to customize the heads up notification notifications?

I'm looking for a way to customize the heads up notifications so that only specific notifications will be displayed as "heads up".
For example, in my old nexus 5 I had it set up so that in Whatsapp only private messages will be heads up, not group ones.
Is there a way to do the same in the note 5? (I'm rooted and with xposed installed)

Ways to change notifications intervals?

Hi, I am finding ways to change notification intervals for WhatsApp or LINE notifications because it is so annoying when its notifications comes repeatedly.
I know there is Xposed plugin, but Tasker itself seems to have lots of ways to control system and notifications variables, so there can be a way.
Is there anyone has an idea to make this come true? Thank you.

Expand all notifications- any way with Tasker?

Ive posted this before but did not get a solution. As Samsung is getting more difficult to root- is there any way to have all notifications expanded thru Tasker? I mean when I open them on the lock screen or notifications shade. Putting even the highest priority does not work with twitter for now.
Try using AutoInput
To expand all, you would need a low level hook in the android software. Android is configured to display "big text" (expanded notifications) only for the top notification. All others are collapsed.
This is why it takes an xposed module.
So no way without root?
I can't think of how it could be done without root, and xposed. You're trying to overcome basic android coding.
ktmom said:
I can't think of how it could be done without root, and xposed. You're trying to overcome basic android coding.
Click to expand...
Click to collapse
Apps like power shade are able to do it on a non rooted device. Figured there may be some way. Thanks anyway.
I don't think power shade is expanding all notifications. I think that app is capturing every notification and recreating it, basically taking the notification big text and recreating that data into a new notification.
This could be done using AutoNotification.
ktmom said:
I don't think power shade is expanding all notifications. I think that app is capturing every notification and recreating it, basically taking the notification big text and recreating that data into a new notification.
This could be done using AutoNotification.
Click to expand...
Click to collapse
Thanks for your help. Can you guide me a bit as to how it could be done? I have Tasker and auto notification and been fiddling with it but can't seem to get anywhere.
What you want to do is an extremely complex project. You are going to become the resident expert on AutoNotification.
I would stay with a single app's notifications and work to achieve what you want with it. When you are at a point that your happy with the results, I would turn off that profile and create a new one for a different app. What you will find is the complexity of the various app developers notification configurations. One will have action buttons (e.g. mark read, delete, move) another will not. The final project will need logic to configure the notifications you create.
To start, this profile triggers in every notification and presents a pop-up with some of the available AutoNotification variables.
Code:
Profile: Capture Notifications
Restore: no
Event: AutoNotification Intercept [
Configuration:Event Behaviour: true
Notification
Type: Only Created Notifications
Get All Fields: true ]
Enter: Anon
A1: Popup [
Title: AN Variables
Text: anid: %anid
ancategoryid: %ancategoryid
ancategoryname: %ancategoryname
ancolor: %ancolor
antitlebig: %antitlebig
antextbig: %antextbig
anbigicon: %anbigicon
antextsbig: %antextsbig()
animagesbig: %animagesbig()
antouchaction: %antouchaction
anpriority: %anpriority
anextrainfo: %anextrainfo
Background Image:
Layout:Popup
Timeout (Seconds):321
Show Over Keyguard: On ]
This can be downloaded here
If I were trying to take this on, I would read, and work through as many tutorials with AutoNotification as possible. I would want to develop an expertise before attempting to start a project this big.
As a starting place:
https://joaoapps.com/autonotification/
https://joaoapps.com/fully-costumize-buttons-in-gmail-notifications-with-autonotification/
https://www.pocketables.com/2018/10/tasker-perfect-autonotifications.html
https://www.pocketables.com/2017/12/near-perfect-autonotifications.html
https://www.pocketables.com/2013/07...r-canceling-persistent-autonotifications.html
Edit:
Link that I forgot to add, which is a helper to visualize the AutoNotification variables
https://forum.joaoapps.com/index.ph...ll-autonotification-variables-and-values.278/

Categories

Resources