Relative Content

Tag Archive for androidkotlinandroid-camerax

How to set a ratio to camera capture Android?

I would like to put the camera capture in full screen. Even when setting a ‘Resolution strategy’ to 1280 by 1280, the size does not change. I am using these versions of CameraX.

How can i wait until imageCapture to be initialized to take a picture?

How can i wait until the moment imageCapture is initialized, i tried using while (imageCapture == null) {}, but it just crashes the application, using a delay isn’t an option too as i want to take a pic with the back cam too, and it would take too long as sometime it can take some time to initialize