I am new to android application sensor. I implemented the barcode scanner with zxing library in my app. But there is requirement to switch on the flash light automatically if th