android-Camera2Basic
android-Camera2Basic copied to clipboard
The sample captures 2 images
Each invocation of takePicture captures 2 images. This can be verified by adding logging info to ImageSaver.run(). Issue seen on Motorola Nexus 6.
I've discovered that captureStillPicture is called twice during the state management in the CaptureCallback's 'process' method. See the following question on Stack Overflow : http://stackoverflow.com/questions/28586107/how-do-i-capture-a-single-image-with-the-android-camera2-api
Thanks, we'll resolve soon.
Hola Para mi la solución fue incluir esta linea cuando afState es null
