Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Tutorial] How to set up sms/call/email count with tasker and minimalistic text

OP akoe

7th February 2011, 04:53 PM   |  #1  
OP Senior Member
Thanks Meter: 116
 
148 posts
Join Date:Joined: Dec 2010
Since tasker can be complicated ive tried to make this as simple as possible even though it might not seem like it. This is my first tutorial so constructive criticism and comments are appreciated!

NOTE: If you dont know what Tasker is research it and what it does otherwise you wont understand this tutorial.



1. Setting up the first profile

A. Okay first we need to start a new profile in tasker by clicking "new" on the bottom.
Name it whatever you want or leave it blank.
Your first profile should look like this once completed:



2. Setting when your context so tasker will know when its supposed to do something

A. You want your context to be "received text".
Choosing through menus go to "Event>Phone>Received Text"



3. Setting up what tasker is supposed to do when the "conditions/context" are met

A. Next we need a task, name it whatever you want or leave it blank. Add a task by clicking the plus on the bottom left. When choosing actions you want to navigate to "Variable>Variable Set"
When setting up this variable, you want it to look like this:

Make sure there are spaces between the + and 1 and "Do Maths" is checked otherwise it wont display right.



4. Setting up tasker so it will send the sms count to Minimalistic Text widget

A. Add a 2nd task by clicking the plus on the bottom left. When choosing an action navigate to "Plugin>Minimalistic Text variable settings. The settings will show up, set them up like this:




Okay so we've set up a profile to add a 1 to the count everytime you have a new text. Problem is, we have to set up another profile to reset the count to 0 after youve read your texts


5. Setting up the 2nd profile so your sms app to reset the count to 0 when closed

A. Start a new profile, name it or not, and add a context of "Application>whatever messaging app you use here". I use chompsms so for me its "Application>chompsms".
It will look like this when completed:


B. Set up the new variable like so:

This will reset the counter to zero everytime you close out of your messaging app

EDIT: its also possible to have not have the zero displayed so theres nothing there. Instead of using "variable set" use "variable clear" with the variable your using.
THANKS: ayhaadam for reminding me of this


C. Add one more variable to have Tasker display it through Minimalistic text. Its the same set up as step 4A



6. Setting up minimalistic text to display tasker variables

A. Create a new minimal text widget on your homescreen/lockscreen and choose "custom layout". Add "Locale Variable" from Misc and set up the variable name to be % MNMLMSGCOUNT


NOTE: Minimal text will not add "SMS" or "MESSAGES" in front of the count. You have to manually add it with "Static Text" under Misc

Exapmles of how i use it:



Please leave questions or comments if you have them and since i did this on my phone i will check how it looks on a computer soon

Thanks: thedesolatesoul for explaining to me how to set this up! He should post a screen of his so we'll see how his is set up


Update 2-10
Missed Call Count: call count is achieved by following the tutorial and changing "MSGCOUNT" to "MISSEDCALL" and changing the 2nd profile app to phone

Update 2-11
Unread Email Count: this works with only K-9 since its open source. Same set up for sms count just different context "K9 Email Received" and different variable "%UNREADEMAILCOUNT". The 2nd profile context to set it to zero is app "K9"
Last edited by akoe; 7th May 2011 at 09:56 PM.
The Following 27 Users Say Thank You to akoe For This Useful Post: [ View ]
7th February 2011, 05:36 PM   |  #2  
eizonuts's Avatar
Senior Member
Thanks Meter: 17
 
235 posts
Join Date:Joined: Nov 2010
More
thanks for the guide! this is wayy shorter than the other variants

i think a couple images are missing though
Last edited by eizonuts; 7th February 2011 at 05:40 PM.
7th February 2011, 05:39 PM   |  #3  
Junior Member
Thanks Meter: 3
 
14 posts
Join Date:Joined: Jan 2011
I appreciate you posting this.. always looking for new ways to use Tasker.. I've only scratched the surface so far..
7th February 2011, 05:48 PM   |  #4  
OP Senior Member
Thanks Meter: 116
 
148 posts
Join Date:Joined: Dec 2010
Thanks guys! Ill add more pictures too
The Following User Says Thank You to akoe For This Useful Post: [ View ]
7th February 2011, 06:47 PM   |  #5  
Junior Member
Thanks Meter: 3
 
14 posts
Join Date:Joined: Jan 2011
Do you have any other cool things you've done with Tasker?
The Following User Says Thank You to rrambo For This Useful Post: [ View ]
7th February 2011, 07:49 PM   |  #6  
OP Senior Member
Thanks Meter: 116
 
148 posts
Join Date:Joined: Dec 2010
Quote:
Originally Posted by rrambo

Do you have any other cool things you've done with Tasker?

Ive only used it for sms but you can use it for weather, call count, battery, just about anything
7th February 2011, 07:50 PM   |  #7  
giank30's Avatar
Senior Member
Thanks Meter: 28
 
295 posts
Join Date:Joined: Dec 2010
Great TUT, thank-you very much! :)
7th February 2011, 08:01 PM   |  #8  
OP Senior Member
Thanks Meter: 116
 
148 posts
Join Date:Joined: Dec 2010
Quote:
Originally Posted by giank30

Great TUT, thank-you very much! :)

No problem
7th February 2011, 08:43 PM   |  #9  
Member
Thanks Meter: 3
 
88 posts
Join Date:Joined: Jan 2011
Hi,
Awesome, I will try !!

Edit : I succeed everything, only one. When I go in Minimalistic, I create my own, and in my homescreen there is : "SMS : " but no 0 with ..
Have you got any idea?

( I am so sorry for my bad english, I hope you understand..)
Last edited by Loam1990; 7th February 2011 at 09:15 PM.
7th February 2011, 09:20 PM   |  #10  
OP Senior Member
Thanks Meter: 116
 
148 posts
Join Date:Joined: Dec 2010
Quote:
Originally Posted by Loam1990

Hi,
Awesome, I will try !!

Edit : I succeed everything, only one. When I go in Minimalistic, I create my own, and in my homescreen there is : "SMS : " but no 0 with ..
Have you got any idea?

( I am so sorry for my bad english, I hope you understand..)

Try going into your sms app and then hitting home or back

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes