My problem is that th开发者_如何学JAVAe TORCH MODE is disabled when the get function onPictureTaken. How to make a torch mode on work during a photographic survey?
I hope I got your question right. Did you try setting the camera parameters?
Camera camera = Camera.open();
Camera.Parameters parameters = camera .getParameters();
parameters.setFlashMode(Camera.Parameters.FLASH_MODE_TORCH);
.
.
.
// Take image
精彩评论