views:

128

answers:

0

Hi to all,

We tried the following code.without video code audio is recorded. it is working fine but when add the video code the file is create with zero bytes.I am new to this topic.please help me. i got some errors.these are after the code the code is :

 public class videoAudio extends Activity implements

SurfaceHolder.Callback { private MediaRecorder mediaRecorder; File videorec; String TAG="VideoRecording";

@Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main);

SurfaceView surface = (SurfaceView)findViewById(R.id.surface); SurfaceHolder holder = surface.getHolder(); holder.addCallback(this); holder.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS); holder.setFixedSize(400,300); }

public void surfaceCreated(SurfaceHolder holder) { if (mediaRecorder == null) { try { mediaRecorder = new MediaRecorder(); // mediaRecorder.setPreviewDisplay(previewSurface);

      mediaRecorder.setAudioSource(MediaRecorder.AudioSource.MIC);

mediaRecorder.setVideoSource(MediaRecorder.VideoSource.CAMERA);

mediaRecorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);

mediaRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB);

mediaRecorder.setVideoEncoder(MediaRecorder.VideoEncoder.MPEG_4_SP);

      mediaRecorder.setMaxDuration(1000 * 10);
     // mediaRecorder.setOnInfoListener(self);

      mediaRecorder.setVideoSize(200, 200);
      mediaRecorder.setVideoFrameRate(15);


     // mediaRecorder.setOutputFile("/sdcard/test.mp4");
      if (videorec == null) {
             File sampleDir =

Environment.getExternalStorageDirectory();

             try {
                    videorec = File.createTempFile("Eminosoft1", ".3gp",

sampleDir); } catch (IOException e) { Log.e(TAG,"sdcard access error"); return; } }

      mediaRecorder.setOutputFile(videorec.getAbsolutePath());

      mediaRecorder.prepare();
      mediaRecorder.start();


  /* mediaRecorder.setAudioSource(MediaRecorder.AudioSource.MIC);

mediaRecorder.setVideoSource(MediaRecorder.VideoSource.CAMERA);

mediaRecorder.setOutputFormat(MediaRecorder.OutputFormat.DEFAULT);

mediaRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.DEFAULT);

mediaRecorder.setVideoEncoder(MediaRecorder.VideoEncoder.DEFAULT); mediaRecorder.setOutputFile("/sdcard/myoutputfile.mp4");

   mediaRecorder.setPreviewDisplay(holder.getSurface());
   mediaRecorder.prepare();*/
 } catch (IllegalArgumentException e) {
   Log.d("MEDIA_PLAYER", e.getMessage());
 } catch (IllegalStateException e) {
   Log.d("MEDIA_PLAYER", e.getMessage());
 } catch (IOException e) {
   Log.d("MEDIA_PLAYER", e.getMessage());
 }

} }

public void surfaceDestroyed(SurfaceHolder holder) { mediaRecorder.release(); }

public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { }

}

I got following errors at runtime.

07-27 16:24:21.750: DEBUG/dalvikvm(218): GC freed 56 objects / 2760

