Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The solution is to use FLASH_MODE_TORCH and not FLASH_MODE_ON

mCamera.set(Highgui.CV_CAP_PROP_ANDROID_FLASH_MODE, Highhui.CV_CAP_ANDROID_FLASH_MODE_TORCH);

The solution is to use FLASH_MODE_TORCH FLASH_MODE_TORCH and not FLASH_MODE_ON

mCamera.set(Highgui.CV_CAP_PROP_ANDROID_FLASH_MODE, Highhui.CV_CAP_ANDROID_FLASH_MODE_TORCH);

Highhui.CV_CAP_ANDROID_FLASH_MODE_TORCH);