cameraview
cameraview copied to clipboard
[DEPRECATED] Easily integrate Camera features into your Android app
Exception java.lang.NullPointerException: Attempt to invoke virtual method 'int android.hardware.camera2.CameraCaptureSession.capture(android.hardware.camera2.CaptureRequest, android.hardware.camera2.CameraCaptureSession$CaptureCallback, android.os.Handler)' on a null object reference com.google.android.cameraview.Camera2.unlockFocus (Camera2.java:617) com.google.android.cameraview.Camera2$6.onCaptureCompleted (Camera2.java:601) java.lang.reflect.Method.invoke (Method.java) java.lang.reflect.Method.invoke (Method.java:372) android.hardware.camera2.dispatch.InvokeDispatcher.dispatch (InvokeDispatcher.java:39) android.hardware.camera2.dispatch.HandlerDispatcher$1.run (HandlerDispatcher.java:65) android.os.Handler.handleCallback (Handler.java:739)...
How to detect if image rotated for some devices. For some devices like samsung image is auto rotatted after photo taken.
while capturing image from oopo phone getting blure image while , I set the flash on app:flash="on" capture image getting in good quality
Hi Everyone. Is there a way to set Geolocation Exif data (`ExifInterface.TAG_GPS_*`) on preview time? I could make this work on onPictureTaken, before generating the picture bitmap from the byte...
First of all, I say this is a great library. With the help of this, I can easily implement a custom camera view in my application. Here is my problem....
I have tried cameraview on my oneplus 6 which has large screen with aspect ratio of 19:9 and notch also. When i run my application it gives an error while...
When user on flash than take image i got this exception 02-12 14:48:41.580: E/AndroidRuntime(6997): FATAL EXCEPTION: main 02-12 14:48:41.580: E/AndroidRuntime(6997): java.lang.RuntimeException: takePicture failed 02-12 14:48:41.580: E/AndroidRuntime(6997): at android.hardware.Camera.native_takePicture(Native Method) 02-12...
07-28 17:32:15.780: E/camera-hal(2518): camera_device.cpp(3750):validateCaptureSettings: Unsupported ae mode 2. 07-28 17:32:15.780: E/camera-hal(2518): camera_device.cpp(5565):validateCaptureSettings: validateCaptureSettings failed. 07-28 17:32:15.780: E/camera-hal(2518): camera_device.cpp(2869):processRequest: Invalid settings for capture. Device:1 Frame Number:0 07-28 17:32:15.442: I/CameraService(2518): disconnect: Disconnected...
This is fix for my #96. I got exception every time when moved phone and took picture in the same time(as described in #96). Exception isn't verbose enough and doesn't...