I was trying to capture a photo using this sample using both front and back camera, which is done inside this fragment .
Obviuosly the onCaptureCompleted is called after each capture, so I wanted to get that picture from "TotalCaptureResult result" but I coudn't, also it seem's that the onCaptureCompleted is never called when I try to take a picture with the front camera.
So how to get the captured image from both front and back camera? any help or hint is really appreciated.