Hi, I want to display the brightness value of the built-in light sensor in a "Floating Text".
I can display the battery temperature (battery_temp) and the system time (system_time)
without problems.
-How do I display the brightness value of the light sensor ?
Battery temperature ---> {battery_temp}
Time ---> {system_time}
Current value of light sensor ---> { ? }
PS:
I changed the Android Settings to "1 minute" because normally the light sensor is inactive when screen off:
Android Settings -> Trigger options -> Light sensor trigger -> Light sensor background update rate: [1 minute]
Now the light sensor provides the brightness value every minute.
I can display the battery temperature (battery_temp) and the system time (system_time)
without problems.
-How do I display the brightness value of the light sensor ?
Battery temperature ---> {battery_temp}
Time ---> {system_time}
Current value of light sensor ---> { ? }
PS:
I changed the Android Settings to "1 minute" because normally the light sensor is inactive when screen off:
Android Settings -> Trigger options -> Light sensor trigger -> Light sensor background update rate: [1 minute]
Now the light sensor provides the brightness value every minute.