I’m setting flash mode to AUTO in my app, but flash does not kick off under the same conditions as under the official Android Camera app. In my app it kick off only under substantially less light.
What other parameter could have an affect on when flash should kick off?
Also, as a follow up question: is there a way to read the lighting conditions (let’s say, when the camera focuses), so that I can determine FLASH_MODE_ON or FLASH_MODE_OFF programmatically myself?
I’m testing on Galaxy S III / latest CM10.
Have you checked the scene mode that is currently set. I think camera flash works differently in different scene modes. Use
getSceneMode()to find your current sceneMode and change it usingsetSceneMode().Source: Android Documentation