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/
Related
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?
Here's one of those "how do I do this with Tasker?" questions...
I've got my SMS app set to show a preview of an incoming text. That's fine normally, but at night I use "Night Clock" on my phone as my alarm clock, and if I get a text it pops up a preview, which both blocks the time shown and creates a brighter screen that is annoying. I've already got a "night time" Tasker profile that handles volumes and notifications, so there's no audible effect, but I'd like to not get the preview during that same time. Anyone have any idea how to disable the text message preview when this profile is active? The message app is Verizon's message+, btw.
Thanks.
- Jeff
Does Do Not Disturb block visual notifications?
the_scotsman said:
Does Do Not Disturb block visual notifications?
Click to expand...
Click to collapse
I would say that belongs to app feature. Maybe you can try to have Tasker auto dismiss it, but it will still show up first.
alienyd said:
I would say that belongs to app feature. Maybe you can try to have Tasker auto dismiss it, but it will still show up first.
Click to expand...
Click to collapse
DnD does not block the notification. And auto-dismissing it would be fine. Now I need to figure out how to do that. Thanks!
- Jeff
jallison said:
DnD does not block the notification. And auto-dismissing it would be fine. Now I need to figure out how to do that. Thanks!
- Jeff
Click to expand...
Click to collapse
yeah from what I understand DnD would just disable sounds and lights, what an app tries to show is something else. Maybe you can can have Tasker detects the popup and tap to dismiss it. You can also try the AutoInput plugin.
Ahhhh, auto dismissing notifications is easy!
Use AutoNotification - it's a fantastic app that's part of a set of tools.
https://joaoapps.com/autonotification/
You can do SO much with them. With tis app, all you'll do is monitor for new non-persistent notifications, then dismiss them.
One thing I use it for is when I unlock my phone, and I have a new SMS, Whatsapp, or email, the notification shade slides down so that I have easy access to them.
I did try out AutoNotification and it worked for me. I intercept the new message notification then, if do not disturb is on (nighttime setting), I send the back button, which dismisses the pop-up. Cool.
Thanks!
- Jeff
Is this possible to do through Tasker? If so, how do you code it?
I want my cameras to record but I don't want to get notifications except for after sunset and just after sunrise everyday. So like 6pm to 8am.
Otherwise I want it to record but not notify me.
I posted this on reddit/r/tasker but no one has responded yet.
The time profile is easy. The trigger context is the window of time you want to block notifications.
The task would do the heavy lifting of actually blocking the unwanted notification. You probably could handle that using Notifications Off (Root), assuming of course that you're rooted. Else, AutoNotification can do that for you. Both are tasker integrated.
Get Started With AutoNotification
Use Tasker and AutoNotification to block notifications from certain apps (AutoApps forum)
ktmom said:
The time profile is easy. The trigger context is the window of time you want to block notifications.
The task would do the heavy lifting of actually blocking the unwanted notification. You probably could handle that using Notifications Off (Root), assuming of course that you're rooted. Else, AutoNotification can do that for you. Both are tasker integrated.
Get Started With AutoNotification
Use Tasker and AutoNotification to block notifications from certain apps (AutoApps forum)
Click to expand...
Click to collapse
Unfortunately neither of those are working. I have a pixel that is rooted and an s8+ that is not. So I tried both and I'm still getting notifications. Any ideas?
DudeThatsErin said:
Unfortunately neither of those are working. I have a pixel that is rooted and an s8+ that is not. So I tried both and I'm still getting notifications. Any ideas?
Click to expand...
Click to collapse
I didn't specifically state, but should have, that when using the AutoNotification method, an additional profile trigger needs to be an AutoNotification intercept event.
You could post a export (description) of the profile you've built.
ktmom said:
I didn't specifically state, but should have, that when using the AutoNotification method, an additional profile trigger needs to be an AutoNotification intercept event.
You could post a export (description) of the profile you've built.
Click to expand...
Click to collapse
Stuff (4)
A1: AutoNotification Block [ Configuration:Apps: com.netgear.android
Toggle: Enable Timeout (Seconds):60 ]
I pressed on export and that's what it gave me.
I also took screenshots. Here you go: https://imgur.com/gallery/bAhRY
Lmk if there is anything else you need.
Your profile is currently triggered by the arlo app. So anytime that app opens, your "stuff" task runs. Not what you were shooting for ?
On the left side of that screen, on top of the part that shows an icon and "arlo", do a long press. That will allow you to add a context.
Choose: state -> plugin -> AutoNotification -> Intercept.
Then leave "Event Behaviour" checked.
Tap on "Action type" and select created.
Tapp on "Apps" and check the box next to the Arlo app.
At the top of the screen tap the check mark to accept the configuration. Then on the next screen, the left arrow at the top left to lock in the context.
You will now have two contexts for that one profile.
Long press the original one for the arlo app and select delete.
Again, long press on the context that is remaining (AutoNotification Intercept) and tap add.
Now tap "time" and configure for the window you want this profile to be active.
I created Turbo Notify under [ Tasks ]
I created an action named Notify for Turbo Notify
Notify:
Title: Turbo Modes
Text: Toggle CPU Speeds
Under Actions: I added - Plugin / Kernel Aduitor then Configured it to toggle a cpu profile called Maximum.
I added 2 more. basically 3 toggles for Kernel Aduitors profiles.
So then I setup a Profile to work off of Device Boot then pointed it to Turbo Notify
So my question is this. Turbo Modes always comes up when the device boots. But the buttons below it do not always come up. Sometimes they may even go away during device use.
I am new to tasker and am a nub. Just wondering if I am missing something obvious. When I go into tasker then go into Tasks / Turbo Notify There is the action Notify and tap on the Play icon at the bottom left, the buttons show up on the notification. ( lil green light/icon shows up)
Sorry if it is a nub question. But how can I make it active all the time, and start on boot? The notification is always there, just not the buttons.
- Thnx in advance
I created a task to mimic what your doing. The buttons disappeared on me when unlocking the screen after my battery got (very) low. I've not had a lot of time to play with this, but I did notice when the buttons were missing, the notification did not look like it was expanded. They came back after a few notification drawer open/close cycles.
Still, I don't think you're doing anything wrong. Some thoughts;
Do you have icons assigned to the notification and each button? If not, try adding them.
Is "run in foreground" checked in the preferences -> monitor settings?
Yes I have icons assigned. Built-In ones. And yes to "run in foreground"
I have the priorities set to max, I don't know if that makes a difference.
Like I said I am new to tasker, I'm wondering if i overlooked something simple. Dunno.
IMPORTANT: You need these for this to work:
Tasker
AutoNotification
AutoTools
You know how some apps allow you to create floating bubbles (chat heads) when you receive a chat from one of your contacts?
Would you like to have that available for all chat apps?
Check it out!
Import the project from here, enable the profiles and you'll start seeing the bubbles right away! :laugh:
Just imported the project and it's working flawlessly. The default replying from the notification drawer requires a couple of tapping and swiping, but this works in a very easy way and over any app. Thanks!!
niyonsv said:
Just imported the project and it's working flawlessly. The default replying from the notification drawer requires a couple of tapping and swiping, but this works in a very easy way and over any app. Thanks!!
Click to expand...
Click to collapse
May i know the steps you get it done? I have import the project but notification panel showed No profile active.
DanialMus said:
May i know the steps you get it done? I have import the project but notification panel showed No profile active.
Click to expand...
Click to collapse
Yes, the notification panel doesn't show any activities with this project. First I installed the Auto Notification app, gave all permissions. After a few minutes it started giving me the popup messages from WhatsApp and SMS organizer.
niyonsv said:
Yes, the notification panel doesn't show any activities with this project. First I installed the Auto Notification app, gave all permissions. After a few minutes it started giving me the popup messages from WhatsApp and SMS organizer.
Click to expand...
Click to collapse
Thanks, yes , after some time its working now.
How would one expand this to show MMS?
How can I get rid of the vibration when I click on the bubble?
I cant seem to get this working. All the permissions are given and Apps are installed (even Auto Tools since this was needed). Does Autotools need to be the Pro Version for this to work?
Love this project, thanks.
One question: i would like to turn of the toast notifications on the bottom of the screen. Any tips?
Retoki said:
Love this project, thanks.
One question: i would like to turn of the toast notifications on the bottom of the screen. Any tips?
Click to expand...
Click to collapse
Go to Auto Tools, Logs and Alerts, uncheck all boxes under Web Screens.
This looks great. But it doesn't work at all for me. Had it installed for 3 days now and I never have gotten a bubble to show up. I've granted all necessary permissions too.
Didn't work for me either. Imported project and no go. Mine already showed it had the bubble option in messages notifications. Was hoping this would work. Pixel 3 xl android 10 with root. No go.
For those who couldn't get it to work, did you create a task in Tasker adding the plugins?
Is there a way to customize the Avatar in the floating icon? Like in the video shown? Mine just had the generic emoji guy.
I really wanted this to work as well, but it has been a no go on my Pixel 2 XL. Would have do to with being on Pie?
@rafe83 @S8rooted&tooted
I just imported it and it works fine on a pixel 3XL, Pie.
From the description notes when you import the project;
IMPORTANT: Make sure to enable the AutoNotification Notification Listener to make this work. Open Tasker > Menu > More > Android Settings > Notification Listener > Enable AutoNotification.
Click to expand...
Click to collapse
That is the only configuration that is require.
As long as AutoNotification can intercept notifications that have a "reply" action, the chat head should appear. If not, look in your Tasker run log.
@Kwandds
The profile, "Intercept Notifications With Reply Action" contains a default icon for when the notification intercept does not contain an icon that can be used. It's set in A4
A4: Variable Set [
Name:%anicon
To:https://previews.123rf.com/images/metelsky/metelsky1809/metelsky180900233/109815470-man-avatar-profile-male-face-icon-vector-illustration-.jpg
Recurse Variables: Off
Do Maths: Off
Append: Off
Max Rounding Digits: 3
If [ %anicon !Set ]
So should the icon change depending on who is sending the message? Because on mine it's always the same default icon.
Thanks
Kwandds said:
So should the icon change depending on who is sending the message? Because on mine it's always the same default icon.
Thanks
Click to expand...
Click to collapse
The notification intercept is looking for an icon in the notification that triggers the profile. If %anicon is not set, you get the default.
ktmom said:
The notification intercept is looking for an icon in the notification that triggers the profile. If %anicon is not set, you get the default.
Click to expand...
Click to collapse
Sorry for the amateur questions, but hope do you set the %anicon?
Kwandds said:
Sorry for the amateur questions, but hope do you set the %anicon?
Click to expand...
Click to collapse
The AutoNotification event that triggers the profiles scrapes the notification for various information, including an icon. The variable "%anicon" ("an" represents AutoNotification) would contain the path to the icon in the notification if it exists.
Thanks to everyone on here. So I tried again and got it working. Only thing I did was go threw and select in the profile which apps to use. Question, anyone know how to change the color of background and size of pop up that displays. I wanna go a little rounder than the square text input that pops up. And thank you guys for posting different things to try. Finally just kept screwing around and found in each switch in the profile has to be set to package if it can be.