Question Ignore Do Not Disturb - Xiaomi 12 Pro

Is there a way to set a specific app to ignore DND?

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?

[Q] how to call activity or show alert dialog in the beforeHookedMethod, urgent!!!

[Q] how to call activity or show alert dialog in the beforeHookedMethod, urgent!!!
thanks!
Your question seems too general to me. But for calling activity or showing alert dialog, all you need is a valid Context.
C3C076 said:
Your question seems too general to me. But for calling activity or showing alert dialog, all you need is a valid Context.
Click to expand...
Click to collapse
thanks for your reply, but how can i get a valid Context?
my request like this,
MainActivity( activity i want to start)
XposedMyClass(my Xopose)
in the XposedMyClass i hook loadpackage and find a special package was loaded ,then in the beforeHookedMethod, i want to start the MainAcitivity, how to implement it, thanks!
Context ctx = AndroidAppHelper.currentApplication();

I need a guide to create an advanced profile with tasker

I need to disable notification sound only from selected app (For example what's app) when Bluetooth headset is connected. Is it possible with tasker? If yes please tell me how.......
Thanks in advance
my personal thoughts, this is so complicating and might not worth it... unless you have a real good reason for doing it, I would not recommend trying to implement this.
in case you still want this, you can try:
- install autoinput or something similar to mimic your actions in turning off sounds in those apps
- link those actions to a Tasker profile with Bluetooth conditions
I imagine you would need to have screen turned on for the actions to be carried out
This should not be very difficult.
You should set a profile to create a variable When bluetooth is connected.
Then a profile when the app is running, the task within would be: set a variable to memorize current media volume, then "if bluetooth connected, set media volume to zero".
Exit task would be: set volume media to original media volume.

Automatic Do Not Disturb

With my Pixel 3 I could set it to automatically go into Do Not Disturb during a calendar event (such as a meeting). I can't find this setting on the S10. Is it there, or is there an app that will do it automatically?
TahoeTexan said:
With my Pixel 3 I could set it to automatically go into Do Not Disturb during a calendar event (such as a meeting). I can't find this setting on the S10. Is it there, or is there an app that will do it automatically?
Click to expand...
Click to collapse
You can set this up in Tasker. It's a bit of a learning curve to create each scenario you want, but it can work very well.
I currently have it changing my sound mode to Vibrate and media volume to 1 when I connect to my work's WiFi. And then it will change the sound mode to Normal and media volume Max when I connect to my car's bluetooth.
I'm using Bixby Routines to set separate Do Not Disturb rules - one for weekends and one for weekdays. Surprised Samsung didn't include this ability in the Do Not Disturb settings like the Pixels have.

Block calendar notifications while driving

Hi,
might seem a silly question but it's very annoying while driving that I receive Samsung calendar notifications. While they appear full screen, Waze and music sounds are silenced.
I have to manually dismiss them before all sounds are 'restored'.
I just want to drive without interruptions of the calendar app, anyone know how this can be done? I'm also using Android Auto but don't see any setting that can accomplish this.
thank you
I'm using Tasker and AutoNotifcation for this. I block some notifications and enable the AOD while connected to my cars Bluetooth.
- install both apps
- in Tasker add a task and search for "AutoNotification Block".
- Tap the pen of Configuration and select the apps you want to block the notification for. You can also add the package name manually
- Under "Toggle" set it to "Block"
- go back and set the timeout to none (slide the slider to the most right)
- go back to the task
- go back to the task list
- add a new task, do the same as above but instead of "Block" set the Toggle to "Unblock".
Now you have the needed tasks and you can set the profiles for them.
- In Tasker go to the profile tap and add a new profile, name it whatever you want.
- Tap on "Status" and filter for "Bluetooth connected" (Note: Bluetooth must be enabled while creating the profiles!).
- Name is optional, tap on the magnifying glass for "Address" and select your cars Bluetooth address.
- go back and Tasker will popup a window where you need to assign a task. Assign the "block" task.
- now do the same again but Mark the "Reverse" check mark in the Bluetooth address menu and after this select the "unblock" task.
So, Tasker will tell AutoNotification to block the specific notifications while connected to the Bluetooth device and unblock it if disconnected.
I hope it works for you. I don't know the English menu entries for Tasker since my app is in German, sorry if there's something different.
thanks, great tip : I already bought Tasker a while ago, I'll set it up like that

Categories

Resources