When I just start the app, nothing goes wrong. I can switch between front and rear (I used the Sample code), I can make a picture, go to a new activity and view this picture, but when pressing the back button...
@Override
public void onBackPressed(){
super.onBackPressed();
}
...to return to the activity where my cameraview is shown, I get the following error:
io.fotoapparat.b.b: Failed to open camera with lens position: BACK and id: 0
And
io.fotoapparat.b.b: Failed to open camera with lens position: FRONT and id: 1
When I just start the app, nothing goes wrong. I can switch between front and rear (I used the Sample code), I can make a picture, go to a new activity and view this picture, but when pressing the back button...
...to return to the activity where my cameraview is shown, I get the following error:
And
Context
Devices:
I use the newest library: