cameraview
cameraview copied to clipboard
[DEPRECATED] Easily integrate Camera features into your Android app
update dependencies , gradle, miniSdkVersion miniSdkVersion 9 -> 14 due to support lib 27.1.1
When device has Camera2 API (whether Camera2 class expected to successfully initialized or not), `app:aspectRatio` value is passed following `CameraView(Context, AttributeSet, int)`, `CameraView#setAspectRatio(AspectRatio)` and `Camera2#setAspectRatio(AspectRatio)`. In [`Camera2#setAspectRatio(AspectRatio)`](https://github.com/google/cameraview/blob/master/library/src/main/api21/com/google/android/cameraview/Camera2.java#L265), checking ratio is...
Device: Oneplus 5T Version: Android 8.1 When set on ON_ALWAYS_FLASH, A picture saved from camera2 was overexpose and was different from one from camera1 as follows:  
device: Xiaomi Note. but when i press home event, and open the app, it work well; I dot khnow what the problem
Hello sir, How can we set custom filter on camera screen?
XiaoMi MI3 os:Android4.4.4 ,If open flase, Camera Preview can not be used.
We needed the functionality to set a specific zoom factor for the cameraview. The code can also be used to implement a pinch zoom. Furthermore camera shows the picture that...
s6 and use camera1. when I turn on flash and take a photo ,then auto focus can not restore . I modify Camera1.java : void takePictureInternal() { if (!isPictureCaptureInProgress.getAndSet(true)) {...
The lib doesn't work on HTC 10. I tried on several other phones. It works ok.