How to capture video in Android?

后端 未结 7 418
天命终不由人
天命终不由人 2020-12-07 15:52

I would like to create a video recorder and so far haven\'t figured out how to set parameters in order to successfully go through MediaRecorder.prepare() method.

Exe

7条回答
  •  青春惊慌失措
    2020-12-07 16:39

    This could be a permissions error. Do you have the android.permission.CAMERA permission set in your AndroidManifest file?

提交回复
热议问题