Hi,

I am required to implement a use case where in :

I keep the preview On and take images @ 1 image per sec.

I want to use : "mCamera.takePicture(null, null, mPicture)"

and keep storing images in :

PictureCallback mPicture = new PictureCallback()

However , once the PictureCallback() is invoked I would expect :
Preview will be stopped after the image is taken; and must call 
startPreview() 
<https://developer.android.com/reference/android/hardware/Camera.html#startPreview()>
 again 
if I want to re-start preview and take more pictures. I expect , this will 
result in a "jerk" in the preview in the user experience. ( am I right?)

Is there any way to avoid automatic calling of stopPreview()?

The other way I can implement it is :  implement  onPreviewFrame() and call  
"yuvImage.compressToJpeg()" 
. I did this and I get "green" ( memory leaked) images. 
on further investigation I found others faced this too: 
https://code.google.com/p/android/issues/detail?id=71732

Any pointers on implementing a continuous image capture , without jerky 
preview will be appreciated!

Regards
Nimesh

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to