Android customization – control music, send SMS and more from your Notification bar with Tasker

August 21, 2014
36 118 6

Android Customization Tasker Notification Bar

Welcome back to our Android customization series, last week we kept it short and sweet going over a simple display timeout controlling app called KeepScreen. In its simplest form, you choose a selection of apps, when those apps are open, KeepScreen prevents your display from turning off, no frills, no gimmicks.

I had promised that this week we would go over alternative file transfer apps to WiFi File Transfer Pro, I must break that promise. In order to provide the best coverage of the best options, I simply need more time to put it all together, I promise it is still in the works and will be out as soon as it is ready. For today then, we’d like to look as something as simple as KeepScreen, but even more powerful – embedded Tasker Task triggers in your Notifications bar.

The latest release of Tasker was a big one, it included hundreds of new features and updates. One of the most powerful additions is embedded action buttons in the permanent Tasker Notification. You likely noticed this already, the default single button is ‘Disable’, which is a terrible choice in my mind, why would I ever want to turn Tasker off?!?

Let’s quickly look at controlling up to three Tasks and placing them in the Notification bar. Alternatively, if you are absolutely against having these buttons in your Notifications bar, I’ll show you how to turn the feature off as well.

Before we get started

Get it on Google Play ButtonAlthough I feel you can get your money’s worth out of Tasker, it is sill $2.99 in the Google Play Store. You will also need a device running Android 4.4.x or greater, as this is where Google introduced actionable notifications.

Placing Tasker actions in your Notification bar

Before we place any actions in the Notification bar, we’ll need to decide which actions to add. You’ll need to decide for yourself what actions you need available from anywhere, to be performed by a click. Personally, I listen to a lot of music, and have need to stop music playback many time throughout my day. Easy enough, let’s build that Task.

Tasker Task to stop your music

Open up Tasker and navigate to the Tasks tab.

Tap the “+” button to create a new Task.

Tasker Task Stop Music Media Control

Provide your Task a unique and concise name. I will call mine “StopMusic“.

Tap the “+” button to add a new action.

Choose Media.

Choose Media Control.

Under CMD change Next to Stop.

(There is an alternative Music Stop command parallel to Media Control above, although it is easier to implement, I found that it fails to actually stop my music. Feel free to try it out and let me know how it goes for you.)

The remaining options are fine as they are, tap your system Back button to confirm.

That is all you need to do. I have chosen to add a quick flash notification, just an old habit. To do so yourself, add another action, choose Alert, choose Flash, enter your Text, I just put “Music Stopped”, then back out to save and exit.

Tasker Task Alert Flash

The media control action should work for most of your audio and video content, not just your music. I’ll admit that it appears to no longer stop my video playback through MX Player, but it may for you.

Moving on, we now have a Task ready to go into our Notification bar.

Adding a Task trigger button to your Notification Bar

Tasker Notification bar Tasks

Open Tasker and tap the triple dots “hamburger” menu button in the top right corner.

Tap Preferences.

Navigate to the Monitor tab.

Right at the top should be a section called General, a few items below is the option Notification Action Buttons.

For those that absolutely do not want any buttons in their Tasker Notification, simply tap the checkbox to turn it off.

For the rest of us, we can add up to three buttons. Go ahead and tap the magnifying glass button to add a Task.

Choose your desired Task. My Task was named “StopMusic“.

(On my phone, I’ve also added a Display Rotation toggle and Tesla flashlight toggle. On my Tablet I’ve added a display brightness control.)

Tap your system Back button to confirm and exit.

You may need to close and re-open Tasker to finalize the changes, but your buttons will soon populate in your default permanent Tasker notification. Now, no matter where you are or what you are doing, your few items will be there.

 Tasker Notification bar Task buttons

What’s next

As you may have guessed, you could use the three slots for different music playback controls, turning Tasker into a music player. As is true of Tasker, the sky is the limit here, if you can imagine Tasker controlling it, you can get it into the Notification bar.

Perhaps you would like to configure a Task that fires off a SMS message to your family telling them you’ve left work and are headed home. I always forget to do so before getting behind the wheel of the car, since texting and driving is a bad thing, one tap from the notification bar to send a pre-formed message is extremely handy.

Next Week

For next Thursday in our Android customization series, we’d like to take a little closer look at controlling display brightness. We’ve previously looked at an app called Lux, which is super powerful, but perhaps a little complicated at first glance. I’ve got a much simpler solution on deck for you, best of all, it integrates with Tasker and it’s free – but you’ll have to check back next week to see what it’s called.

While Tasker itself is a robust, and somewhat complicated, system, adding buttons to the Notification bar that trigger your created Tasks is a simple things. While the goal with Tasker is to also setup Profiles that make for a truly automated flow, these few things into the Notification bar can be super important to how you use your device.

What Tasks have you chosen to put into your Notification bar?

Comments

  • Nathan Borup

    Your ads are terrible! I can’t even view your website on my phone because the full screen ad won’t go away

    • Earl Dela Cruz

      What ad? XD

      • http://www.androidauthority.com/author/jonathan-feist/ Jonathan Feist

        Since Earl didn’t get blocked by an ad, he must have read the article. Thank you Earl, I hope it served you well. Now, are you using the Tasker Notification bar action buttons, what actions have you put up there?

    • http://www.androidauthority.com/author/jonathan-feist/ Jonathan Feist

      While I have no control over such things, there are occasional full screen ads on our site. I promise that we would not do this if we didn’t have to, but we’ve gotta pay the bills somehow, so we can keep the site rolling for you. I promise you that your difficulties are not going un-noticed.

      • Nathan Borup

        I don’t mind the side ads, it is the full screen ad EVERY time I access your website. On link bubble (which I use for reading articles such as this) I cannot close it, I cannot scroll down, I cannot do anything. If this continues to happen you will lose a frequent follower because it is so aggravating

  • dev

    Get free at smart-wiki.pl