Skip to content Skip to sidebar Skip to footer

Camera.parameters.flash_mode_on Is Not Working On Moto X

I m testing my app on moto x and even after setting flash mode on, flash is not working. App is working fine in other devices but not on Moto X. here is a code snippet cameraIn

Solution 1:

Did you see : Camera FLASH_MODE_ON not working on Moto X ?

What is

Parametersparam= mCamera.getParameters();
Log.i("camera", param.flatten().toString());

logging ? =)

Solution 2:

Well, it seems as in moto x, flash operation works only with some combination of Camera preview size and Camera picture size. I used different combination and it worked.

Post a Comment for "Camera.parameters.flash_mode_on Is Not Working On Moto X"