     private Camera mCamera;     private CameraPreview mCameraPreview;     private Button captureButton;     private ImageView showImageView;      /** Called when the activity is first created. */     @Override     public void onCreate(Bundle savedInstanceState) {         super.onCreate(savedInstanceState);         setContentView(R.layout.activity_main);         mCamera = getCameraInstance();         mCameraPreview = new CameraPreview(this, mCamera);          FrameLayout preview = (FrameLayout) findViewById(R.id.camera_preview);          