bytes in 93ms 07-27 16:24:23.860: DEBUG/PowerManagerService(90): New lightsensor value:90, lcdValue:126 07-27 16:24:27.330: DEBUG/DragLayer(170): touch event action ACTION_DOWN 07-27 16:24:27.360: DEBUG/ScrollKPI: drawScreenCache takes 20ms, drawThumbnailCache takes 12ms 07-27 16:24:27.400: DEBUG/DragLayer(170): touch event action ACTION_UP 07-27 16:24:27.460: DEBUG/dalvikvm(170): GC freed 569 objects / 30016 bytes in 55ms 07-27 16:24:30.570: DEBUG/DragLayer(170): touch event action ACTION_DOWN 07-27 16:24:30.650: DEBUG/DragLayer(170): touch event action ACTION_UP 07-27 16:24:30.750: INFO/ActivityManager(90): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.videoAudio/.videoAudio } 07-27 16:24:30.840: INFO/ActivityManager(90): Start proc com.videoAudio for activity com.videoAudio/.videoAudio: pid=2674 uid=10079 gids={3003, 1006, 1015} 07-27 16:24:30.840: DEBUG/CIQ(90): throwUI04 com.videoAudio 07-27 16:24:30.840: DEBUG/CIQ(90): processName com.videoAudio 07-27 16:24:30.900: DEBUG/ddm-heap(2674): Got feature list request 07-27 16:24:30.910: DEBUG/AK8973(59): Compass Start 07-27 16:24:30.910: DEBUG/Sensors(90): open_akm, fd=156 07-27 16:24:30.990: DEBUG/PhoneWindow(2674): DebugMonitor class=com.videoAudio.videoAudio focus=true 07-27 16:24:31.030: INFO/AuthorDriver(55): AuthorDriver::enqueueCommand(), after mCommandQueue.push_front(ac) 07-27 16:24:31.030: INFO/AuthorDriver(55): AuthorDriver::enqueueCommand(), before syncsemcopy->Wait() 07-27 16:24:31.030: INFO/AuthorDriver(55): AuthorDriver::enqueueCommand(), after syncsemcopy->Wait() 07-27 16:24:31.030: INFO/AuthorDriver(55): AuthorDriver::enqueueCommand(), after mCommandQueue.push_front(ac) 07-27 16:24:31.040: INFO/AuthorDriver(55): AuthorDriver::enqueueCommand(), before syncsemcopy->Wait() 07-27 16:24:31.040: INFO/AuthorDriver(55): AuthorDriver::syncCompletion(), after ed->mSyncSem->Signal() 07-27 16:24:31.040: ERROR/audio_input(55): unsupported parameter: x- pvmf/media-input-node/cap-config-interface;valtype=key_specific_value 07-27 16:24:31.040: ERROR/audio_input(55): VerifyAndSetParameter failed 07-27 16:24:31.040: INFO/AuthorDriver(55): AuthorDriver::enqueueCommand(), after syncsemcopy->Wait() 07-27 16:24:31.040: INFO/AuthorDriver(55): AuthorDriver::enqueueCommand(), after mCommandQueue.push_front(ac) 07-27 16:24:31.040: INFO/AuthorDriver(55): AuthorDriver::enqueueCommand(), before syncsemcopy->Wait() 07-27 16:24:31.040: INFO/AuthorDriver(55): AuthorDriver::syncCompletion(), after ed->mSyncSem->Signal() 07-27 16:24:31.040: ERROR/CameraInput(55): Unsupported parameter(x- pvmf/media-input-node/cap-config-interface;valtype=key_specific_value) 07-27 16:24:31.040: ERROR/CameraInput(55): VerifiyAndSetParameter failed on parameter #0 07-27 16:24:31.040: INFO/AuthorDriver(55): AuthorDriver::enqueueCommand(), after syncsemcopy->Wait() 07-27 16:24:31.040: INFO/AuthorDriver(55): AuthorDriver::enqueueCommand(), after mCommandQueue.push_front(ac) 07-27 16:24:31.040: INFO/AuthorDriver(55): AuthorDriver::enqueueCommand(), before syncsemcopy->Wait() 07-27 16:24:31.040: INFO/AuthorDriver(55): AuthorDriver::syncCompletion(), after ed->mSyncSem->Signal() 07-27 16:24:31.040: INFO/AuthorDriver(55): AuthorDriver::enqueueCommand(), after syncsemcopy->Wait() 07-27 16:24:31.040: INFO/AuthorDriver(55):

AuthorDriver::enqueueCommand(), before syncsemcopy->Wait() 07-27 16:24:31.060: INFO/AuthorDriver(55): AuthorDriver::enqueueCommand(), after syncsemcopy->Wait() 07-27 16:24:31.060: INFO/AuthorDriver(55): AuthorDriver::enqueueCommand(), after mCommandQueue.push_front(ac) 07-27 16:24:31.060: INFO/AuthorDriver(55): AuthorDriver::enqueueCommand(), before syncsemcopy->Wait() 07-27 16:24:31.060: ERROR/PVOMXEncNode(55): PVMFOMXEncNode- Audio_AMRNB::DoPrepare(): Got Component OMX.PV.amrencnb handle

