Camera Tutorial for Android (using surfaceview)

后端 未结 5 1373
情歌与酒
情歌与酒 2020-11-27 13:09

Here is my example code:

package newslab.video.server;

import android.app.Activity;
import android.hardware.Camera;
import android.os.Bundle;
import android         


        
5条回答
  •  醉话见心
    2020-11-27 13:42

    If you are using android 10 or later don't forget to add this in your manifest file

    android:requestLegacyExternalStorage="true"
    android:grantUriPermissions="true"
    

提交回复
热议问题