Originally Posted by sportcourt7
I can't seem to find an app that records video in the background on my phone. I am running Task650 and Ktoonsez's AOKP build 6.8.12. I have tried Secret Video Record, Mobile Hidden Camera, Hidden Camera Spy Camera Free, and a couple others. These don't record video in the background correctly. The videos come out scrambled (with green lines usually). You can tell when the camera is being moved but you can't tell what is being recorded at all. Does anyone know how to fix the problem or of an app that works?
That's because Android does not allow recording video without showing preview (SurfaceView) to the user. When you hide preview and Android detects it - preview surface will be destroyed. Furthermore then surface is not longer valid - MediaRecorder (which records video) will crash.
All those apps try to overcome this restriction in different ways.
I've also tried to do it and published app: play.google.com/store/apps/details?id=com.lofatsoftware.hvc.
I've tested on bunch of different devices and it worked like a charm. You can try it for free and check if it works on your device.