Esempio n. 1
0
 @Override
 public void onResume() {
   super.onResume();
   mNativeController = CreateNativeController();
   mCameraView.enableView();
   mCameraView.setOnTouchListener(CameraActivity.this);
 }
Esempio n. 2
0
        @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;
          }
        }