I have a project to detect heartbeat by LED Flash Light and back camera. There are many apps already in the google play market. Such as
this is a simple B4A class to make easy the use of the built-in led of our beloved android devices.
Tested on various devices up to android 8.
The goal is to use the led as a Torch.
The code is commented and comes with an example.
It uses inline java and depends on:
Hi to all,
I'am trying to use the flash led of the phone like a Torch. I searched the community and found some examples (listed below), but none of them work in newer phone.
To be more specific:
- Motorola XT1039, Android 5: All example works
- Sony Z5 Compact, Android 7: No Example Work