0

The problem happens because of the onResume method. I do not know what to do.

   @Override
protected void onResume() {
    super.onResume();
    getSupportActionBar().hide();
    cameraSource.release();
}

@Override
protected void onPause() {
    super.onPause();
    getSupportActionBar().hide();
    cameraSource.release();
}
a_local_nobody
  • 7,360
  • 5
  • 25
  • 45
  • How do you know this happens because of the onResume method? Do you get an Error message that points to that method? Do you get any error message in your logs at all? You've given us way to little information to be able to even start guessing what your actual problem is. – OH GOD SPIDERS Dec 21 '21 at 12:49

0 Answers0