cameraview
cameraview copied to clipboard
Take picture crash fix
This is fix for my #96. I got exception every time when moved phone and took picture in the same time(as described in #96). Exception isn't verbose enough and doesn't explain the cause of exception which is originally thrown from internal native code. So to avoid app crash we can catch exception when calling mCamera.takePicture(...)
.
After adding this try-catch
block we still get same exception and log it, but app doesn't crash and picture is actually taken.
It seems to me that this is simply ignoring the error rather than fixing it.
@yaraki Agree. But it crashes in native method without any explanation about the cause. Is it possible to somehow detect the cause?
Did this ever get fixed? At least partially?