android Camera 如何判断当前使用的摄像头是前置还是后置
来源:互联网 发布:有安卓调音软件吗 编辑:程序博客网 时间:2024/06/05 20:15
android.hardware.Camera.CameraInfo info = new android.hardware.Camera.CameraInfo(); android.hardware.Camera.getCameraInfo(cameraId, info); if (info.facing == CameraInfo.CAMERA_FACING_FRONT) { //前置摄像头 } else { // 后置摄像头 }
0 0
- android Camera 如何判断当前使用的摄像头是前置还是后置
- android Camera 如何判断当前使用的摄像头是前置还是后置
- android Camera 如何判断当前使用的摄像头是前置还是后置
- android Camera 如何判断当前使用的摄像头是前置还是后置
- android Camera 如何判断当前使用的摄像头是前置还是后置
- android Camera 如何判断当前使用的摄像头是前置还是后置
- android Camera 如何判断当前使用的摄像头是前置还是后置
- android打开前置摄像头和后置摄像头
- android打开前置摄像头和后置摄像头 .
- android打开前置摄像头和后置摄像头
- 前置摄像头、后置摄像头
- OpenCV Android 打开前置后置摄像头
- IOS获取设备的前置摄像头和后置摄像头
- php如何判断当前的操作系统是linux还是windows
- php如何判断当前的操作系统是linux还是windows
- Android前置后置摄像头录制视频综合版
- JS 判断当前的浏览器是Android 还是IOS
- android 判断手机是否支持前置摄像头
- JavaWeb登陆验证码
- Mac 终端自动补全忽略大小写
- LeetCode Valid Number(判断字符串是否是合法的数字表示 )
- 枚举类(2)
- 关于fork()函数的一点思考
- android Camera 如何判断当前使用的摄像头是前置还是后置
- iOS 自定义cell改变其中子控件frame值
- apk在安卓系统中简单运行过程
- Android进阶——Material Design新控件之初识TabLayout(一)
- Ubuntu 添加Android SDK及NDK路径到PATH
- 会话 cookie 中缺少HttpOnly 属性 的问题
- EventBus 同一进程中不同组件间的通讯
- 机器分配
- NOIP 2010 - 普及组 导弹拦截 贪心 重庆一中高2018级竞赛班第三次测试 2016.7.24 Problem 3