Hide sms notification OR mark as read?

750 views
Skip to first unread message

berky93

unread,
Jan 29, 2011, 12:06:58 AM1/29/11
to Tasker
I want to know if there is a way to either clear notifications for the
built-in SMS app (motorola droid x) OR a way to mark specific messages
as read, using tasker?

I have created a profile that, when a text is received, pops up a
dialog box that shows the sender/message and has two options: "open"
to open the sms app and "reply" to reply from within a dialog box. (no
need for a "close" button since pressing the back button does that)
The thing is, even after I reply the notification remains, so I need
to find a way to remove it.


-----------------------------------------------------------------------------


Just because some may be curious, I'm also showing how to set up the
same profile:

This setup requires 3 tasks, and one profile:

Task: reply
Variable Query > Name:: %RESPONSE
Send SMS > Number:: %SMSRF Message: %RESPONSE
Variable Clear > Name:: %RESPONSE

"reply" does three things: it pops up a text entry box for the
variable %RESPONSE. Then it sends a text to the number the message
came from containing %RESPONSE. Then it clears %RESPONSE


Task: open
Load App > App:: Text Messaging

"Open" does only one thing: it opens the text messaging app.


Profile: SMS Popup
Context > Received Text,*,*
Context > Not Text Messaging
Task: SMS Popup
Turn on
Popup Task Names > Text::: %SMSRN: %SMSRB Task:: Reply Task:: Open

The "sms popup" profile is activated when a message is received while
not in the messaging app. The task turns on the screen and then
presesnts a popup with the option to execute either the "open" or
"reply" tasks.

Chris

unread,
Feb 16, 2011, 4:52:02 AM2/16/11
to tas...@googlegroups.com
You can do this with a workaround...

First you want to replace your standard SMS notification with one from Tasker:

1. In your SMS app disable notifications

2. Set up a profile in Tasker based on event - recieved text. perform action Notify Sound followed by Notify LED (depending on if you want the LED to blink of not) use the title %SMSRN and Text %SMSRB in both notifications. The effect of this that the LED notification will replace the sound notification so you will only have one notification in your statusbar. Tasker has no action for a combined LED and sound notification. (the replacement happens almost seamlessly) Note: the LED will only blink if the screen is off.

3. Add to the end of whatever task you have a Notify Cancel task with the title %SMSRN.

4. Add a profile based on event UI Notification Click and a task to open your SMS app (Or whatever you want to happen when clicking the notification)

I used the app Zedge from the market to find notification tones, you can download them in the app and use a file manager to move them to a location of your choosing. after that you can uninstall Zedge if you don't want it.

This will not mark the SMS read in your SMS app but it will at least clear the notification bar.
I'm sure you can make it fancy and show number of unread SMS in the icon etc but I haven't looked into it. I'm really anal about keeping my notification bar clean so i rarely have more than one unread SMS. (Judging from your question I'm guessing you are too :) )

Hope this helps


Reply all
Reply to author
Forward
0 new messages