I clone the [ CameraXBasic ] project, and just run it on my [ HUAWEI mate 30 5G ].
Usually it's fine, but sometimes the preview appears to be extremely near my face and looks blurry.
It seems that every time I shutdown and relaunch the app, cameraX randomly measures a focus distance, which can be VERY FAR or VERY NEAR.
Gradle dependencies:
def camera_version = '1.0.0-beta03'
implementation "androidx.camera:camera-camera2:$camera_version"
implementation "androidx.camera:camera-lifecycle:$camera_version"
implementation 'androidx.camera:camera-view:1.0.0-alpha10'
I clone the [ CameraXBasic ] project, and just run it on my [ HUAWEI mate 30 5G ].
Usually it's fine, but sometimes the preview appears to be extremely near my face and looks blurry.
It seems that every time I shutdown and relaunch the app, cameraX randomly measures a focus distance, which can be VERY FAR or VERY NEAR.
Gradle dependencies:
def camera_version = '1.0.0-beta03'
implementation "androidx.camera:camera-camera2:$camera_version"
implementation "androidx.camera:camera-lifecycle:$camera_version"
implementation 'androidx.camera:camera-view:1.0.0-alpha10'