Android camera freezes after taking one photo

后端 未结 6 1476
我在风中等你
我在风中等你 2021-01-04 00:34

I\'m doing one project with camera and after taking one photo camera freezes and u have to finish the activity and recall it again to take another photo, how can I take phot

6条回答
  •  庸人自扰
    2021-01-04 01:25

    after capturing image you should stop the preview and start it back again.

    mCamera.stopPreview();
    mCamera.startPreview();
    

    it would work fine.

提交回复
热议问题