320/240 07-27 16:24:31.070: WARN/CameraInput(55): refCount 0 07-27 16:24:31.070: INFO/PVOMXEncNode(55): Output W/H set from OC 320/240 07-27 16:24:31.070: ERROR/VENC_ENC(55): VENC_ERROR update_param_port_def::1651 Frame rate is for input port (refer to OMX IL spec) 07-27 16:24:31.070: ERROR/VENC_ENC(55): VENC_ERROR get_parameter::958 unsupported index 0x6000005 07-27 16:24:31.070: ERROR/VENC_ENC(55): VENC_ERROR set_parameter::2727 unsupported index 0x6000005 07-27 16:24:31.070: ERROR/VENC_ENC(55): allocate_buffer::3612 Ports populated, go to idle state 07-27 16:24:31.070: DEBUG/CameraService(55): CameraService::connect E (pid 55, client 0x4fab4) 07-27 16:24:31.070: DEBUG/CameraService(55): Client::Client E (pid 55) 07-27 16:24:31.070: DEBUG/QualcommCameraHardware(55): createInstance: E 07-27 16:24:31.070: DEBUG/QualcommCameraHardware(55): constructor EX 07-27 16:24:31.070: DEBUG/QualcommCameraHardware(55): startCamera E 07-27 16:24:31.070: DEBUG/QualcommCameraHardware(55): loading liboemcamera at 0xb0014300 07-27 16:24:31.070: INFO/QualcommCameraHardware(55): Set main cam 07-27 16:24:31.070: INFO/mm-camera-mmap(55): set sensor selection :0 07-27 16:24:31.100: DEBUG/PhoneWindow(170): DebugMonitor class=com.htc.launcher.Launcher focus=false 07-27 16:24:31.240: INFO/QualcommCameraHardware(55): Open Device node : /dev/msm_camera/control1 07-27 16:24:31.240: INFO/mm-camera-config(55): cam_conf fd cfgctrl.camfd:0 07-27 16:24:31.240: INFO/mm-camera-config(55): Open config device node : /dev/msm_camera/config1 07-27 16:24:31.240: INFO/(55): [AWB Calibration]:ctrlfd:35 07-27 16:24:31.260: INFO/(55): [AWB Calibration] cfg.fuse_id_word1:0x1106 07-27 16:24:31.260: INFO/(55): [AWB Calibration] cfg.fuse_id_word2:0x60d 07-27 16:24:31.260: INFO/(55): [AWB Calibration] cfg.fuse_id_word3:0x0 07-27 16:24:31.260: INFO/(55): [AWB Calibration] cfg.fuse_id_word4:0x0 07-27 16:24:31.260: INFO/(55): [AWB Calibration] rg_ratio_GS_table[0]: 0.687744 07-27 16:24:31.270: INFO/(55): [AWB Calibration] rg_ratio_GS_table[1]: 0.687744

07-27 16:24:31.270: INFO/(55): [AWB Calibration] bg_ratio_GS_table[2]: 0.737549 07-27 16:24:31.270: INFO/(55): [AWB Calibration] sfuse.fuse_id_word1:0x1106 07-27 16:24:31.270: INFO/(55): [AWB Calibration] sfuse.fuse_id_word2:0x60d 07-27 16:24:31.270: INFO/(55): [AWB Calibration] sfuse.fuse_id_word3:0x0 07-27 16:24:31.270: INFO/(55): [AWB Calibration] sfuse.fuse_id_word4:0x0 07-27 16:24:31.270: INFO/(55): [AWB Calibration] fuse_id : 0x1106, 0x60d, 0x0, 0x0 07-27 16:24:31.270: INFO/(55): [AWB Calibration] fail to read /data/ awb_cal 07-27 16:24:31.270: INFO/(55): [AWB Calibration] read from file OK: / sys/android_camera_awb_cal/awb_ca 07-27 16:24:31.270: INFO/(55): [AWB Calibration] read all c1b ,ok=1 07-27 16:24:31.270: INFO/(55): [AWB Calibration] read all 300 ,ok=1 07-27 16:24:31.270: INFO/(55): [AWB Calibration] read all 2fc ,ok=1 07-27 16:24:31.270: INFO/(55): [AWB Calibration] read all 1106 ,ok=1 07-27 16:24:31.270: INFO/(55): [AWB Calibration] read all 60d ,ok=1

