[Desire Android Development] m0narx:
Logcat Log
Time Log Level Tag Process ID Message
11-10 10:43:45.634 I CameraService 1811 CameraService started: pid=1811
11-10 10:43:45.634 D CameraService 1811 create OlaEngine
create Ola FD
11-10 10:43:46.444 W HTCCamera 1779 doOnDestroy() - end
11-10 10:43:46.704 W HTCCamera 1779 onCreate()
11-10 10:43:46.864 W HTCCamera 1779 onStart() - start
onStart() - end
onResume() - start
!!!! @@@@ broadcastStopVoiceRecording() - start
11-10 10:43:46.884 W HTCCamera 1779 !!!! @@@@ broadcastStopVoiceRecording() - end
OnResume - reset UI, immediately set mMainLayout invisible
11-10 10:43:46.904 W HTCCamera 1779 Block Capture UI - onResume(), and unblock after start preview
onResume() - mFocusingState = NO_FOCUSING
keyguard is not shown !!!!!
OnResume - set mWaitResetSettings to true
onResume() - end
11-10 10:43:46.994 W HTCCamera 1779 $$$$$$$$$$$$$$$$$$$$$$$$$$$$$ surfaceCreated $$$$$$$$$$$$$$$$$$$$$$$$$$$android.view.SurfaceView$3@47ba80c8
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ surfaceCreated $$$$$$$$$$$$$$$$$$$$$$$$$$$ start preview
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ surfaceChanged $$$$$$$$$$$$$$$$$$$$$$$$$$$ w=480 h=800
11-10 10:43:46.994 W CameraThread 1779 CameraHandler Message - START_PREVIEW start mode1
11-10 10:43:47.004 E CameraThread 1779 open the Camera in start_camera_preview
11-10 10:43:47.004 W CameraSwitch 1779 open main camera
no file - can't switch camera
11-10 10:43:47.004 D CameraService 1811 CameraService::connect E (pid 1779, client 0x18120)
Client::Client E (pid 1779)
11-10 10:43:47.004 D QualcommCameraHardware 1811 createInstance: E
Storing the current target type as 2
constructor EX
startCamera E
loading liboemcamera at 0xb0010d7c
11-10 10:43:47.004 I QualcommCameraHardware 1811 Set main cam and main cam only
11-10 10:43:47.004 I mm-camera-mmap 1811 set sensor selection :0
11-10 10:43:47.224 I QualcommCameraHardware 1811 Open Device node : /dev/msm_camera/control0
11-10 10:43:47.224 I mm-camera-config 1811 cam_conf fd cfgctrl.camfd:0
Open config device node : /dev/msm_camera/config0
11-10 10:43:47.254 D mm-camera-s5k3e2fx_u 1811 lcd type = 0
11-10 10:43:47.264 I mm-camera-aec 1811 Touch AEC == numRegions:256
Touch AEC aecCtrl->aec_state.aec_algo:1
11-10 10:43:47.264 I QualcommCameraHardware 1811 startCamera: camsensor name s5k3e2fx, flash 1
11-10 10:43:47.264 D QualcommCameraHardware 1811 startCamera X
initDefaultParameters E
product 4
native_access_parm: fd 13, type 1, length 32
11-10 10:43:47.264 E QualcommCameraHardware 1811 native_access_parm: error (No such file or directory): fd 13, type 1, length 32, status 0
11-10 10:43:47.264 D QualcommCameraHardware 1811 native_access_parm: fd 13, type 64, length 4
11-10 10:43:47.274 D QualcommCameraHardware 1811 native_access_parm: fd 13, type 65, length 4
native_access_parm: fd 13, type 66, length 4
requested preview size 768 x 432
requested picture size 1024 x 768
value:25002, country value:250, country code:250
native_access_parm: fd 13, type 21, length 4
native_access_parm: fd 13, type 14, length 4
setFlash 0
native_access_parm: fd 13, type 49, length 4
11-10 10:43:47.274 D mm-camera-ctrlcmd 1811 In config_proc_CAMERA_SET_PARM_LED_MODE: 0
11-10 10:43:47.274 I QualcommCameraHardware 1811 Set zoom=0 20
11-10 10:43:47.274 D QualcommCameraHardware 1811 native_access_parm: fd 13, type 2, length 4
11-10 10:43:47.274 I QualcommCameraHardware 1811 Setting Contrast is 5
11-10 10:43:47.274 D QualcommCameraHardware 1811 native_access_parm: fd 13, type 6, length 4
11-10 10:43:47.274 I QualcommCameraHardware 1811 Setting Brightness is 3
11-10 10:43:47.274 D QualcommCameraHardware 1811 native_access_parm: fd 13, type 7, length 4
native_access_parm: fd 13, type 12, length 4
11-10 10:43:47.274 I mm-camera-ctrlcmd 1811 md.d.aec_mode.aec_mode:1
11-10 10:43:47.274 I mm-camera-aec 1811 Touch AEC == numRegions:256
Touch AEC aecCtrl->aec_state.aec_algo:1
11-10 10:43:47.274 D QualcommCameraHardware 1811 not defined touch-focus yet, or AP without touch-focus function
11-10 10:43:47.274 I QualcommCameraHardware 1811 Before Setting coordinate x:384 y:216
Setting coordinate x:2 y:2
11-10 10:43:47.274 D QualcommCameraHardware 1811 native_access_parm: fd 13, type 60, length 28
11-10 10:43:47.274 I mm-camera 8x vfe 1811 vfe_set_coordinate x:2 y:2
11-10 10:43:47.274 D QualcommCameraHardware 1811 native_access_parm: fd 13, type 26, length 4
11-10 10:43:47.274 D mm-camera-ctrlcmd 1811 md.d.aec_iso_mode = 0
11-10 10:43:47.274 D QualcommCameraHardware 1811 native_access_parm: fd 13, type 62, length 4
native_access_parm: fd 13, type 8, length 4
virtual android::status_t android::QualcommCameraHardware::setParameters(const android::CameraParameters&), final_rc=0
initDefaultParameters X
createInstance: X created hardware=0x181e0
11-10 10:43:47.284 D CameraService 1811 Client::Client X (pid 1779)
CameraService::connect X
11-10 10:43:47.284 W CameraThread 1779 Open Camera - set mIsLastCameraClosed to false
!!!!SUPPORTED LIST!!!! WHY?->11-10 10:43:47.684 E CameraController 1779 SupportedList.FlashMode == null
SupportedList.FocusModes == null
SupportedList.WhiteBalance == null
SupportedList.Effects == null
SupportedList.Antibanding == null
11-10 10:43:47.684 W Camera 1779 Camera server died!
ICamera died
11-10 10:43:47.684 W HTCCameraAdvanceSetting 1779 version: 20100727, not need to update
not reset to default and preference existed
11-10 10:43:47.684 W CameraThread 1779 Disable touch aec !!!
Start preview - disable continue AF !!!
reset flashlight mode !!!
11-10 10:43:47.684 E CameraController 1779 not support FlashMode !!
11-10 10:43:47.694 W HTCCamera 1779 reset_layout_from_surface - width: 480, height: 800
Reset layout end, set mMainLayout visible
11-10 10:43:47.704 E CameraController 1779 not support WhiteBalance !!
exposure-compensation: set value failed !!
java.lang.NullPointerException
at org.apache.harmony.luni.util.FloatingPointParser.parseFloat(FloatingPointParser.java:301)
at java.lang.Float.parseFloat(Float.java:291)
at android.hardware.Camera$Parameters.getFloat(Camera.java:1832)
at android.hardware.Camera$Parameters.getExposureCompensationStep(Camera.java:1722)
at com.android.camera.CameraController.getSettingsInfo(CameraController.java:409)
at com.android.camera.CameraController.mapBarLevel2SettingValue(CameraController.java:315)
at com.android.camera.CameraThread.setParameterFromBarLevel(CameraThread.java:2559)
at com.android.camera.CameraThread.loadSettings(CameraThread.java:2342)
at com.android.camera.CameraThread.start_preview(CameraThread.java:1662)
at com.android.camera.CameraThread$MainHandler.handleMessage(CameraThread.java:335)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:143)
at com.android.camera.CameraThread.run(CameraThread.java:2112)
11-10 10:43:47.734 E CameraController 1779 contrast: set min, max value failed !!
java.lang.NumberFormatException: unable to parse 'null' as integer
at java.lang.Integer.parseInt(Integer.java:406)
at java.lang.Integer.parseInt(Integer.java:382)
at android.hardware.Camera$Parameters.getInt(Camera.java:990)
at com.android.camera.CameraController.getSettingsInfo(CameraController.java:443)
at com.android.camera.CameraController.mapBarLevel2SettingValue(CameraController.java:315)
at com.android.camera.CameraThread.setParameterFromBarLevel(CameraThread.java:2559)
at com.android.camera.CameraThread.setImageProperty(CameraThread.java:2533)
at com.android.camera.CameraThread.loadSettings(CameraThread.java:2441)
at com.android.camera.CameraThread.start_preview(CameraThread.java:1662)
at com.android.camera.CameraThread$MainHandler.handleMessage(CameraThread.java:335)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:143)
at com.android.camera.CameraThread.run(CameraThread.java:2112)
contrast: set default value failed !!
java.lang.NumberFormatException: unable to parse 'null' as integer
at java.lang.Integer.parseInt(Integer.java:406)
at java.lang.Integer.parseInt(Integer.java:382)
at android.hardware.Camera$Parameters.getInt(Camera.java:990)
at com.android.camera.CameraController.getSettingsInfo(CameraController.java:453)
at com.android.camera.CameraController.mapBarLevel2SettingValue(CameraController.java:315)
at com.android.camera.CameraThread.setParameterFromBarLevel(CameraThread.java:2559)
at com.android.camera.CameraThread.setImageProperty(CameraThread.java:2533)
at com.android.camera.CameraThread.loadSettings(CameraThread.java:2441)
at com.android.camera.CameraThread.start_preview(CameraThread.java:1662)
at com.android.camera.CameraThread$MainHandler.handleMessage(CameraThread.java:335)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:143)
at com.android.camera.CameraThread.run(CameraThread.java:2112)
contrast: set current value failed !!
java.lang.NumberFormatException: unable to parse 'null' as integer
at java.lang.Integer.parseInt(Integer.java:406)
at java.lang.Integer.parseInt(Integer.java:382)
at android.hardware.Camera$Parameters.getInt(Camera.java:990)
at com.android.camera.CameraController.getSettingsInfo(CameraController.java:460)
at com.android.camera.CameraController.mapBarLevel2SettingValue(CameraController.java:315)
at com.android.camera.CameraThread.setParameterFromBarLevel(CameraThread.java:2559)
at com.android.camera.CameraThread.setImageProperty(CameraThread.java:2533)
at com.android.camera.CameraThread.loadSettings(CameraThread.java:2441)
at com.android.camera.CameraThread.start_preview(CameraThread.java:1662)
at com.android.camera.CameraThread$MainHandler.handleMessage(CameraThread.java:335)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:143)
at com.android.camera.CameraThread.run(CameraThread.java:2112)
saturation: set min, max value failed !!
java.lang.NumberFormatException: unable to parse 'null' as integer
at java.lang.Integer.parseInt(Integer.java:406)
at java.lang.Integer.parseInt(Integer.java:382)
at android.hardware.Camera$Parameters.getInt(Camera.java:990)
at com.android.camera.CameraController.getSettingsInfo(CameraController.java:418)
at com.android.camera.CameraController.mapBarLevel2SettingValue(CameraController.java:315)
at com.android.camera.CameraThread.setParameterFromBarLevel(CameraThread.java:2559)
at com.android.camera.CameraThread.setImageProperty(CameraThread.java:2539)
at com.android.camera.CameraThread.loadSettings(CameraThread.java:2441)
at com.android.camera.CameraThread.start_preview(CameraThread.java:1662)
at com.android.camera.CameraThread$MainHandler.handleMessage(CameraThread.java:335)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:143)
at com.android.camera.CameraThread.run(CameraThread.java:2112)
saturation: set default value failed !!
java.lang.NumberFormatException: unable to parse 'null' as integer
at java.lang.Integer.parseInt(Integer.java:406)
at java.lang.Integer.parseInt(Integer.java:382)
at android.hardware.Camera$Parameters.getInt(Camera.java:990)
at com.android.camera.CameraController.getSettingsInfo(CameraController.java:428)
at com.android.camera.CameraController.mapBarLevel2SettingValue(CameraController.java:315)
at com.android.camera.CameraThread.setParameterFromBarLevel(CameraThread.java:2559)
at com.android.camera.CameraThread.setImageProperty(CameraThread.java:2539)
at com.android.camera.CameraThread.loadSettings(CameraThread.java:2441)
at com.android.camera.CameraThread.start_preview(CameraThread.java:1662)
at com.android.camera.CameraThread$MainHandler.handleMessage(CameraThread.java:335)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:143)
at com.android.camera.CameraThread.run(CameraThread.java:2112)
11-10 10:43:47.764 E CameraController 1779 saturation: set current value failed !!
java.lang.NumberFormatException: unable to parse 'null' as integer
at java.lang.Integer.parseInt(Integer.java:406)
at java.lang.Integer.parseInt(Integer.java:382)
at android.hardware.Camera$Parameters.getInt(Camera.java:990)
at com.android.camera.CameraController.getSettingsInfo(CameraController.java:435)
at com.android.camera.CameraController.mapBarLevel2SettingValue(CameraController.java:315)
at com.android.camera.CameraThread.setParameterFromBarLevel(CameraThread.java:2559)
at com.android.camera.CameraThread.setImageProperty(CameraThread.java:2539)
at com.android.camera.CameraThread.loadSettings(CameraThread.java:2441)
at com.android.camera.CameraThread.start_preview(CameraThread.java:1662)
at com.android.camera.CameraThread$MainHandler.handleMessage(CameraThread.java:335)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:143)
at com.android.camera.CameraThread.run(CameraThread.java:2112)
sharpness: set min, max value failed !!
java.lang.NumberFormatException: unable to parse 'null' as integer
at java.lang.Integer.parseInt(Integer.java:406)
at java.lang.Integer.parseInt(Integer.java:382)
at android.hardware.Camera$Parameters.getInt(Camera.java:990)
at com.android.camera.CameraController.getSettingsInfo(CameraController.java:468)
at com.android.camera.CameraController.mapBarLevel2SettingValue(CameraController.java:315)
at com.android.camera.CameraThread.setParameterFromBarLevel(CameraThread.java:2559)
at com.android.camera.CameraThread.setImageProperty(CameraThread.java:2545)
at com.android.camera.CameraThread.loadSettings(CameraThread.java:2441)
at com.android.camera.CameraThread.start_preview(CameraThread.java:1662)
at com.android.camera.CameraThread$MainHandler.handleMessage(CameraThread.java:335)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:143)
at com.android.camera.CameraThread.run(CameraThread.java:2112)
sharpness: set default value failed !!
java.lang.NumberFormatException: unable to parse 'null' as integer
at java.lang.Integer.parseInt(Integer.java:406)
at java.lang.Integer.parseInt(Integer.java:382)
at android.hardware.Camera$Parameters.getInt(Camera.java:990)
at com.android.camera.CameraController.getSettingsInfo(CameraController.java:478)
at com.android.camera.CameraController.mapBarLevel2SettingValue(CameraController.java:315)
at com.android.camera.CameraThread.setParameterFromBarLevel(CameraThread.java:2559)
at com.android.camera.CameraThread.setImageProperty(CameraThread.java:2545)
at com.android.camera.CameraThread.loadSettings(CameraThread.java:2441)
at com.android.camera.CameraThread.start_preview(CameraThread.java:1662)
at com.android.camera.CameraThread$MainHandler.handleMessage(CameraThread.java:335)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:143)
at com.android.camera.CameraThread.run(CameraThread.java:2112)
sharpness: set current value failed !!
java.lang.NumberFormatException: unable to parse 'null' as integer
at java.lang.Integer.parseInt(Integer.java:406)
at java.lang.Integer.parseInt(Integer.java:382)
at android.hardware.Camera$Parameters.getInt(Camera.java:990)
at com.android.camera.CameraController.getSettingsInfo(CameraController.java:485)
at com.android.camera.CameraController.mapBarLevel2SettingValue(CameraController.java:315)
at com.android.camera.CameraThread.setParameterFromBarLevel(CameraThread.java:2559)
at com.android.camera.CameraThread.setImageProperty(CameraThread.java:2545)
at com.android.camera.CameraThread.loadSettings(CameraThread.java:2441)
at com.android.camera.CameraThread.start_preview(CameraThread.java:1662)
at com.android.camera.CameraThread$MainHandler.handleMessage(CameraThread.java:335)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:143)
at com.android.camera.CameraThread.run(CameraThread.java:2112)
not support Antibanding !!
11-10 10:43:47.764 W CameraThread 1779 start preview, mTakeFocus = false
CameraHandler Message - START_PREVIEW end
11-10 10:43:47.764 E Camera 1779 Error 100
11-10 10:43:47.764 E CameraThread 1779 got ErrorCallback !!!
error = Camera.CAMERA_ERROR_SERVER_DIED
11-10 10:43:47.764 W CameraThread 1779 got ErrorCallback - mCaptureState = CAPTURE_STATE_ERROR
11-10 10:43:47.764 E CameraThread 1779 got ErrorCallback, Camera app finished
11-10 10:43:47.794 W HTCCamera 1779 UIHandler Message - DO_CREATE_RESUME_AFTER_PREVIEW start
initOnCreate_after_preview() - start
initOnCreate_after_preview() - set mMainLayout visible
11-10 10:43:48.064 W HTCCamera 1779 initOnCreate_after_preview() - end
UIHandler Message - DO_CREATE_RESUME_AFTER_PREVIEW end
11-10 10:43:48.244 W HTCCamera 1779 onPause() - start
onPause() - mIsUIReady = false
11-10 10:43:48.264 W HTCCamera 1779 onPause() - mFocusingState = NO_FOCUSING
OnPause - set mWaitResetSettings to false
releaseFaceDetection()
onPause mIdle is false
11-10 10:43:48.264 W CameraThread 1779 CameraHandler Message - CLOSE_CAMERA start mMode=1
Release Camera - set mIsLastCameraClosed to true
CameraHandler Message - CLOSE_CAMERA end
11-10 10:43:48.304 W HTCCamera 1779 OnPause - Freeze UI !!!
11-10 10:43:48.314 W HTCCamera 1779 doOnPause() - start
OnPause - hide UI, set mMainLayout invisible
doOnPause() - end
onPause() - end
11-10 10:43:48.554 W HTCCamera 1779 $$$$$$$$$$$$$$$$$$$$$$$$$$$$$ surfaceDestroyed $$$$$$$$$$$$$$$$$$$$$$$$$$$
11-10 10:43:48.584 W HTCCamera 1779 onStop() - start
onStop() - end
onDestroy() - start
11-10 10:43:48.604 W CameraThread 1779 CameraHandler Message - QUIT_CAMERA_THREAD start
11-10 10:43:48.604 E CameraThread 1779 mCameraDevice == null in close_camera
11-10 10:43:48.604 W CameraThread 1779 CameraHandler Message - QUIT_CAMERA_THREAD end
11-10 10:43:48.614 W HTCCamera 1779 onDestroy() - end
11-10 10:43:49.084 W HTCCamera 1779 doOnDestroy() - start
11-10 10:43:50.484 I CameraService 1825 CameraService started: pid=1825
11-10 10:43:50.484 D CameraService 1825 create OlaEngine
create Ola FD
11-10 10:43:51.114 W HTCCamera 1779 doOnDestroy() - end

After some modifications i got this... any ideas(line starts from: 1-10 10:43:47.684)?