Hi,
during some tests with the AdvancedCamera library, the Camera crashed.
Now the log returns:
************************************************************************************
FATAL EXCEPTION: Thread-12
java.lang.RuntimeException: com.android.camera.CameraHardwareException: java.lang.RuntimeException: Fail to connect to camera service
at com.android.camera.Camera$3.run(Camera.java:954)
at java.lang.Thread.run(Thread.java:1019)
Caused by: com.android.camera.CameraHardwareException: java.lang.RuntimeException: Fail to connect to camera service
at com.android.camera.CameraHolder.open(CameraHolder.java:128)
at com.android.camera.Camera.ensureCameraDevice(Camera.java:1818)
at com.android.camera.Camera.startPreview(Camera.java:1870)
at com.android.camera.Camera.access$5500(Camera.java:94)
at com.android.camera.Camera$3.run(Camera.java:949)
... 1 more
Caused by: java.lang.RuntimeException: Fail to connect to camera service
at android.hardware.Camera.native_setup(Native Method)
at android.hardware.Camera.<init>(Camera.java:258)
at android.hardware.Camera.open(Camera.java:220)
at com.android.camera.CameraHolder.open(CameraHolder.java:124)
... 5 more
Force finishing activity com.android.camera/.Camera
Force finishing activity cl.b4a/.main
************************************************************************************
The Camera does not work anymore, even with the software included in my smartphone.
To restore the Camera I have to shut down and restart my smartphone.
Is there a way to programmatically reset the device of the Camera?
Is there a way to check if the Camera is crashing?
My phones are Xperia x8 and LG P500.
The versions of Android are 2.3.7 and 2.3.3.
Thanks a lot
Vincenzo
during some tests with the AdvancedCamera library, the Camera crashed.
Now the log returns:
************************************************************************************
FATAL EXCEPTION: Thread-12
java.lang.RuntimeException: com.android.camera.CameraHardwareException: java.lang.RuntimeException: Fail to connect to camera service
at com.android.camera.Camera$3.run(Camera.java:954)
at java.lang.Thread.run(Thread.java:1019)
Caused by: com.android.camera.CameraHardwareException: java.lang.RuntimeException: Fail to connect to camera service
at com.android.camera.CameraHolder.open(CameraHolder.java:128)
at com.android.camera.Camera.ensureCameraDevice(Camera.java:1818)
at com.android.camera.Camera.startPreview(Camera.java:1870)
at com.android.camera.Camera.access$5500(Camera.java:94)
at com.android.camera.Camera$3.run(Camera.java:949)
... 1 more
Caused by: java.lang.RuntimeException: Fail to connect to camera service
at android.hardware.Camera.native_setup(Native Method)
at android.hardware.Camera.<init>(Camera.java:258)
at android.hardware.Camera.open(Camera.java:220)
at com.android.camera.CameraHolder.open(CameraHolder.java:124)
... 5 more
Force finishing activity com.android.camera/.Camera
Force finishing activity cl.b4a/.main
************************************************************************************
The Camera does not work anymore, even with the software included in my smartphone.
To restore the Camera I have to shut down and restart my smartphone.
Is there a way to programmatically reset the device of the Camera?
Is there a way to check if the Camera is crashing?
My phones are Xperia x8 and LG P500.
The versions of Android are 2.3.7 and 2.3.3.
Thanks a lot
Vincenzo