How to store "Auto Brightness" value into the variable

สอนใช้แอพ Automagic * Automation
Gridvision Engineering GmbH
https://play.google.com/store/apps/details?id=ch.gridvision.ppam.androidautomagic
Post Reply
tong
Site Admin
Posts: 2386
Joined: Fri 01 May 2009 8:55 pm

How to store "Auto Brightness" value into the variable

Post by tong »

1.png 2.png How to store "Auto Brightness" value into the variable

Action Type: Init Variable System Setting
Registry Category: System
Registry Name: screen_brightness_mode
Variable: global_brightness_mode

Variable that prefix with global_ will became permanent variable which stored data on disk and can be accessed from any flows.

In these example, we will use as global_brightness_mode.
Can be seen later at the menu "Manage > Global Variables".

The meaning of any registries:
http://developer.android.com/reference/android/provider/Settings.System.html
Post Reply