title: source for camera video recorder without using intent
body: <p>Does someone know where I could find sample source code that records video and saves it on the device? The code should not use <code>intent</code>.</p>
  
  <p>I tried using this code:
  <a href="https://stackoverflow.com/questions/15691152/android-recording-a-video-initializing-the-camera-2">https://stackoverflow.com/questions/15691152/android-recording-a-video-initializing-the-camera-2</a>
   that I saw in YouTube tutorial, but I can't get it to work.</p>
  
  <p>I can't use <code>intent</code> because, I need to resize the videoview when the camera is recording. </p>
  
  <p>I think I can't do this using <code>intent</code>, or am i wrong? </p>