• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Clear SMS Notification/Set as read?? AND is volume buttons context possible?

usmanfarhat

Lurker
Mar 29, 2013
7
0
Ok, so I want to set message as read, or clear the new message notification via a task, but tasker says that it can only clear its own notifications. So setting message as read may be the right option. Please don't tell me to make a task which opens the messaging app for two seconds then exits, because it is too slow, I have tried this.

Second question, I want to assign commands to volume buttons, how do I do it? I have read somewhere that the volume buttons context is not possible, but something similar can be achieved by monitoring changes in volume (increase or decrease). However, I have not figured it how yet, so any help will be appreciated. :)
 
I've been trying to find a script to clear notifications for a while now, no luck thus far.

Event>Variable>Variable Set>%VOLM is how I was using the volume rockers to skip/pause songs

wow it's easier than I thought :)
I did it easily after seeing your reply. this is what I did:

Volume up/down (44)
A1: If [ %VOLR < %Volume ]
A2: Dpad [ Button:Right Repeat Times:1 ]
A3: Else
A4: Dpad [ Button:Left Repeat Times:1 ]
A5: End If
A6: Variable Set [ Name:%Volume To:%VOLR Do Maths:Off Append:Off ]

seems like i may need to set variable once after boot before it functions 100% properly.
this is slow though.. I mean i have to wait for like 1 second before triggering the command again. I am using this to move the cursor while typing. one more thing I am going to add is the if condition for when %VOLR=7
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones