onPictureTaken never called

后端 未结 2 850
天涯浪人
天涯浪人 2021-01-28 15:15

The code works mostly fine. The only problem is that the onPictureTaken function never called. I need to use this function to store the image to SD Card.

MainActivity<

2条回答
  •  时光取名叫无心
    2021-01-28 15:51

    onPictureTaken was never called. I figured out it that because the Camera.takePicture() method was invoked many times, it caused onPictureTaken to not be called. If ShutterCallback has a code return, then onPictureTaken is also not called.

提交回复
热议问题