4

The latest Android has an Invert Colours option in quick settings.

Is there any way to turn this on automatically when a specific app is opened? Is there any other way to achieve inversion of colours inside a specific app?

| improve this question | | | | |
  • 1
    Are you rooted? Some apps can put a toggle in the notification shade so you could toggle it quickly, but it requires root. – Andy Yan Nov 18 '17 at 13:07
  • @AndyYan Not rooted. Any workaround possible in that case? – Safwan Nov 18 '17 at 13:12
  • 1
    None that I know of. Tasker might be able to do it somehow, but some actions of it also requires root, and I never used it so I don't know if doing it is one of the actions. – Andy Yan Nov 18 '17 at 13:26
4

For me Tasker did the job, but you need an additional Tasker plug in for this, called AutoTools. On my bq android device root wasn't needed to do the job. I set up a profile to invert the screen when I open specific apps like my newspaper reader.

| improve this answer | | | | |
  • What did you use to invert the screen? – endolith Feb 20 '19 at 7:29
2

Since the answer is a little light on details for novice Tasker users (like me).

Here is how to do it step by step:

  • Download and install Tasker

  • Free trial version here

  • Import the example for Tasker from here

  • The example works for Gmail app and manipulates the accessibility_display_inversion_enabled property to toggle the color inversion. Making Gmail Dark but others app normal.

  • Enable the profile

  • Now, every time you click on gmail, if it doesn't work it's because it needs more permissions (check notifications)

  • Add the "usage access" permissions and "write settings" permissions

  • You also have to enable write settings perms via adb with adb shell pm grant net.dinglisch.android.taskerm android.permission.WRITE_SECURE_SETTINGS

  • Click Gmail and color inverts

  • Leave Gmail and color inverts back

| improve this answer | | | | |
0

I use Automate, see this link. It is like Tasker and need the same permissions and preparatory actions via ADB but ligter than Tasker. And free for such small algorithms (less than 30 blocks).

| improve this answer | | | | |
0

You can always turn invert on while your where you want to use it, then when you're done turn it off. Go to settings on your phone, to accessability, to Direct access, check invert. Now go back to your home page and rapidly push the home screen button 3 times, fast. It'll come on, push it 3 times again to turn it off. There is a video online for each step of you want to Google it.

| improve this answer | | | | |
  • This seems like customization from the manufacturer since it might not exist on all devices. It'd be great if you could edit and mention the phone model and the Android version. Thanks! – Andrew T. Apr 9 at 18:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.