Android Question CamEx Zoom Out

Discussion in 'Android Questions' started by Tirecs, Aug 3, 2015.

  1. Tirecs

    Tirecs New Member Licensed 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:
    Code:
    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: Aug 4, 2015
  2. Erel

    Erel Administrator Staff Member Licensed User

    Please use [code]code here...[/code] tags when posting code.

    What happens when you move the seekbar?
     
  3. DonManfred

    DonManfred Expert Licensed User

    You set the zoom level to maximimum here.
    and then you are wondering about this?
     
  4. Tirecs

    Tirecs New Member Licensed User

    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:

    Code:
    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: Aug 4, 2015
  5. Erel

    Erel Administrator Staff Member Licensed User

    I've just tried the example with the seekbar on Nexus 5 and it works properly.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice