flowcamera
flowcamera copied to clipboard
使用最新的CameraX 相机库 实现仿微信拍照和拍小视频(Based on the Camerax, faster and better compatibility)
``` java.lang.ClassCastException: androidx.fragment.app.FragmentViewLifecycleOwner cannot be cast to android.content.Context at com.hbzhou.open.flowcamera.FlowCameraView.setBindToLifecycle(FlowCameraView.java:399) ```
三星s9,android 10,前置摄像头拍出来的照片,会顺时针旋转90度,官方demo也有这个问题,看着是camerax在做水平镜像的时候,影响到了旋转的角度导致的问题,请问怎么改比较好?
折叠屏闪退
10-17 10:13:01.936 1094-1307/? E Parcel : Reading a NULL string not supported here. 10-17 10:13:01.936 1094-1307/? E HiEvent : java.lang.IllegalStateException: Call triggerSingleCapture after configured the camera 10-17 10:13:01.936 1094-1307/? E...
布局加载报错
把该控件放入Activity的布局之后,运行报错。。。 
### 华为android10使用FlowCameraView闪退,使用CustomCameraView没有闪退 ` 2021-05-12 17:27:26.381 3309-4760/com.gwm.sharing.platform E/AwareLog: AtomicFileUtils: readFileLines file not exist: android.util.AtomicFile@d39d30d 2021-05-12 17:27:26.471 3309-4784/com.gwm.sharing.platform E/AndroidRuntime: FATAL EXCEPTION: CameraX-core_camera_0 Process: com.gwm.sharing.platform, PID: 3309 java.lang.AbstractMethodError: abstract method "androidx.camera.core.impl.CameraFactory androidx.camera.core.impl.CameraFactory$Provider.newInstance(android.content.Context, androidx.camera.core.impl.CameraThreadConfig,...
要是能加水印就完美了
使用CustomCameraView 打开直接报错,报错信息如下: 2020-12-16 18:58:29.663 10637-10774/com.hbzhou.open.camera E/AndroidRuntime: FATAL EXCEPTION: GLThread 598 Process: com.hbzhou.open.camera, PID: 10637 java.lang.NoSuchMethodError: No static method get-impl([II)I in class Lkotlin/UIntArray; or its super classes (declaration of 'kotlin.UIntArray' appears...