Android CameraX Video Capture: ERROR_NO_VALID_DATA when starting recording
I’m trying to implement video recording in my Android app using CameraX. The app displays the camera preview correctly, but when I try to start recording, I get the following
NullPointerException: Cannot invoke “String.length()” because “” is null appear on build Android ccamerax v1.4.0-beta02
i update camerax version to v1.4.0-beta02, but i get the error java.lang.NullPointerException: Cannot invoke “String.length()” because “” is null when build. how can fix it but can not change the version of agp and gradle? please help.
my agp version is 7.4.2 and gradle version is 7.5
What’s mean “Callback for when the camera has started exposing a frame”
“I am currently exploring the official Android CameraX documentation
and came across the onCaptureStarted() method.
However, I’m confused about its description, which states:
‘Callback for when the camera has started exposing a frame.’
Could someone clarify what this means in the context of CameraX?
I’m new to understanding camera functionalities.”
how to open flash light when back camera is open using CameraManager in Android
I am trying to open flash light when camera is open but it’s working only if the camera is off, when back camera is on, it is throwing exception