cameraview icon indicating copy to clipboard operation
cameraview copied to clipboard

Take picture crash fix

Open andreilisun opened this issue 8 years ago • 3 comments

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.

andreilisun avatar Feb 14 '17 20:02 andreilisun

It seems to me that this is simply ignoring the error rather than fixing it.

yaraki avatar Mar 13 '17 07:03 yaraki

@yaraki Agree. But it crashes in native method without any explanation about the cause. Is it possible to somehow detect the cause?

andreilisun avatar Mar 13 '17 09:03 andreilisun

Did this ever get fixed? At least partially?

minsik-ai avatar Jul 10 '18 07:07 minsik-ai