Skip to content Skip to sidebar Skip to footer

Cwac-camera Crash When Picture Taken

When my picture is taken via takePicture() function, Cwac-camera crash (depending device, work well on Desire HD, crash on Nexus S). Referring to this post : camera.setParameters f

Solution 1:

This crash is not coming from takePicture(). If you look at the stack trace, you will not see takePicture(). Instead, this is coming from an orientation change. Specifically, you appear to have the device locked to an orientation, causing CameraView to use sensors to detect the device orientation to try to adjust the camera settings, and we're dying there.

If you can reproduce this problem with the demo app, please file an issue with the steps to reproduce it, as I cannot reproduce it on a Nexus S with the demo app.

If you cannot reproduce this problem with the demo app, and you can publish a reproducible test case, please file an issue with the source code to the reproducible test case.

Otherwise, you will have to hope that the problem that you are experiencing is related to this issue on switching cameras with the Nexus S, and then further hope that I can figure out what that problem is.

Post a Comment for "Cwac-camera Crash When Picture Taken"