1aab7c0d ,ok=1 07-27 16:24:31.270: INFO/(55): [AWB Calibration] check sum=1aab7c0d, OK 07-27 16:24:31.270: INFO/(55): [AWB Calibration] caBuff[0]:0x00000c1b 07-27 16:24:31.270: INFO/(55): [AWB Calibration] caBuff[1]:0x00000300 07-27 16:24:31.270: INFO/(55): [AWB Calibration] caBuff[2]:0x000002fc

07-27 16:24:31.280: INFO/(55): [AWB Calibration] fuse_id_word1:0x00001106 07-27 16:24:31.280: INFO/(55): [AWB Calibration]

07-27 16:24:31.280: INFO/(55): [AWB Calibration] caBuff[0]:3099 07-27 16:24:31.280: INFO/(55): [AWB Calibration] valid bit and fuseID pass, use new white points 07-27 16:24:31.280: INFO/(55): [AWB Calibration] use light version: v3 07-27 16:24:31.280: INFO/mm-camera-aec(55): Touch AEC == numRegions: 256 07-27 16:24:31.280: INFO/mm-camera-aec(55): Touch AEC aecCtrl-

aec_state.aec_algo:1 07-27 16:24:31.290: INFO/QualcommCameraHardware(55): startCamera: camsensor name ov8810, flash 1 07-27 16:24:31.290: DEBUG/QualcommCameraHardware(55): startCamera X 07-27 16:24:31.290: DEBUG/QualcommCameraHardware(55): initDefaultParameters E 07-27 16:24:31.290: DEBUG/QualcommCameraHardware(55): product 1 07-27 16:24:31.290: DEBUG/QualcommCameraHardware(55): requested preview size 768 x 432 07-27 16:24:31.290: DEBUG/QualcommCameraHardware(55): requested picture size 1024 x 768 07-27 16:24:31.300: DEBUG/QualcommCameraHardware(55): value:31000, country value:310, country code:310 07-27 16:24:31.300: DEBUG/QualcommCameraHardware(55): native_set_parm: fd 34, type 21, length 4

07-27 16:24:31.300: INFO/QualcommCameraHardware(55): Setting Zoom is 0 07-27 16:24:31.300: DEBUG/QualcommCameraHardware(55): native_set_parm: fd 34, type 2, length 4 07-27 16:24:31.300: INFO/QualcommCameraHardware(55): Setting Contrast is 5 07-27 16:24:31.300: DEBUG/QualcommCameraHardware(55): native_set_parm: fd 34, type 6, length 4 07-27 16:24:31.300: INFO/QualcommCameraHardware(55): Setting Brightness is 3 07-27 16:24:31.300: DEBUG/QualcommCameraHardware(55): native_set_parm:

1 07-27 16:24:31.310: INFO/mm-camera-aec(55): Touch AEC == numRegions: 256 07-27 16:24:31.310: INFO/mm-camera-aec(55): Touch AEC aecCtrl-

aec_state.aec_algo:1 07-27 16:24:31.310: DEBUG/QualcommCameraHardware(55): not defined touch-focus yet, or AP without touch-focus function 07-27 16:24:31.310: INFO/QualcommCameraHardware(55): Before Setting coordinate x:384 y:216 07-27 16:24:31.310: INFO/QualcommCameraHardware(55): Setting coordinate x:2 y:2 07-27 16:24:31.310: DEBUG/QualcommCameraHardware(55): native_set_parm: fd 34, type 60, length 28 07-27 16:24:31.310: INFO/mm-camera 8x vfe(55): vfe_set_coordinate x:2 y:2 07-27 16:24:31.310: DEBUG/QualcommCameraHardware(55): native_set_parm: fd 34, type 26, length 4 07-27 16:24:31.310: DEBUG/mm-camera-ctrlcmd(55): md.d.aec_iso_mode = 0 07-27 16:24:31.310: DEBUG/QualcommCameraHardware(55): native_set_parm: fd 34, type 62, length 4 07-27 16:24:31.310: DEBUG/QualcommCameraHardware(55): virtual android::status_t android::QualcommCameraHardware::setParameters(const android::CameraParameters&), final_rc=0 07-27 16:24:31.310: DEBUG/QualcommCameraHardware(55): initDefaultParameters X 07-27 16:24:31.310: DEBUG/QualcommCameraHardware(55): createInstance: X created hardware=0x7fc08 07-27 16:24:31.310: DEBUG/VorbisPlayer(55): setDataSource url=/system/ media/audio/ui/camera_click.ogg, fd=-1 07-27 16:24:31.310: DEBUG/VorbisPlayer(55): setdatasource 142

