jinguangyue / android-customcamera Goto Github PK
View Code? Open in Web Editor NEWAndroid自定义相机 Android custom camera , has a basic camera, front and rear camera , flash mode , delay shooting , framing square frame , add watermark effect solution
Android自定义相机 Android custom camera , has a basic camera, front and rear camera , flash mode , delay shooting , framing square frame , add watermark effect solution
就是横屏录制视频时,只录制左半部分的视频
activity设置横屏的时候,旋转相机,图像是扭曲的
你好,在红米手机4.2.1版本,存在变形的问题?
在vivo手机上拉伸变形(预览跟转换都是)
在三星上转换后的画面是坏的(整个画面都是条状)
在小米上,变形
在htc上变形
一堆bug
自定义了几个camera。或多或少都有问题。不知道您这个是否可以默认前置摄像头,不胜感激,(已经自己修改,谢谢大佬)
调整相机尺寸,相机在预览的时候会变形哦,需求需要将拍摄区域调整到一行文字高度差不多大小,设置之后整个相机界面跟被压缩了一样变形,有什么解决办法吗?
我想在点击"我要拍照"的按钮时跳出Dialog
但是会直接闪退
请问有什么解决方法吗?
以下为"我要拍照"按钮的listener
if (ActivityCompat.checkSelfPermission(activity, Manifest.permission.CAMERA)
!= PackageManager.PERMISSION_GRANTED) {
//未授权,提起权限申请
ActivityCompat.requestPermissions(activity,
new String[]{Manifest.permission.CAMERA},
AppConstant.PERMISSION.CAMERA);
} else {
AlertDialog.Builder takePicDialog = new AlertDialog.Builder(MainActivity.this);
takePicDialog.setMessage("123");
takePicDialog.show();
CameraUtil.getInstance().camera(MainActivity.this);
}
请问有什么解法吗?
感谢
想问一下,有没有通用的方法,适配所有的手机?
这好像只能拍照一次,能拍照完继续预览吗?
红米note3 拍照的时候貌似无法对焦
建议把视频录制也加个摄像头转换,和闪光灯
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.