Android - Fail to connect to camera

Posted by teepusink on Stack Overflow See other posts from Stack Overflow or by teepusink
Published on 2010-04-01T22:00:13Z Indexed on 2010/04/01 22:03 UTC
Read the original article Hit count: 922

Filed under:

Hi,

I'm using the Android APIDemo sample code.

When I run the CameraPreview example, at first it was giving me an error.
(http://stackoverflow.com/questions/2556389/android-camera-functionality-howto)

I traced that one down and the sample was working for a while.
Now, it no longer works. It says ERROR/AndroidRuntime(2949): java.lang.RuntimeException: Fail to connect to camera service

What can be causing that? It happens when camera.open() is called.

Thanks,
Tee

© Stack Overflow or respective owner

Related posts about android