3616757600346 = 30517 = 0 sec 07-27 16:24:31.320: INFO/VorbisPlayer(55): 3616757722416 - 3616757600346 = 122070 = 0 sec 07-27 16:24:31.320: DEBUG/VorbisPlayer(55): after while 217 07-27 16:24:31.320: DEBUG/MediaPlayer(55): MediaPlayer::setDataSource(const sp& player) 07-27 16:24:31.320: DEBUG/MediaPlayer(55): lock acquired 07-27 16:24:31.320: DEBUG/MediaPlayer(55): MediaPlayer::setDataSource(const sp& player) E 07-27 16:24:31.320: DEBUG/MediaPlayerService(55): [23] prepareAsync 07-27 16:24:31.320: DEBUG/VorbisPlayer(55): prepareAsync 07-27 16:24:31.320: DEBUG/VorbisPlayer(55): setDataSource url=/system/ media/audio/ui/VideoRecord.ogg, fd=-1 07-27 16:24:31.320: DEBUG/VorbisPlayer(55): setdatasource 142

07-27 16:24:31.330: INFO/VorbisPlayer(55): 3616763642826 - 3616763642826 = 0 = 0 sec 07-27 16:24:31.330: INFO/VorbisPlayer(55): 3616763734379 - 3616763642826 = 91553 = 0 sec 07-27 16:24:31.330: DEBUG/VorbisPlayer(55): after while 217 07-27 16:24:31.330: DEBUG/MediaPlayer(55): MediaPlayer::setDataSource(const sp& player) 07-27 16:24:31.330: DEBUG/MediaPlayer(55): lock acquired 07-27 16:24:31.330: DEBUG/MediaPlayer(55): MediaPlayer::setDataSource(const sp& player) E 07-27 16:24:31.330: DEBUG/MediaPlayerService(55): [24] prepareAsync

