Android Question CamEx Zoom Out

Tirecs

Member
Licensed User
Longtime User
Hi!

we started working with the CamEx Class and tested everything.
We got the strange thing, that zooming in works, but it zooms in the maximum possible.
Zooming out doesn't work at all.

We searched through the whole community and tried every solution we could find, but still no luck.

We tried at last the following:
B4X:
Sub btnplus_Click
   camEx.Zoom = 2
   camEx.CommitParameters
End Sub

Sub btnminus_Click
   camEx.Zoom = 0
   camEx.CommitParameters
End Sub

Sub SeekBar1_ValueChanged (Value As Int, UserChanged As Boolean)
   If UserChanged = False Or camEx.IsZoomSupported = False Then Return
  camEx.Zoom = Value / 100 * camEx.GetMaxZoom
  camEx.CommitParameters
End Sub
 
Last edited:

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

Tirecs

Member
Licensed User
Longtime User
Please use [code]code here...[/code] tags when posting code.

What happens when you move the seekbar?

It's jumping to maximum and stays there. When move it back it still stays at maximum.

@DonManfred:
Sorry, I copied the wrong example..
We tried first this:

B4X:
Sub btnplus_Click
camEx.Zoom = 2
camEx.CommitParameters
End Sub

But it also zooms to the maximum.
We checked before if zoom is possible we got back true and also that it can zoom til "39"

We tried it on different devices: Samsung and LG
 
Last edited:
Upvote 0
Top