title: Background video recording in Android 4.0
body: <p><strong>I try to organize background video recording in Android 4.0. But I can't do it because of these problems:</strong></p>
  
  <ol>
  <li><p>Dummy Surface does not work in MediaRecorder (error: invalid surface)</p></li>
  <li><p>If you use Surface 1 x 1 px on Activity, Surface is destroyed on Activity pause (recording is stopped)</p></li>
  <li><p>If you use Surface 1 x 1 px on WindowsManager, Surface is destroyed on Application pause (recording is stopped)</p></li>
  <li><p>SurfaceTexture does not work in MediaRecorder.setPreviewDisplay(new Surface(SurfaceTexture))</p></li>
  <li><p>Widget does not allow to handle Surface 1 x 1 px</p></li>
  <li><p>Status Bar does not allow to handle Surface 1 x 1 px</p></li>
  </ol>
  
  <p><strong>Please, help me to find right way.</strong></p>