[HTC Pico (Explorer)] cute_prince:
bro, photo in camera mode is not working in my build.. Its failing to get Snapshot Image ..

This is the logcat showing when I try to take photo in camera mode:

V/camera ( 1384): onShutterButtonClick: mCameraState=1

I/QualcommCameraHardware7225a( 110): No Record Size requested, use the preview dimensions

I/QualcommCameraHardware7225a( 110): setRecordSize: preview dimensions: 384x288

I/QualcommCameraHardware7225a( 110): setRecordSize: video dimensions: 384x288

I/QualcommCameraHardware7225a( 110): Set zoom=0 39

I/QualcommCameraHardware7225a( 110): Parameter Rolloff is not supported for this sensor

I/QualcommCameraHardware7225a( 110): Parameter MCE is not supported for this sensor

I/QualcommCameraHardware7225a( 110): setHDRImaging: setting HDR value of disable

E/CAM_FD ( 110): config_proc_CAMERA_SET_PARM_HDR: hdr_enable =0

I/QualcommCameraHardware7225a( 110): Setting preview format to native

I/QualcommCameraHardware7225a( 110): setRedeyeReduction: setting Redeye Reduction value of disable

D/CAM_FD ( 110): config_proc_CAMERA_SET_REDEYE_REDUCTION: mode =0

D/QualcommCameraHardware7225a( 110): FPS Range Values: 5000x60000

I/QualcommCameraHardware7225a( 110): setSnapshotCount setting num-snaps-per-shutter to 1

I/QualcommCameraHardware7225a( 110): setFlash: flash not supported

I/QualcommCameraHardware7225a( 110): setHighFrameRate: setting HFR value of off(1)

I/QualcommCamera( 110): int android::take_picture(camera_device*): E

I/QualcommCameraHardware7225a( 110): takePicture(847)

I/QualcommCameraHardware7225a( 110): stopPreviewInternal E: 1

I/QualcommCameraHardware7225a( 110): cancelAutoFocusInternal E

D/CAM_FD ( 110): get get_vfe_ack_ready = 1

I/QualcommCameraHardware7225a( 110): deinitPreview E

I/QualcommCameraHardware7225a( 110): runPreviewThread X

I/QualcommCameraHardware7225a( 110): preview_thread X

I/QualcommCameraHardware7225a( 110): relinquishBuffers: E

D/QualcommCameraHardware7225a( 110): relinquishBuffers: Cancelling preview buffers 55

D/QualcommCameraHardware7225a( 110): relinquishBuffers: release preview buffers

D/QualcommCameraHardware7225a( 110): relinquishBuffers: Cancelling preview buffers 61

D/QualcommCameraHardware7225a( 110): relinquishBuffers: release preview buffers

D/QualcommCameraHardware7225a( 110): relinquishBuffers: release preview buffers

D/QualcommCameraHardware7225a( 110): relinquishBuffers: Cancelling preview buffers 72

D/QualcommCameraHardware7225a( 110): relinquishBuffers: release preview buffers

D/QualcommCameraHardware7225a( 110): relinquishBuffers: release preview buffers

D/QualcommCameraHardware7225a( 110): relinquishBuffers: Cancelling preview buffers 80

D/QualcommCameraHardware7225a( 110): relinquishBuffers: release preview buffers

I/QualcommCameraHardware7225a( 110): relinquishBuffers: X

I/QualcommCameraHardware7225a( 110): runFrameThread X

D/QualcommCameraHardware7225a( 110): frame_thread X

I/QualcommCameraHardware7225a( 110): deinitPreview X

I/QualcommCameraHardware7225a( 110): stopPreviewInternal X: 0

D/CAM_FD ( 110): PG cam_mode = 0 zsl_mode = 0

I/QualcommCameraHardware7225a( 110): initRaw: post view=384x288

I/QualcommCameraHardware7225a( 110): initRaw: post view buffer size=165888, raw size=4718592

I/QualcommCameraHardware7225a( 110): initRaw: JpegMaxSize=4718592, Offset=0, CbCrOffset=3145728

D/QualcommCameraHardware7225a( 110): bool android::QualcommCameraHardware::createSnapshotMemory(int, int, bool, int) Raw memory index: 0 , fd is 60

D/QualcommCameraHardware7225a( 110): Registering buffer 0 with fd :60 with kernel

D/QualcommCameraHardware7225a( 110): bool android::QualcommCameraHardware::createSnapshotMemory(int, int, bool, int) Jpeg memory index: 0 , fd is 71

I/QualcommCameraHardware7225a( 110): Locking and registering Thumbnail buffer(s)

D/QualcommCameraHardware7225a( 110): fd thumbnailhandle fd 84 size 167936

I/QualcommCameraHardware7225a( 110): initRaw: picture size=2048x1536

I/QualcommCameraHardware7225a( 110): initRaw: postview size=384x288

I/QualcommCameraHardware7225a( 110): initRaw: thumbnail size=512x384

I/QualcommCameraHardware7225a( 110): initRaw X

I/QualcommCameraHardware7225a( 110): takePicture: X

I/QualcommCamera( 110): int android::take_picture(camera_device*): X

D/QualcommCameraHardware7225a( 110): snapshot_thread E

I/QualcommCameraHardware7225a( 110): runSnapshotThread E

D/mm-camera( 110): camera_ops_start, CAMERA_OPS_CAPTURE_AND_ENCODE mode 1

D/mm-camera( 110): PROFILE enter snapshot_start: 1346089269.037051797

D/mm-camera( 110): PROFILE send snap cmd : 1346089269.052676798

D/mm-camera( 110): PROFILE reset vfe: 1346089269.053104044

D/mm-camera( 110): PROFILE post send snap cmd : 1346089269.093692421

I/QualcommCameraHardware7225a( 110): receiveRawPicture: E

E/QualcommCameraHardware7225a( 110): receiveRawPicture: Failed to get Snapshot Image

E/QualcommCameraHardware7225a( 110): get picture failed, giving jpeg callback with NULL data

You see the last 2 line ??? Apparently the receiveRawPicture function is failing to get Snapshot Image .. I hope it is fixed in your build :)