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?
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It only takes a minute to sign up.
Sign up to join this communityThe 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?
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.
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
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).
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.