 showImageView = (ImageView) findViewById(R.id.imageView0);          preview.addView(mCameraPreview);          captureButton = (Button) findViewById(R.id.button_capture);          captureButton.setOnClickListener(new View.OnClickListener() {             @Override             public void onClick(View v) {                 mCamera.takePicture(null, null, 