androidvideo-captureandroid-cameraimage-capturerecorder

How to capture **Video and Photo** at same time in an activity


I want to take video and photo at same time.

I have two buttons.

  1. When user click on one it have to take video and

  2. Another button then it have to stop recording video and take photo.

Now I am trying recorder and camera but its not working fine ,

Also note not both in same time i want to do one after another vice versa ..

What is a good idea for this?


Solution

  • Don't think it's possible. Camera and recorder will not work together because they both block camera and don't allow other apps' recorders and cameras (and each other) to use camera at the same time.