title: How to use camera in android to capture image and video?
body: <p>How to use camera in android so that the user can toggle between the camera mode and recorder mode whilst in the same camera app, as you can see the small slide control in the center of the right side of the image below.</p>
  
  <p><img src="https://i.stack.imgur.com/EqdER.png" alt="The slide control is circled in red."></p>