5 Advanced Tasker Profiles to Make Life Simpler (3/3)

Tasker is an awesome app for automating your Android and it is an eminent fact that Tasker adds one more dimension to Android’s customization. There are many simple Tasker profiles that we have shared in the past. And since you guys have asked for more, we are here to share some of the tasker profiles that will help you stretch the limit of automation on your Android. We are going to discuss some advanced tasker profiles which will help you to get some momentum in implementing your ideas in an algorithmic fashion using Tasker.

We are going to discuss some advanced tasker profiles here, so make sure you have your basic cover up by reading our beginner’s tasker articles. And with that being said, fasten your seat-belt and let’s get started.

This post is a part of best Tasker profile series, you can find part 1 and part 2 here.

useful Tasker Profile

Advanced Tasker Profiles

#1 Avoid Angry Girlfriend!

Consider this scenario in which you are sleeping inside your home with your phone on silent mode and your girlfriend has arrived at the doorstep calling you continuously. Your phone doesn’t know that it is important for you to answer those calls and hence you end up losing important calls or sometimes your girlfriend as well. We can avoid this problem with an elegant solution using Tasker. How?

If you get 3 consecutive missed calls from the same number within 2 minutes, Tasker will trigger a loud Alarm.

We got the idea for this profile from Reddit/Tasker, an awesome community if you are into Tasker.


  • We will create a variable named as %MISS and increase the value of that variable whenever we receive a missed call from a specific phone number (Girlfriend in this case). The value of %MISS will start from 1 and we will check if the value is greater than 2 after every missed call. If the value is greater than 2(which will happen if we receive 3 missed calls) then we will trigger a specific alarm tone.
  • Whenever the value of %MISS variable is set to 1 in the process, we will activate a new task simultaneously which will set the value of %MISS to 0 again but after 3 minutes. This will ensure that whenever we start receiving missed calls we have a specific time limit of 3 minutes.



  • Tap “+” > Event > Phone > Missed Call > Enter the caller Number


Task 1
  • Tap on New Task > Tap “+” > Variables > Variable Add > Mention the variable name(%MISS) and initial value (1)
  • Tap” +” > Task > If > Put the variable name(%MISS) and Select “Less than” conditional operator and enter value “2”
  • Tap “+” > Audio > Silent Mode > set mode to “OFF”.
  • Tap “+” > Alert > Notify Sound > select your Alarm tone.
  • Tap “+” > Task > Else (Do not modify anything)
  • Tap “+” > Task > End if
Task 2
  • Tap “+” > Task > If > Put the variable name(%MISS) and select “Equals” conditional operator and enter value “1”
  • Tap “+” > Task > Wait > set the value to “3 Minutes”.
  • Tap “+” > Variables > Variable Set > Enter the variable Name(%MISS) and enter value “0”.
  • Tap “+” > Task > End if


Connect both the tasks to our profile and we are done.

#2 Missed Call Notification on Email

You have two cell phones or when you are working, you don’t like to keep your cell phone near you. One way to solve this problem is to E-Mail a notification for each and every missed call on your phone to your own E-Mail account. To make things less tedious we will use a third-party E-mail application that supports Tasker integration. We are using “Email Me Pro” but there is also a free alternative named as “Email from Tasker” which you can use.


  • The profile will contain a trigger which will get activated whenever we get missed call from any number.
  • Task will contain a proper message with configured Email Me Pro application plugin integration with Tasker


  • Open “Email Me Pro” > Settings > Configure SMPT > Put the proper SMPT Host and SMPT Port setting (SMPT Host is “smpt.gmail.com” and SMPT Port is “465” for Gmail)
  • Go to your E-mail account from your browser and inside settings turn on “less secure app access”



  • Tap on “+” > state > Phone > Missed Call > select “Any Contact” from options
  • Tap “+” > Plugin > Email Me Pro > Configuration > Enter Email Address and Put necessary body (use %CNUM system variable to put last missed call number)


Connect the task with the profile and you are ready.

#3 Condition based Triggers Desktops?

Suppose you are in your office and you want to use applications specific to your office work rather than your complete interface. Selecting those specific applications can be cumbersome when you are in rush, therefore, you must have office related mobile tools at your fingertips This problem can be tackled by certain applications like Contextual App Folder but there are some limitations like you will only get one folder. What if we want to change the complete desktop environment based on a condition?

To solve this problem completely we can use another third-party launcher named as Lightning Launcher along with Tasker. Lightning Launcher allows us to create completely new desktop environments and has fully functional Tasker integration. We will create two different desktops using Lightning Launcher and switch between them using Tasker conditions.


  • We will create a two Lightning Launcher Actions for “Go to Specified Desktop”
  • Office Timings will be considered as triggers and on those specific timings we will switch desktops using Tasker


  • Create two different desktops with different elements like Office and Home with Lightning Launcher. (In Lightning Launcher Home screen> Long press home screen > settings > Lightning > Configure Desktops > Add a new Desktop)
  • Once we have two Desktops we will create two Lightning actions so that we can switch between the Desktops efficiently. (In Lightning Launcher > Long Press Home screen > Tap “+” > Tap “Lightning Action” > select “Go to specified Desktop”)
  1. Lightning Launcher Action 1 -> Go to Specified Desktop (Select Desktop 2)
  2. Lightning Launcher Action 2 -> Go to Specified Desktop (Select Desktop 1)
  • Now we need to configure “back button” event action for each Desktop otherwise pressing the back button on one Desktop will switch us back to Second Desktop accidently. Lightning Launcher contains “back button” event for Global Launcher as well which overrides all Desktop actions hence we have to be careful. Do the following tasks serially to avoid any confusion.
  1. On Home screen > Long Press > Tap “Settings” > Lightning > Go to “General” > Events & Actions > Back Key > Add Action > select “Go Back”.
  2. Now Go to Desktop 1 using action Manually > Long Press Desktop > Settings > Desktop > Events & Actions > Tap “Back Key” > Select “Go to specific Desktop” and Select “Desktop 1”.
  3. Now Go to Desktop 2 using action Manually > Long Press Desktop > Settings > Desktop > Events & Actions > Tap “Back Key” > Select “Go to specific Desktop” and Select “Desktop 2”.





