Camera Error 100

后端 未结 5 1152
孤街浪徒
孤街浪徒 2020-12-16 19:05

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

cameraParams.getSupportedPictureSizes();

It works wit

5条回答
  •  青春惊慌失措
    2020-12-16 19:49

    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.

提交回复
热议问题