title: How to create a fake Camera
body: <p>Is it possible and if so "how" would one create a "fake" Camera in an Android application. By "fake" I mean an all software creation that simply looks like a regular Camera to the OS but in actuality takes a Bitmap or byte array as its input data. I want to use such a device with a MediaRecorder to create h.264 videos.</p>
  
  <p>Things this could be used for:</p>
  
  <ul>
  <li>Image slideshow video creation
  <li>Screen capture to video file
  </ul>
  
  <p><b>Caveats:</b> No rooting and no ROM modification</p>