See the App Inventor Extensions document about how to use an App Inventor Extension.
For questions about this extension or bug reports please start a new thread in the App Inventor Extensions forum. Thank you.
For feature requests please contact me by email. To be a sponsor of a new method already is possible starting from only 10 USD! With your contribution you will help the complete App Inventor community. Thank you.
Aug 22nd, 2016: Version 1
Light Sensor component.
Required permissions: none
Thank you Branislav, Rodolfo and Ricardo for being the sponsor of this extension!
Returns whether sensor is available.
Returns whether sensor is enabled.
Specifies whether sensor is enabled.
Returns the illuminance in lux. To return meaningful values the sensor must be enabled.
Event indicating that a sensor change occurred.
Tested successfully on Nexus 5 running Android 6.0.1.
I can help you: for one hour I charge 25 USD.
Please contact me at info [at] puravidaapps [dot] com for details!
For questions about App Inventor, please use the App Inventor forum. Thank you.
If you find this example helpful and you are using it in one of your projects,
be nice and donate a small amount!
or donate some mBTC to Address:
Thank you! Taifun
This work by Pura Vida Apps is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License
with attribution (name=Pura Vida Apps and link to the source site) required.