I have problem runinng both camera_ex and camera 2 library in the same app.
Definition of cs as camerasize from cameraExClass is initialised from camera2 and it's property
cs.Width is read only
Definition of cs as camerasize from cameraExClass is initialised from camera2 and it's property
cs.Width is read only
B4X:
Public Sub GetPictureSize As CameraSize
r.target = parameters
r.target = r.RunMethod("getPictureSize")
Dim cs As CameraSize
cs.Width = r.GetField("width")' this property is not allowed in camera 2 library
cs.Height = r.GetField("height")' cs camerasize is not initialised from camera library
Return cs
End Sub