Android can’t record video with Front Facing Camera, MediaRecorder start failed: -19
I wrestled with this problem a bit today, too. First, make sure that your permissions are set up correctly. Specifically, to record video, you’ll want: <uses-feature android:name=”android.hardware.camera.front” /> <uses-feature android:name=”android.hardware.microphone”/> <uses-permission android:name=”android.permission.CAMERA” /> <uses-permission android:name=”android.permission.RECORD_AUDIO” /> <uses-permission android:name=”android.permission.WRITE_EXTERNAL_STORAGE” /> Second, and this is the tricky part, this line from the tutorial does not work with … Read more