See the App Inventor Extensions document about how to use an App Inventor Extension.
For questions about this extension, bug reports and feature requests, please start a new thread in the App Inventor Extensions forum. Thank you.
Apr 29th, 2016: Initial version 1.
Aug 11th, 2016: Version 1a: avoid DX execution failed error: build each extension separately
Extension to turn on/off the flashlight.
Required permission: android.permission.CAMERA, android.permission.FLASHLIGHT
Minimum Android API Level for this extension is 11, which is Android 3.0 (Honeycomb)
Thank you pixabay/OpenClipartVectors for the on/off image.
Returns whether the device has flash.
Turn on the flashlight.
Turn off the flashlight.
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.