Camera Tutorial for Android (using surfaceview)

后端 未结 5 1372
情歌与酒
情歌与酒 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:52

    Dont forget to take the permission for using camera in Android Manifest file,

    
    

    Also you have to take permission for storing images on SD Card,

    
    

提交回复
热议问题