Pages

Tasker: App Specific Screen Brightness [Very useful]

Introduction with today's project: An extremely simple yet immensely useful & convenient tasker project. This tasker project automates your android smartphone's screen brightness to act according to the app currently opened/used. 

For example, the screen brightness will be increased when the camera or the gallery app is opened, to facilitate capturing of photos/videos & will be restored to the normal brightness state after the app is closed. This definitely makes capturing photos/selfies or videos a more enjoyable job! 

This is extremely useful for people who don't keep their screen brightness at maximum, due to the ever insufficient battery life, but often feel the need to manually slide the brightness up, while clicking pictures or viewing the gallery or watching videos etc. After creating this tasker project, you'll never need to adjust the brightness level when using a particular app(s). You'll be able to predefine the level of brightness which will be applied when such apps are opened, and will revert to the regularly used(predefined) level of brightness once the apps are closed.

PREREQUISITE: You'll need the app: Tasker (Please turn off beginner's mode in preferences)



In a nutshell, it basically consists of 3 simple steps- Selecting the apps, Setting the increased brightness level & Setting the brightness level to return to, once the app is closed.

Now let's get into a detailed tutorial.

Step 1: Click on the '+' button at the bottom right corner and select 'Application'.

Step 1
Step 2: From the list of the apps, select the Camera & Gallery apps you use.
(You can select more than one camera/gallery apps like retrica/beauty plus/camera 360 etc too). (Make sure only "App" is active at the bottom, while "Services" and " Invert" options are inactive.)
Step 2

Step 3: Click on "New Task +" and give it a name: "Brightness Up"

Step 4: Click on the '+' button at the bottom and browse to Display -> Display Brightness.
  • Slide to set the value of Level to the maximum value possible (eg. 255). 
  • Click on the '+' button at If and type %BATT in the variable box, select "Maths: Greater Than" from the middle box and type 19 in the value box and press the back button. (refer image below)

    [by adding this IF statement, the screen brightness will be increased only if the battery is at least 20%. This acts as a power saving mode for this feature]
Step 4

Step 5: Click on the '+' button at the bottom and browse to Task-> Stop. Press the back button.
After completing Step 4 and 5



Now, exit from tasker app & make sure your phone's screen brightness it set as you always want it to be.

Step 6: Open tasker. You should be on the PROFILES tab/page; Long press on the Task Brightness Up and select Add Exit Task.

Step 6
Step 7: Click on "New Task +" and give it a name: "Brightness Down"

Step 8: Click on the '+' button at the bottom and browse to Display -> Display Brightness. (DO NOT change the value of Level this time)

Step 9: Click on the '+' button at the bottom and browse to Task-> Stop. Keep pressing the back button until you exit from the tasker app.

After completing Step 8 and 9

Make sure everything looks like the image below this at this stage.

Everything should look like this

You're Done! Just open your camera app & test it. It should work perfectly. If you have any issues, feel free to use the contact us form.



---

Disclaimer: This blog/owner of this blog disclaims all/any of the damage/loss caused to you/your device/data/etc due to use of the above stated method. You agree to perform the above at your own complete risk.

Disable the Auto Sync Pop-up message on Samsung Galaxy S7, S6, Note Series [NO ROOT]

Samsung's flagship devices, like the Galaxy S6, S7 and the Note Series, running on the latest Marshmallow version of android, are presently some of the best phones you can own. But they too have minor glitches and need UI refinements. 

One of such being the annoying pop-up dialogue box with the message "Enable auto sync" or "Disable auto sync", asking for confirmation each time one tries to enable/disable the auto sync from from the notification quick settings.

   

If you find the pop-ups unnecessary, this is the Best solution you can presently have without root. Here, we'll automate your phone to automatically click on the OK button and get rid of the stupid pop-up dialogue box.

(This solution will work on all android devices with this pop-up. S6, S6 edge, S6 edge+, S7, S7 edge, Note 5, etc are supported)

---

It's a Tasker solution & you'll need the following app: Tasker and AutoInput

**Tasker is a paid app (worth paying). You can also try to google "Tasker apk".
AutoInput is available free only for trial, but here is a trick: If you don't start the 7 day trial by logging in, you can use the app as lite version for free, forever, but with few limitations.**


PREREQUISITES:

  • Install both the apps on your device.
  • Enable tasker and turn off Beginners mode from its preferences. (If you're unfamiliar with it, just google)
  • Enable accessibility service for both the apps. (Settings -> Accessibility -> Under Services group)
  • Enable administrator access for both the apps. (Settings -> Lock screen & security -> Other security settings-> Device administrators)


Step 1: Long press on the Home icon at the bottom left and click on Add + and give your project a name. eg., Sync Auto OK


Step 2: In the tasker app, under Profiles, Create a new profile by clicking on the '+' at the bottom right.

Step 2

Step 3: Click on Event -> UI -> New Window
Step 4: Fill the fields as follows:

  • Label: Enable auto sync
  • Window Type: Dialog
  • Priority: Normal
Step 4


Step 5: Press the back button to save.
Step 6: In the next pop-up menu, Select New Task +
Step 7: Assign a task name (eg. Auto Click OK) & click on the Tick mark.

Step 7


Step 8: Now, Click on the '+' at the bottom center.
Step 9: In the pop-up menu, select Plugin -> AutoInput -> Action
Step 10: Now, click on the edit button (pencil) under configuration
Step 11: Under manual setup, select & fill in the following fields:

  • Action: Click
  • Field Type: Text
  • Field Text: type "OK" (without quotes)
  • Save the settings by clicking on the tick mark on top right of the screen.

It should look like this after completing step from 8 to 11
Step 12: Press the back button twice.
Step 13: You should now be in the Profiles Tab, make sure everything looks like this:
Step 13

Step 14: Long press on the title of your profile ("New Window Enable auto sync, Dialog..") and select clone from the menu options. (Refer to the screenshots below)

  


Step 15: Click on the Event(trophy icon) from the second(cloned) profile and change the value of label from "Enable auto sync" to "Disable auto Sync" (without quotes).

Step 15
Step 16: Press the back button and make sure everything looks like this.

Step 16

You're done! Now you can exit from the app, & try turning on/off auto sync from the quick toggles & you'll notice how the pop-up gets dismissed automatically in less than a split second.

If you have any issues, you can comment below or contact through the Contact us page & I'll try to reply ASAP.

The above solution was successfully tested on Samsung Galaxy S6 edge running Marshmallow 6.0.1 with Tasker v4.8u1m & AutoInput v2.0


---
Disclaimer: This blog/owner of this blog disclaims all/any of the damage/loss caused to you/your device/data/etc due to use of the above stated method. You agree to perform the above at your own complete risk.