Sigh, the little things continue to baffle me. Using CamEx2 (Camera2). I want to set the camera resolution.
I figured out how to get a list of available resolutions.
It returns values that look like like: 640x480
Perfect, I thought I will parse out the 640 and 480 and use those with:
CaptureSize.Initialize(W, H) to set the size.
Unfortunately I cannot figure out what kind of object is returned by cam.SupportedCaptureSizes.
So I can't set it to a string to parse.
returns "Error evaluating expression."
What am I missing?
Is there an easier way?
Thanks.
I figured out how to get a list of available resolutions.
B4X:
Dim Reses As List = cam.SupportedCaptureSizes
Perfect, I thought I will parse out the 640 and 480 and use those with:
CaptureSize.Initialize(W, H) to set the size.
Unfortunately I cannot figure out what kind of object is returned by cam.SupportedCaptureSizes.
So I can't set it to a string to parse.
B4X:
Dim T as string
T=Value
What am I missing?
Is there an easier way?
Thanks.