I'm trying to take a pic from a Surface present in my screen (I added a VideoView in my xml layout).
I can see the preview but I can't snap a picture to save it on my sdcard for example.
I tried to use the mediarecord but I don't think that it's the good way to do this.
I found a lot of example on the web, but it uses the preivous Android version with CameraDevice.
Thanks for your help by advance