display 07-27 16:24:31.330: ERROR/AuthorDriver(55): Command 13 completed with error -1 07-27 16:24:31.330: INFO/AuthorDriver(55): AuthorDriver::enqueueCommand(), after syncsemcopy->Wait() 07-27 16:24:31.330: ERROR/MediaRecorder(2674): prepare failed: -1 07-27 16:24:31.330: DEBUG/MEDIA_PLAYER(2674): prepare failed. 07-27 16:24:31.340: INFO/ActivityManager(90): Displayed activity com.videoAudio/.videoAudio: 499 ms (total 499 ms) 07-27 16:24:31.350: INFO/AuthorDriver(55): AuthorDriver::syncCompletion(), after ed->mSyncSem->Signal() 07-27 16:24:31.350: WARN/InputManagerService(90): Ignoring hideSoftInput of: com.android.internal.view.IInputMethodClient$Stub $Proxy@4674fd60 07-27 16:24:31.350: WARN/Rosie(170): mAddHtcWidgetByOtherActivity = false, mIsOpenSlideWhenLeaveLaunch = true 07-27 16:24:31.500: DEBUG/BluetoothHandsfree(162): cdmaDbmEcioToSignal(cdmaDbm:-85, cdmaEcio:-70) 07-27 16:24:31.510: DEBUG/BluetoothHandsfree(162): cdmaDbmEcioToSignal(evdoEcio:-2335, evdoSnr:8) 07-27 16:24:36.580: DEBUG/dalvikvm(170): GC freed 716 objects / 37408 bytes in 84ms 07-27 16:24:39.641: DEBUG/KeyInputQueue(90): DebugMonitor keycode=3 value=1 07-27 16:24:40.230: DEBUG/PhoneWindow(90): DebugMonitor class=com.android.internal.policy.impl.RecentApplicationsDialog focus=true 07-27 16:24:40.250: DEBUG/PhoneWindow(2674): DebugMonitor class=com.videoAudio.videoAudio focus=false 07-27 16:24:40.660: DEBUG/KeyInputQueue(90): DebugMonitor keycode=3 value=0 07-27 16:24:42.170: DEBUG/PowerManagerService(90): New lightsensor value:40, lcdValue:89 07-27 16:24:42.340: INFO/ActivityManager(90): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10100000 cmp=com.android.settings/.framework.activity.HtcSettings } 07-27 16:24:42.340: DEBUG/Sensors(90): close_akm, fd=156 07-27 16:24:42.420: INFO/AuthorDriver(55): AuthorDriver::enqueueCommand(), after mCommandQueue.push_front(ac) 07-27 16:24:42.420: INFO/AuthorDriver(55): AuthorDriver::enqueueCommand(), before syncsemcopy->Wait() 07-27 16:24:42.430: ERROR/VENC_ENC(55): free_buffer::3704 free buffer done, switch to loaded state 07-27 16:24:42.430: ERROR/audio_input(55): unsupported parameter: x- pvmf/media-input-node/cap-config-interface;valtype=key_specific_value 07-27 16:24:42.430: ERROR/audio_input(55): VerifyAndSetParameter failed 07-27 16:24:42.430: ERROR/CameraInput(55): Unsupported parameter(x- pvmf/media-input-node/cap-config-interface;valtype=key_specific_value) 07-27 16:24:42.430: ERROR/CameraInput(55): VerifiyAndSetParameter failed on parameter #0 07-27 16:24:42.430: DEBUG/PhoneWindow(562): DebugMonitor class=com.android.settings.InstalledAppDetails focus=true 07-27 16:24:42.430: INFO/AuthorDriver(55): AuthorDriver::enqueueCommand(), after syncsemcopy->Wait() 07-27 16:24:42.430: INFO/AuthorDriver(55): AuthorDriver::enqueueCommand(), after mCommandQueue.push_front(ac) 07-27 16:24:42.430: INFO/AuthorDriver(55): AuthorDriver::enqueueCommand(), before syncsemcopy->Wait() 07-27 16:24:42.440: INFO/AuthorDriver(55): AuthorDriver::syncCompletion(), after ed->mSyncSem->Signal() 07-27 16:24:42.440: INFO/AuthorDriver(55): AuthorDriver::enqueueCommand(), after syncsemcopy->Wait() 07-27 16:24:42.440: INFO/AuthorDriver(55): AuthorDriver::enqueueCommand(), after mCommandQueue.push_front(ac) 07-27 16:24:42.440: INFO/AuthorDriver(55): AuthorDriver::enqueueCommand(), before syncsemcopy->Wait() 07-27 16:24:42.440: INFO/AuthorDriver(55): AuthorDriver::syncCompletion(), after ed->mSyncSem->Signal() 07-27 16:24:42.440: INFO/AuthorDriver(55): AuthorDriver::enqueueCommand(), after syncsemcopy->Wait() 07-27 16:24:42.440: INFO/AuthorDriver(55): AuthorDriver::enqueueCommand(), after mCommandQueue.push_front(ac) 07-27 16:24:42.440: INFO/AuthorDriver(55): AuthorDriver::enqueueCommand(), before syncsemcopy->Wait() 07-27 16:24:42.440: INFO/AuthorDriver(55): AuthorDriver::syncCompletion(), after ed->mSyncSem->Signal() 07-27 16:24:42.440: DEBUG/CameraService(55): stopPreview (pid 55) 07-27 16:24:42.440: DEBUG/QualcommCameraHardware(55): stopPreview: E 07-27 16:24:42.440: DEBUG/QualcommCameraHardware(55): stopPreviewInternal E: 0 07-27 16:24:42.440: DEBUG/QualcommCameraHardware(55): stopPreviewInternal X: 0 07-27 16:24:42.440: DEBUG/QualcommCameraHardware(55): stopPreview: X 07-27 16:24:42.440: DEBUG/CameraService(55): stopPreview(), hardware stopped OK 07-27 16:24:42.440: DEBUG/CameraService(55): Client::disconnect() E (pid 55 client 0x4fab4) 07-27 16:24:42.440: DEBUG/CameraService(55): hardware teardown 07-27 16:24:42.440: DEBUG/QualcommCameraHardware(55): stopPreview: E 07-27 16:24:42.440: DEBUG/QualcommCameraHardware(55): stopPreviewInternal E: 0 07-27 16:24:42.440: DEBUG/QualcommCameraHardware(55): stopPreviewInternal X: 0 07-27 16:24:42.440: DEBUG/QualcommCameraHardware(55): stopPreview: X 07-27 16:24:42.440: ERROR/mm-camera-ctrlcmd(55): config_proc_CAMERA_STOP_SNAPSHOT: invalid state 0 07-27 16:24:42.440: DEBUG/QualcommCameraHardware(55): release E 07-27 16:24:42.440: DEBUG/QualcommCameraHardware(55): deinitRaw E 07-27 16:24:42.440: DEBUG/QualcommCameraHardware(55): deinitRaw X 07-27 16:24:42.522: DEBUG/QualcommCameraHardware(55): dlclose(libqcamera) 07-27 16:24:42.522: DEBUG/QualcommCameraHardware(55): release X 07-27 16:24:42.522: DEBUG/QualcommCameraHardware(55): ~QualcommCameraHardware E 07-27 16:24:42.522: DEBUG/QualcommCameraHardware(55): ~QualcommCameraHardware X 07-27 16:24:42.522: DEBUG/CameraService(55): removeClient (pid 55) done 07-27 16:24:42.522: DEBUG/CameraService(55): Client::disconnect() X (pid 55) 07-27 16:24:42.522: DEBUG/CameraService(55): Client::~Client E (pid 55, client 0x4fab4)

