The short answer is no; The front LED is controlled as a flash mode, which is a property of the camera. This is the torch mode. And no application can open the camera at the same time.
(The longer answer is that there was a hidden API for this that the barcode scanner is trying to access, but it hardly works on almost any device. You can paste the source code to see it FlashlightManager.)
Since Android 2.x has a corresponding API for turning on the light, the beta version of the next version of the barcode scanner really uses it. You can try it here .
source
share