How to use camera flash/led as torch on a Samsung Galaxy Tab?
You aren’t doing anything wrong. In fact, you are doing everything correct. You are encountering a Device-Specific issue that is very prevalent in the Android world. I have found the following behavioral patterns for FLASH_MODE_TORCH: Works fine in all cases Works fine, but not with autofocus on Doesn’t work at all Frustratingly, getSupportedFlashModes() will return … Read more