07-27 16:24:42.522: DEBUG/CameraService(55): Client::disconnect() E (pid 55 client 0x4fab4) 07-27 16:24:42.522: DEBUG/CameraService(55): Client::~Client X (pid 55) 07-27 16:24:42.530: INFO/AuthorDriver(55): AuthorDriver::enqueueCommand(), after syncsemcopy->Wait() 07-27 16:24:42.530: INFO/AuthorDriver(55): AuthorDriver::enqueueCommand(), after mCommandQueue.push_front(ac) 07-27 16:24:42.530: INFO/AuthorDriver(55): AuthorDriver::enqueueCommand(), before syncsemcopy->Wait() 07-27 16:24:42.530: INFO/AuthorDriver(55):

AuthorDriver::enqueueCommand(), after syncsemcopy->Wait() 07-27 16:24:42.720: DEBUG/AK8973(59): Compass CLOSE 07-27 16:24:45.133: DEBUG/KeyInputQueue(90): DebugMonitor keycode=4 value=1 07-27 16:24:45.140: WARN/KeyCharacterMap(562): No keyboard for id 65540 07-27 16:24:45.140: WARN/KeyCharacterMap(562): Using default keymap: / system/usr/keychars/qwerty.kcm.bin 07-27 16:24:45.210: DEBUG/KeyInputQueue(90): DebugMonitor keycode=4 value=0 07-27 16:24:45.290: WARN/MessageQueue(562): Handler{46571860} sending message to a Handler on a dead thread 07-27 16:24:45.290: WARN/MessageQueue(562): java.lang.RuntimeException: Handler{46571860} sending message to a Handler on a dead thread 07-27 16:24:45.290: WARN/MessageQueue(562): at android.os.MessageQueue.enqueueMessage(MessageQueue.java:181) 07-27 16:24:45.290: WARN/MessageQueue(562): at t android.os.Handler.sendEmptyMessage(Handler.java:379) 07-27 16:24:45.290: WARN/MessageQueue(562): at com.android.settings.ManageApplications.onStart(ManageApplications.java: 1803) 07-27 16:24:45.290: WARN/MessageQueue(562): at android.app.Instrumentation.callActivityOnStart(Instrumentation.java: 1129) 07-27 16:24:45.290: WARN/MessageQueue(562): at android.app.Activity.performStart(Activity.java:3763) 07-27 16:24:45.290: WARN/MessageQueue(562): at android.app.Activity.performRestart(Activity.java:3791) 07-27 16:24:45.290: WARN/MessageQueue(562): at android.app.Activity.performResume(Activity.java:3796) 07-27 16:24:45.290: WARN/MessageQueue(562): at android.app.ActivityThread.performResumeActivity(ActivityThread.java: 3059) 07-27 16:24:45.290: WARN/MessageQueue(562): at android.app.ActivityThread.handleResumeActivity(ActivityThread.java: 3099) 07-27 16:24:45.290: WARN/MessageQueue(562): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1958) 07-27 16:24:45.290: WARN/MessageQueue(562): at android.os.Handler.dispatchMessage(Handler.java:99) 07-27 16:24:45.290: WARN/MessageQueue(562): at android.os.Looper.loop(Looper.java:123) 07-27 16:24:45.290: WARN/MessageQueue(562): at

