use CaptureParams rather than CameraDelegate
Keep Fit...