MediaRecorder mr=new MediaRecorder();
mr.setVideoSource(MediaRecorder.VideoSource.CAMERA);
答案 0 :(得分:2)
我建议您先尝试为AndroidManifest.xml添加一些使用权限:
<uses-permission android:name="android.permission.RECORD_VIDEO" />
<uses-permission android:name="android.permission.CAMERA" />