I think you should use image callback
Camera.PictureCallback picture_callback = new Camera.PictureCallback() {
@Override
public void onPictureTaken(byte[] data, Camera camera) {
}
};
set picture_callback to the camera, and each time you perform image management, you will be taken to the above function.
if you have raw frame
mCamera.takePicture(null, picture_callback, null);
if you have jpeg frame
mCamera.takePicture(null, null, picture_callback);
hope it will help you..
, .
mCamera = Camera.open();