07-27 16:24:45.290: WARN/MessageQueue(562): at com.android.internal.os.ZygoteInit $MethodAndArgsCaller.run(ZygoteInit.java:860) 07-27 16:24:45.290: WARN/MessageQueue(562): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618) 07-27 16:24:45.290: WARN/MessageQueue(562): at dalvik.system.NativeStart.main(Native Method) 07-27 16:24:45.300: DEBUG/PhoneWindow(562): DebugMonitor class=com.android.settings.ManageApplications focus=true 07-27 16:24:45.330: DEBUG/PhoneWindow(562): DebugMonitor class=com.android.settings.InstalledAppDetails focus=false 07-27 16:24:46.930: INFO/ActivityManager(90): Starting activity: Intent { act=android.intent.action.VIEW

com.android.settings/.InstalledAppDetails: 307 ms (total 307 ms) 07-27 16:24:49.020: INFO/AlertDialog(562): [onCreate] auto launch SIP. 07-27 16:24:49.020: DEBUG/AK8973(59): Compass Start 07-27 16:24:49.020: DEBUG/Sensors(90): open_akm, fd=149 07-27 16:24:49.040: DEBUG/PhoneWindow(562): DebugMonitor class=com.htc.widget.HtcAlertDialog focus=true 07-27 16:24:49.080: DEBUG/PhoneWindow(562): DebugMonitor class=com.android.settings.InstalledAppDetails focus=false 07-27 16:24:49.520: INFO/HtcAlertDialog(562): onOrientationChanged: rotate from L to P = + Orientaion = -1 07-27 16:24:50.690: DEBUG/PowerManagerService(90): New lightsensor value:90, lcdValue:126 07-27 16:24:52.340: VERBOSE/HTC-DSA-SystemProperties(287): SystemProperties - Caller: [com.sprint.zone] 07-27 16:24:52.340: VERBOSE/HTC-DSA-ConnectionManager(287): Build.DISPLAY:ERE27 07-27 16:24:52.340: VERBOSE/HTC-DSA-ConnectionManager(287): Build.TAGS.compareTo(test-keys):-2 07-27 16:24:52.350: VERBOSE/HTC-DSA-ConnectionManager(287): platform fail[com.sprint.zone] 07-27 16:24:52.360: VERBOSE/HTC-DSA-ConnectionManager(287): release fail[com.sprint.zone] 07-27 16:24:52.360: VERBOSE/HTC-DSA-ConnectionManager(287): IM release fail[com.sprint.zone] 07-27 16:24:52.360: VERBOSE/HTC-DSA-ConnectionManager(287): Sprint

07-27 16:24:52.410: DEBUG/ActivityManager(90): Uninstalling process com.videoAudio