Background music often helps people often use it to focus more on all tasks. It acts as a catalyst to help you feel comfortable even in the most stressful times. And if you are using an Android phone, this article will show you how to add background music to apps on Android.
Then, when you open any of the apps where you’ve previously added background music, you’ll be able to both work with the app and listen to your favorite tunes until you close the app.
First, you download the APK file of the Tasker application and install it on your device (you will have 07 days to try it before deciding to buy it on Google Play), remember to choose the version that matches the Android version. i’m using.
After installing Tasker on your Android device, go to Settings -> Accessibility -> Tasker and switch it to ON to allow Tasker to use all the features on your device.
Now start the application and press the + sign . Here you will be given a list of options for you to initialize the profile. In this case, it’s Application .
Next, a list of apps installed on the device will appear. Click All to have Tasker display the entire list of applications. Now select an application that you want to add background music to. Here we will choose the Viber application. Then press the back key to return to the main screen, tap on the name of the application you selected and click New Task .
Proceed to name the task as you like, for example Music . Then click the check mark to save and click the + sign to set the action for this task
The Select Action dialog box appears, enter the Music Play keyword and click on the corresponding Music Play result. Next is the dialog box that sets the location of the background music file you want. When you have finished navigating to the location of the background music file, check the Loop option to have the file play repeatedly when the song is over. After the setup is complete, press the Back key twice to return to Tasker’s Profiles screen.
Once you’re back on Taskers’ Profiles screen, long-press on the name of the task you just created, then tap the Add Exit Task option when the selection menu appears. The effect of this option is to set the background music to stop playing when you exit the application on your Android device after you have finished working. Next, give the exit task a name. Here you can set it to Music 2 , then click the check mark to save it.
You then perform additional actions for this task by clicking the + sign . And enter the keyword Music Stop in the search line and click on the corresponding option on the results box.
On the next screen, you don’t need to do anything, just leave it and press the Back key twice to return to the main Tasker screen. Once on the main screen, long press on the profile name you just created and select Add > State . This action will set the background music to stop automatically when the device screen is off.
Next click Display > Display State in the next selection screen.
In the next setup screen, select ON in the Is option. This option will allow the background music to continue playing when the phone screen is turned on. Then press the Back key twice to return to the main Tasker screen.
And when everything is done following the above steps, you will see the result as shown below.
That’s it, now every time you start the application where you have set the background music, the music will be played automatically.