Are there any apps out there that allow for rule-based management/organization of SMS messages?
Specifically, I'd like to have a whitelist of users that can send messages that conform to some rule, which triggers some sort of event. Ideally, I'd like to be able to somehow parse the SMS message to add data to another program on the phone (or for simplicity's sake, add an entry to the task list). I figure if the program I'm looking for can simply export the message as a file to a directory on the phone, I can easily write a quick and dirty little app that simply monitors that directory for new files, parses them, puts the data where it needs to go, and then deletes the file.
I've read about SMSOrganizer/SMSCreative, but was hoping someone out there knew of some other options I haven't yet discovered. Oh yeah...and if the solution's free, then all the better!
Hello to all. I was hoping someone would be able to tell me if a shortcut could be created with Bettercut/Anycut that would create a new message? I know that a direct shortcut to a specific contact can be created easily with these apps, but I was hoping a shortcut to a blank message that I could then choose the contact could be created. I use Chompsms as my default sms app (don't know if that matters) but would like the shortcut to use Chomp to create the blank message but the Android messaging app would be fine too. I know that Bettercut/Anycut have the make your own option and that it might be possible to create this shortcut that I am looking for. Unfortunately I am not knowledgeable enough to create this shortcut myself and my searches have come up empty so far (I tried many forums with no success). If anyone would be willing to help me with this I would greatly appreciate it and I'm sure others would as well. I know that it only takes a few seconds to open Chomp and click new message but a shortcut direct from the home screen would really be awesome. Thanks in advance for the help (If in fact this is even possible). I know this is probably really easy for a lot of the users here but im just no good at stuff like this. Hope someone can help.
You can make a "contact" and just name it something like "Blank" then just put a single number, 1 for example, for the phone number. Then use that. When it pops up the message for it, just erase the "Blank <1>" from the To: field, and put in which ever contact you want. Not really blank, but does the job good enough I'd say. Only one press and one button click to erase the "Blank <1>" thing from the To field.
using Any Cut, you can select "Make your own" and enter the following to create a new SMS shortcut:
Action: android.intent.action.SENDTO
Data: sms:
Type: <leave this blank>
Works on my rooted Hero nordic, YMMV. You can probaby enter "mms:" in the Data field to make the new message an MMS, but I haven't tried that.
Good luck!
Is there a way to automatically forward specific sms's which match a keyword, to another contact via whatsapp?
Any help would be greatly appreciated!
msharoon said:
Is there a way to automatically forward specific sms's which match a keyword, to another contact via whatsapp?
Any help would be greatly appreciated!
Click to expand...
Click to collapse
I don't have the full answer to your question but you can detect a keyword in a SMS using this profile:
Create a new profile --> Event --> Phone --> Received Text:
Type: Any
Sender: leave this blank
Content: *keyword*
-replace "keyword" by the word you need to be monitored. Don't forget to put it between two asterisk otherwise tasker will not detect your keyword if its not the only word in the received SMS.
Then you can use this event to fire up a task that will forward that SMS (%SMSRB) to another contact via whatsapp. You'll probably need to make a script for that or maybe you could find the old whatstasker plugin (not on the playstore anymore and not sure if its still working). In whatstasker plugin, you can select a contact and the text to be sent. set the text field to %SMSRB.
Edit: found something here that might be useful: http://forum.xda-developers.com/showthread.php?t=2550924
Hi there,
I am using SMS banking to proccess some financial transactions in my country.
Any ideas, how to setup auto delete SMS based on phone number periodically?
Thanks!
Any ideas would be greatly appreciated.
Still looking for a solution.
I have no solution for you, just some thoughts: sms are stored in a database format, so you will need some serious database scripts to mess around with it, possibly java functions, which sadly I have no idea of....
A way around this might be using a third app which can import and export sms. I imagine you can have it export the database, then analyze the exported file, delete the part you don't want, and then re-import. This could be done automatically if the sms im/ex app is able to do im/ex on schedule. The rest is just plain File read....in Tasker.
As stated,, this is no real solution, just some thoughts.
alienyd said:
I have no solution for you, just some thoughts: sms are stored in a database format, so you will need some serious database scripts to mess around with it, possibly java functions, which sadly I have no idea of....
A way around this might be using a third app which can import and export sms. I imagine you can have it export the database, then analyze the exported file, delete the part you don't want, and then re-import. This could be done automatically if the sms im/ex app is able to do im/ex on schedule. The rest is just plain File read....in Tasker.
As stated,, this is no real solution, just some thoughts.
Click to expand...
Click to collapse
Thank you very much for your explanation, Mate.
I think I have a working solution using Tasker and the Messages application from Google, but I am sure this can be optimized.
Pre-requisites:
Rooted device
sqlite3
Tasker
Google Messages App (com.google.android.apps.messaging) - Sorry, can't insert URL's yet
NB: I guess you could use any SMS app, but the path to the SMS database will be different.
I have attached a task that can be imported to Tasker, but I'll have a quick explanation here:
Code:
Step 1 - 5: Sets the SQL scripts to read/delete records
Step 6: Sets the path to the SMS database (this is where the Google Messages app saves the data)
Step 7 - 9: Gets the conversation ID
Step 10 - 13: Error handling
Step 14 - 15: Gets the message ID
Step 16 - 19: Error handling
Step 20 - 21: Deletes the message
Step 22 - 25: Error handling
Step 26 - 27: Gets the number of messages in the conversation (thread)
Step 28 - 31: Error handling
Step 32 - 35: Deletes the conversation if there are no more messages in the conversation
This task will delete the last SMS that Tasker knows about, but can be adapted to delete messages from certain senders as well as messages with certain keywords. I'll post a full profile & task soon (if someone else doesn't get to it first).
Let me know what you guys think.
Would it be possible to change it from deleting the messages to archiving them? I'm might be able to figure this out but how would I go about changing it to a specific contact or contacts?
needs to be updated
can someone please update this task, it seems not to work again.
sting04 said:
I think I have a working solution using Tasker and the Messages application from Google, but I am sure this can be optimized.
Pre-requisites:
Rooted device
sqlite3
Tasker
Google Messages App (com.google.android.apps.messaging) - Sorry, can't insert URL's yet
NB: I guess you could use any SMS app, but the path to the SMS database will be different.
I have attached a task that can be imported to Tasker, but I'll have a quick explanation here:
Code:
Step 1 - 5: Sets the SQL scripts to read/delete records
Step 6: Sets the path to the SMS database (this is where the Google Messages app saves the data)
Step 7 - 9: Gets the conversation ID
Step 10 - 13: Error handling
Step 14 - 15: Gets the message ID
Step 16 - 19: Error handling
Step 20 - 21: Deletes the message
Step 22 - 25: Error handling
Step 26 - 27: Gets the number of messages in the conversation (thread)
Step 28 - 31: Error handling
Step 32 - 35: Deletes the conversation if there are no more messages in the conversation
This task will delete the last SMS that Tasker knows about, but can be adapted to delete messages from certain senders as well as messages with certain keywords. I'll post a full profile & task soon (if someone else doesn't get to it first).
Let me know what you guys think.
Click to expand...
Click to collapse
bush911 said:
can someone please update this task, it seems not to work again.
Click to expand...
Click to collapse
I don't use this, although I do something similar for Whatsapp.
In the meantime, while nobody has updated the task yet, you can download SQLite Editor from Play Store, open the database / table and cross-reference against the Tasker task to see if the field names and value formats are still the same. Change Tasker task accordingly if needed.
If no changes, then check sqlite3 path, or maybe update it.
Thank you for the post.
The xml itself works well. The problem is at my end, after installed SQLite module via Magisk, it now works as expected.
hyborian said:
I don't use this, although I do something similar for Whatsapp.
In the meantime, while nobody has updated the task yet, you can download SQLite Editor from Play Store, open the database / table and cross-reference against the Tasker task to see if the field names and value formats are still the same. Change Tasker task accordingly if needed.
If no changes, then check sqlite3 path, or maybe update it.
Click to expand...
Click to collapse
Hey guys, I'm trying to automate a task I do often for work. When I get a potential new customer, I receive a standard email with their information in a specific format. For example:
Name - x
Email - y
Phone - z
I am trying to figure out a way to interact with this body of text and automate it as much as possible. I would have to add a new contact with the name, and send out a standardized email as well as a text.
I haven't really made complex tasks like this, so I'm a bit lost as to where to start. I am rooted. I would also like to note that I'm using a proprietary email app (Blackberry Hub+ Inbox), so I think it may be easiest to start off the task by manually copying the body of the text and then somehow triggering the task.
Thanks in advance!
This project is actually a little complex, and it also interested me so, while I usually don't do this, here is a taskernet share.
Requires AutoTools to be installed because a webscreen is used. On install, you must edit actions 15 & 16 in the task. These are variables for the email subject and body.
The profile triggers when data starting with e.g. "Name - John Doe" is copied to the clipboard. Then a button pops up on the right side of your screen and when you tap it the information is entered into a new contact form that you can edit, cancel or save.
A second button becomes available which triggers the composed email action.
The buttons will time out after 30 seconds without triggering the associated task. You can also "fling" them away to dismiss.
The task is expecting each piece of information to be on a separate line like:
Name - John Doe
Email - [email protected]
Phone - (999) 999-9999
The labels for each line are used as variables in the task to identify the associated data. Therefore, the order does not matter. Though if "Name - " is not first, the profile will not trigger. You would need to edit the regex in the profile context.
If, for example, an address is on multiple lines, the task will need to be modified to handle that.
To limit the activation of this profile to only when the data is copied in a specific app such as an email client, add that app as a context in the profile.
The task is heavily commented.
Finally, I add my username into the profile and task names to help avoid the possibly of namespace collisions (when the imported project has the same profile, task or variable names as existing profile, task or variables). The -ktmom can be removed.