How do I mute notification sounds from a specific app using ADB? - android

Trying to stop "Kijiji" from making noise every time I get a reply but the app has no way to disable the notification sound.
Any way to disable the notification sounds via ADB? I know you can disable vibration for specific apps so I think you can disable notification sounds also.

Related

Push Notification sound not working in xiaomi

Notification sounds are getting suppressed due to Xiaomi sound settings. If Allow sound is toggled off notification sound will not be played. I want to show a popup to the user if this setting is disabled, but I am not able to fetch this setting using Notification manager or Android Manager. How can I fetch this os specific setting so that I can nudge the user?

Mute a specific notification

I am using a Notification Listener Service to receive any posted notification.
For some reason I would like to mute a notification that comes with a specific text. For example, if a Whatsapp notification is posted from a specific contact I may decide to mute that notification or to let it play as normal.
Is there any way to mute it?
I receive many emails from Office and all of them are important and I have to wake up in the night. But sometimes one is not important (the subject in the email is "not urgent") and I don't need to wake up in that case.
I know I can dismiss a notification but I want to let it display. I just want to mute the sound. Any ideas?
I Don't think you can "mute" notification from other apps. Every App works in it's own sandbox so you can't react with an "multi-maintenance-tool" to the apps.
A better Idea is to use an extended e-mail client (like K-9 Email) and check, if there are features like yours in there. Or check other e-mail clients.

Sony Smartwatch 2 manage vibration on receiving notification

I'm using sony addon sdk to develop an notification app on smart watch 2.
I've managed to get everything work (watch vibrates when my phone gets notification),
but I havn't got a way to modify the vibration length.
Is there any way to manage vibration on receiving notification? as in shorter vibration, longer vibration, etc..
The default vibration seem a bit too long, so I want to modify it's length.
Any help would be appreciated.
Short answer: There is no possibility to configure the vibration of the standard notification, using Notification API.
You can only create custom vibration pattern, in your SmartWatch2 extension using Control API. That is available only after user starts Extension, not for the Notification purpose. To start vibration pattern for your running extension, you can use: ControlExtension.startVibrator(int onDuration, int offDuration, int repeats)

How to make ongoing wearable notification without "Mute App" action

I am trying to make player notification with play/stop actions that is ongoing. I manage to make ongoing notification on wearable but i can't figure out how to make it without Mute app action that added automatically for ongoing notifications. TuneIn, Google Play Music and PlayerFm somehow manage to do this so there is way i just can't find it. May be anyone know how to do this?
I will answer my own question. Apparently there is no way to do this trough Notification. What all those apps do - they use RemoteControlClient to achieve this.

Android notification led, receive an event when it changes its status

I need to monitor the status of the notification LED on an android device. I've seen several post that explains how to customize the LED behavior (i.e. Changing LED color for notifications) however I would like to receive an event (using a receiver) whenever the LED changes its status or an app triggers a blink, regardless of which app caused the blink.
Is it possible to receive these event?
If yes, which intent filter should I use to receiver this kind of event?
Thanks!
Is it possible to receive these event?
Definitely not in the Android SDK. A custom Android build packaged as a ROM mod may be able to determine this, at least for OS-triggered uses of the LED. System-level use of the LED (e.g., charging status) may not be visible to Android at all.

Categories

Resources