android - Workaround a bug in Samsung camera drivers -


i'm writing application custom camera functionality. in picture taken device's camera shown user question if needs saved. i'm using method:

public final void takepicture (camera.shuttercallback shutter, camera.picturecallback raw, camera.picturecallback postview, camera.picturecallback jpeg) 

(http://developer.android.com/reference/android/hardware/camera.html#takepicture%28android.hardware.camera.shuttercallback,%20android.hardware.camera.picturecallback,%20android.hardware.camera.picturecallback,%20android.hardware.camera.picturecallback%29)

according documentation method pauses preview after picture has been taken, feature need. however, on samsung devices preview not paused, assume bug in camera drivers. can reproduce bug on galaxy s3 (gt-i9300), , qa says reproduce on other samsung devices too. on devices other manufacturers method works expected.

i tried manually pausing preview in each of camera.takepicture() callbacks, none of them executed @ precise time when picture taken. leads noticable difference between picture user asked review , picture taken, terrible when picture taken flashlight enabled.

is there way workaround behaviour?


Comments

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

Fatal error: Call to undefined function menu_execute_active_handler() in drupal 7.9 -

python - RuntimeWarning: PyOS_InputHook is not available for interactive use of PyGTK -