I'm not sure what to do about this. I have a task that runs when I get a new message. It's been working fine until I just decided to switch to the Verizon Message+ app instead of the built-in messages app. Now, the task is triggered not only on received messages, but also on sent MMS messages. How can I fix this?
This is a dumb question, but just to cover the obvious... is there any chance that this new app IS actually receiving your sent mms messages as an inbound? This happens to me occasionally with my stock att messaging app...see screenshot.
--
You received this message because you are subscribed to a topic in the Google Groups "Tasker" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tasker/dvLlvTdZmqE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tasker+un...@googlegroups.com.
Visit this group at http://groups.google.com/group/tasker.
For more options, visit https://groups.google.com/d/optout.
Sure! Here it is. I haven't had time to thoroughly test it, though. A2-A7 are the solution.
Profile: SMS Notifications (54)
Event: Received Text [ Type:Any Sender:* Content:* ]
Enter: SMS Notify Options (74)
A1: Variable Add [ Name:%SMSAMT Value:1 Wrap Around:0 ]
A2: If [ %SMSRB !Set ]
A3: Run Shell [ Command:/system/xbin/sqlite3 /data/data/com.android.providers.telephony/databases/mmssms.db "SELECT _data from part where _id = (SELECT MAX(_id) from part where ct like 'image%')" Timeout (Seconds):0 Use Root:On Store Output In:%MMSBODY Store Errors In: Store Result In: Continue Task After Error:On ]
A4: Variable Section [ Name:%MMSBODY From:54 Length:500 Adapt To Fit:On Store Result In:%mmsfile ]
A5: Run Shell [ Command:/system/xbin/sqlite3 /data/data/com.android.providers.telephony/databases/mmssms.db "select pdu where _id = (SELECT MAX(_id) from pdu where smilext like '%amp%mmsfile%amp' and msg_box = '1')" Timeout (Seconds):0 Use Root:On Store Output In:%mmsnotme Store Errors In: Store Result In: Continue Task After Error:On ]
A6: Stop [ With Error:Off Task: ] If [ %mmsnotme !Set ]
A7: Else
A8: Variable Set [ Name:%sender To:%SMSRN Do Maths:Off Append:Off ] If [ %SMSRN !~ 6245 ]
A9: Variable Split [ Name:%SMSRB Splitter: Delete Base:Off ] If [ %SMSRN ~ 6245 ]
A10: Variable Set [ Name:%sender To:%SMSRB1 Do Maths:Off Append:Off ] If [ %SMSRN ~ 6245 ]
A11: AutoContacts [ Configuration:Contact Name or Nickname: %sender
Name as Nickname: true Package:com.joaomgcd.autocontacts Name:AutoContacts Timeout (Seconds):1000 Continue Task After Error:On ]
A12: AutoContacts Details [ Configuration:Contact Id: %acid
Get Picture: true
Full size: true Package:com.joaomgcd.autocontacts Name:AutoContacts Details Timeout (Seconds):1000 Continue Task After Error:On ]
A13: Variable Set [ Name:%TEXTFROM To:%sender»« Do Maths:Off Append:On ]
A14: Variable Set [ Name:%smscontent To:%SMSRB Do Maths:Off Append:Off ] If [ %SMSRB Set ]
A15: Variable Set [ Name:%smscontent To:(Multimedia Message) Do Maths:Off Append:Off ] If [ %SMSRB !Set & %MMSRS ~ /%MMSRS ]
A16: Variable Set [ Name:%smscontent To:%MMSRS Do Maths:Off Append:Off ] If [ %MMSRS Set & %MMSRS !~ /%MMSRS ]
A17: Variable Set [ Name:%TEXTBODY To:%smscontent»« Do Maths:Off Append:On ]
A18: If [ %SMSAMT > 1 ]
A19: Variable Split [ Name:%TEXTFROM Splitter:»« Delete Base:Off ]
A20: Variable Split [ Name:%TEXTBODY Splitter:»« Delete Base:Off ]
A21: For [ Variable:%msgcnt Items:%TEXTBODY(#):1 ]
A22: Variable Section [ Name:%TEXTBODY(%msgcnt) From:1 Length:40 Adapt To Fit:On Store Result In: ]
A23: Array Push [ Name:%texts Position:999 Value:%TEXTFROM(%msgcnt): %TEXTBODY(%msgcnt) Fill Spaces:Off ]
A24: End For
A25: Variable Set [ Name:%enter To:
Do Maths:Off Append:Off ]
A26: Variable Join [ Name:%texts Joiner:%enter Delete Parts:Off ]
A27: AutoNotification [ Configuration:Title: %SMSAMT New Messages
Text: %texts1
Ticker: %texts1
Action on Touch: opensms
Action on Dismiss: resetsmsamt
Icon: %acpicturefile
Status Bar Icon: stat_notify_chat
Id: 120986
Title Expanded: %SMSAMT New Messages
Text Expanded: %texts
Icon Expanded: %acpicturefile Package:com.joaomgcd.autonotification Name:AutoNotification Timeout (Seconds):0 ]
A28: Else
A29: If [ %SMSRB Set ]
A30: AutoNotification [ Configuration:Title: %sender
Text: %SMSRB
Ticker: %sender: %SMSRB
Action on Touch: opensms
Action on Dismiss: resetsmsamt
Icon: %acpicturefile
Status Bar Icon: stat_notify_chat
Id: 120986
Text Expanded: %SMSRB
Icon Expanded: %acpicturefile
Button 1: deletesms
Label 1: Delete
Icon 1: content_discard_dark
Button 2: markread
Label 2: Mark Read
Icon 2: content_read Package:com.joaomgcd.autonotification Name:AutoNotification Timeout (Seconds):0 ]
A31: Else
A32: AutoNotification [ Configuration:Title: %sender
Text: %smscontent
Ticker: %sender: %smscontent
Action on Touch: opensms
Action on Dismiss: resetsmsamt
Icon: %acpicturefile
Status Bar Icon: stat_notify_chat
Id: 120986
Title Expanded: %sender
Picture: %MMSBODY
Icon Expanded: %acpicturefile
Button 1: deletemms
Label 1: Delete
Icon 1: content_discard_dark
Button 2: markreadmms
Label 2: Mark Read
Icon 2: content_read Package:com.joaomgcd.autonotification Name:AutoNotification Timeout (Seconds):0 ]
A33: End If
A34: End If
A35: End If