1

Background video recording in Android 4.0

view story
linux-howto

http://stackoverflow.com – I try to organize background video recording in Android 4.0. But I can't do it because of these problems: Dummy Surface does not work in MediaRecorder (error: invalid surface) If you use Surface 1 x 1 px on Activity, Surface is destroyed on Activity pause (recording is stopped) If you use Surface 1 x 1 px on WindowsManager, Surface is destroyed on Application pause (recording is stopped) SurfaceTexture does not work in MediaRecorder.setPreviewDisplay(new Surface(SurfaceTexture)) Widget does not allow to handle Surface 1 x 1 px Status Bar does not allow to handle Surface 1 x 1 px Please, he (HowTos)