Camera Error 100

Viewed 27227

I'm testing my application on Samsung Galaxy Ace, and I get the supported sizes with

cameraParams.getSupportedPictureSizes();

It works with all of them except of (320 x 240) - the preview turns black and I get this error: Camera Error 100

5 Answers

Removing the preview format might help in this case. I was setting the preview format as

param.setPreviewFormat(ImageFormat.YV12);

Removing above line solved the problem for me.

Related