@Override public void onResume() { super.onResume(); mNativeController = CreateNativeController(); mCameraView.enableView(); mCameraView.setOnTouchListener(CameraActivity.this); }
@Override public void onManagerConnected(int status) { switch (status) { case LoaderCallbackInterface.SUCCESS: { cameraView.enableView(); cameraView.setOnClickListener( new View.OnClickListener() { @Override public void onClick(View v) { captureBackground = true; } }); } break; default: { super.onManagerConnected(status); } break; } }