Hi erel!
we made this!
this take the max zoom and add on panel if user move to up go to max zoom if to down (dont work) but the code is correct
look this code the code its working for example my moto g have the maxzoom = 60
with this code i make up = 60 down = 0 if i move to up i have 1 to 60 if i move to down i have 60 to 0
the zoom its working but to remove the zoom dont work, why this?
Sub porcentagem(recebe As Int)
recebe= Abs((((recebe*100) / 100%y) - 100) / 100) * camEx.GetMaxZoom
Log(recebe)
Return recebe
End Sub
Sub paineltransparentcamera_Touch (Action As Int, X As Float, Y As Float)
Select Case Action
Case Activity.ACTION_MOVE
camEx.Zoom = porcentagem(Y)
camEx.CommitParameters
End Select
Return True
End Sub
i can give zoom but dont remove the zoom with no zoom = 0 max zoom = 60
if i set zoom = 60 this works, if i want set zoom to 0 again dont work
how can i make for remove the zoom?
i have tested your code here
http://www.b4x.com/android/forum/th...lass-zoom-function-to-work.35829/#post-210496
zoom with a seekbar but dont work too, i can give zoom + but not zoom -, when i give zoom + the zoom stay at max and dont back to normal.
i think this is a bug on, camex class or moto g can u help me pls?