Profile 1
  • Tap “+” > Time > Set the specific time when you want to change Desktop 1 to Desktop 2(In this case our Office Morning time)
Profile 2
  • Tap “+” > Time > Set the time to switch back to Desktop 2 (Office Departure Time)
Task 1
  • Tap “+” > Plugin > Lightning Launcher >Lightning Action > Select “Lightning Action 1”
Task 2
  • Tap “+” > Plugin > Lightning Launcher >Lightning Action > Select “Lightning Action 2”


Connect Task 1 to Profile 1 and Task 2 to Profile 2 and enjoy the condition based Desktop Switching.

#4 Mobile Data Saver

Some users want to spend less mobile data due to expensive data plans and for those users, it is a necessity to save mobile data. To solve this problem, we have implemented a little different approach for data saving because turning your data OFF is not a permanent solution and you lose important notifications. The solution involves switching your mobile data mode to 3G whenever you turn OFF your screen and switching it back to LTE after turning ON the screen again.


  • We are going to use A Java function written by Reddit user RATCHET_GUY from here. This function will return a value inside %locked depending on whether the screen is ON or OFF(True for Screen OFF and False for Screen ON).
  • Using the value returned by this function we will Switch the data Mode using a Third-party application named as Toggle Network Type.


  • Import the downloaded Java Function xml script into Tasker, Press the three dot menu > Data > Restore > and select appropriate xml file.
  • Open the Toggle Network Type application and Tick “Allow External Access”




Profile 1
  • Tap “+” > state > Display > Set it to OFF
Profile 2
  • Tap “+” > state > Display > Set it to ON
Task 1

You can use imported XML or you can manually add the code

  • Tap “+” > Code > Java code > select the proper code
  • Tap “+” >Task > If > Select the variable %locked and use “Equals” as the conditional Operator and finally put “true” for comparison (The Java function returns “true” if the screen is OFF)
  • Tap “+” > Plugin > Toggle Network type 5.0 > Select “set to WCDMA only” in configuration window
  • Tap “+” > Task > End If
Task 2

You can use imported XML or you can manually add the code

  • Tap “+” > Code > Java code > select the proper code
  • Tap “+” >Task > If > Select the variable %locked and use “Equals” as the conditional Operator and finally put “true” for comparison (The Java function returns “true” if the screen is OFF)
  • Tap “+” > Plugin > Toggle Network type 5.0 > Select “set to LTE only” in configuration window
  • Tap “+” > Task > End If


Connect the Tasks to their corresponding profiles and you are done.

#5 Back to the Future

Not every profile needs to solve our problems and we can have some fun with Tasker as well. The list of cool things we can implement using Tasker is limitless. One such awesome profile is about playing Back to The Future theme whenever your car reaches the speed of 88 MPH. We will implement this idea using the System variable which provides your phone’s speed(%LOCSPD) provided that your Location services are on. Once we have the phone’s speed we can compare it with 88MPH and if the phone speed exceeds our speed limit, we will open the Wormhole (Trigger the BTTF theme).


  • We will acquire the Device Location using Tasker and check the %LOCSPD variable.
  • A new variable is used to store the threshold speed value(%Threshold)
  • The values stored in %LOCSPD and %Threshold should be in same units so we will perform required unit transformation initially.
  • Now the %LOCSPD is compared with %Threshold and Back to the Future theme is triggered.



  • The value that we get in %LOCSPD can be converted to MPH by multiplying it with 2.2369. Instead of converting this value to MPH we will use the conversion factor and convert the Threshold value to the units of this variable.
  • The threshold value can be converted into required unit by dividing it with 2.2369. (Threshold Speed in MPH/2.2369). This newly converted value is computed initially for our desired threshold speed and then stored in %Threshold.


  • Tap “+” > Day > Select the days for which you want to implement this profile (e.g. weekdays only)
  • Long Press on the Profile > tap Add > State > Net > BT Connected > Select the paired Bluetooth device (This Profile part is optional i.e  your Car Bluetooth connection).
  • Tap “+” > Location > Get Location > Select the appropriate Source (like GPS) and Tap “Keep Tracking”.
  • Tap “+” > Task > If > Select the Variable %LOCSPD then select “Greater than” conditional operator and Choose “%Threshold” as the second variable.
  • Tap “+” > Alert > Notify Sound > Put desired Title & Select proper sound file (BTTF theme)
  • Tap “+” > Task > Else
  • Tap “+” > Task > End If.


Connect the Task with profile and you ready for time traveling.

Wrapping Up

So, these are the intermediate or Advanced level profiles which can make your life simpler and I hope that you found this article helpful. If you have a slightly different idea that you want to implement, then I can assure you that the tools provided here can be helpful as well. Let us know what you think regarding these profiles in the comments section below.

About Pushkar Terwadkar

Main interest includes Technical Research in the area of Artificial Intelligence. Other Interests are Android Phone Hacking, Astronomy, Modern Physics.