I overlay a panel on top of my design to detect user's touch. But i find that panel touch event do not have slide (Left or Right). Instead of using a panel, what else can i use to detect slide? I have seen Gesture Detector library (For B4A only)... which is not suitable for me as i am doing a cross platform app (Android and IOS)
Hi Folks, i spent hours searching the forum trying out Agrahams gestures library but failed.:BangHead: My problem is: I have a panel and all i want to know is if the user moved the finger on this panel from the left to the right and vice versa. I dont need coordinates etc i just need the...
www.b4x.com
Added user click function :
B4X:
Select Action
Case Activity.ACTION_DOWN
StartX = X
Case Activity.ACTION_UP
If Abs(X - StartX) > MOVEMENT_THRESHOLD Then
Swipe(X < StartX)
else if StartX=X
log("User just CLick only!")
end if
End Select