Raconeisteron / omnia2droid

Automatically exported from code.google.com/p/omnia2droid
0 stars 0 forks source link

camera: didn't work at all #181

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Start Android
2. Launch Camera App

What is the expected output? What do you see instead?
I see black screen and then error messagebox with: com.android.camera has stop 
unexpectedly.

What version of the product are you using? On what operating system?
CyanogenMod beta 1 + all fixes

Please provide any additional information below.
Log of Android System:
D/S3C6410Camera( 1930): ##############:S3C6410Camera()
D/S3C6410Camera( 1930): # m_createJpeg
E/S3C6410Camera( 1930): !!getPictureMaxSize 
E/S3C6410Camera( 1930): getPictureMaxSize CAMERA_ID_BACK  
DEFAULT_CAMERA_BACK_PICTURE_HEIGHT= 1920 DEFAULT_CAMERA_BACK_PICTURE_WIDTH = 
2560 
E/S3C6410Camera( 1930): getCameraConstrainWidth: color_format= 0 
E/S3C6410Camera( 1930): setPictureColorFormat new = 4  old = 
V/SecCameraHardware( 1930): virtual android::status_t 
android::SecCameraHardware::setParameters(const android::CameraParameters&) : 
new_picture_width x new_picture_height = 2560x1920
E/S3C6410Camera( 1930): setPictureSize width= 2560 height = 1920 
E/SecCameraHardware( 1930): BEFORE SETTINGS SETAFMODE 
E/S3C6410Camera( 1930): setAFMode 
D/Camera  ( 3739): app passed NULL surface
D/dalvikvm( 3739): Trying to load lib /lib/libmedia_jni.so 0x0
D/dalvikvm( 3739): Shared lib '/lib/libmedia_jni.so' already loaded in same CL 
0x0
E/S3C6410Camera( 1930): getCameraConstrainWidth: color_format= 0 
E/S3C6410Camera( 1930): setPictureColorFormat new = 4  old = 
V/SecCameraHardware( 1930): virtual android::status_t 
android::SecCameraHardware::setParameters(const android::CameraParameters&) : 
new_picture_width x new_picture_height = 2560x1920
E/S3C6410Camera( 1930): setPictureSize width= 2560 height = 1920 
E/SecCameraHardware( 1930): BEFORE SETTINGS SETAFMODE 
E/S3C6410Camera( 1930): setAFMode 
V/camera  ( 3739): startPreview
E/SecCameraHardware( 1930): ####startPreview 
W/WindowManager( 2031): App freeze timeout expired.
W/WindowManager( 2031): Force clearing freeze: AppWindowToken{4695fe78 
token=HistoryRecord{46498640 com.android.camera/.Camera}}
D/dalvikvm( 2031): GC_EXPLICIT freed 5495 objects / 258384 bytes in 314ms
W/ActivityManager( 2031): Launch timeout has expired, giving up wake lock!
W/ActivityManager( 2031): Activity idle timeout for HistoryRecord{46498640 
com.android.camera/.Camera}
D/dalvikvm( 2968): GC_EXTERNAL_ALLOC freed 10335 objects / 1155352 bytes in 
268ms
E/S3C6410Camera( 1930): int 
android::S3C6410Camera::m_setCameraId(int)::[VIDIOC_S_INPUT] failed
E/S3C6410Camera( 1930): int 
android::S3C6410Camera::m_resetCamera(int)::m_setCameraId(1) fail 
E/S3C6410Camera( 1930): int 
android::S3C6410Camera::m_startCamera(int)::m_resetCamera fail
E/S3C6410Camera( 1930): int 
android::S3C6410Camera::startCamera(int)::m_startCamera(0) fail
E/SecCameraHardware( 1930): virtual android::status_t 
android::SecCameraHardware::startPreview(void (*)(const 
android::sp<android::IMemory>&, void*), 
void*)::t_camera->startCamera(CAMERA_MODE_PREVIEW) fail
W/dalvikvm( 3739): threadid=8: thread exiting with uncaught exception 
(group=0x4001d808)
E/AndroidRuntime( 3739): FATAL EXCEPTION: Thread-9
E/AndroidRuntime( 3739): java.lang.RuntimeException: startPreview failed
E/AndroidRuntime( 3739):    at 
com.android.camera.Camera.startPreview(Camera.java:1677)
E/AndroidRuntime( 3739):    at 
com.android.camera.Camera.access$5600(Camera.java:94)
E/AndroidRuntime( 3739):    at com.android.camera.Camera$4.run(Camera.java:930)
E/AndroidRuntime( 3739):    at java.lang.Thread.run(Thread.java:1096)
E/AndroidRuntime( 3739): Caused by: java.lang.RuntimeException: startPreview 
failed
E/AndroidRuntime( 3739):    at android.hardware.Camera.startPreview(Native Method)
E/AndroidRuntime( 3739):    at 
com.android.camera.Camera.startPreview(Camera.java:1674)
E/AndroidRuntime( 3739):    ... 3 more

Original issue reported on code.google.com by user.f.l...@gmail.com on 21 Jan 2012 at 2:59

GoogleCodeExporter commented 9 years ago
Oops, excuse me. I see this Issue is already published. Please delete my post.
Sorry.

Original comment by user.f.l...@gmail.com on 21 Jan 2012 at 3:05

GoogleCodeExporter commented 9 years ago
is there a solution fos this?

Original comment by igngalle...@gmail.com on 22 Mar 2013 at 3:37