Issue
I want to open the camera but not in photo form so I can add an overlay. I just need the camera to display what is shows but not to take the photo if that makes sense... How can I do this?
Solution
maybe this article help you open camera view in your app by creating your own view and open camera in its own different thread , as it might take time to load and this will result in the lagging UI.
Maybe this article from android developers website will help you achieve what you want.
https://developer.android.com/training/camera/cameradirect#kotlin
Answered By - JAY_Panchal
Answer Checked By - Robin (JavaFixing Admin)