I want to take photo with CameraX in service without any xml and PreviewView or something else for showing picture, But I have problem.
The CameraX use cases (Preview, ImageAnalysis and ImageCapture) are all completely independent.
Bind only ImageCapture to the lifecycle without any Preview that requires PreviewView. It will work.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With