Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Developer
Posts: 589
Registered: ‎10-17-2010
My Device: (BlackBerry Z10)-> Q10/Passport Dual Use

Detecting Swipe Gesture - Up Down Left Right Cascades in Screen

How do you detect a swipe up down left or right gesture inside of a screen? I want to add my own interaction control. Now sure how do detect a swipe (which is basically a drag across the x or y axis) in + and - directions...


What I've already looked at:

 

Gesture Handlers

https://developer.blackberry.com/cascades/reference/bb__cascades__gesturehandler.html

 

Gives me Tap, Long Press, Double Tab, and Pinch Gestures.

 

Any of you already implemented something that you can share?

Thanks.

Developer
Posts: 589
Registered: ‎10-17-2010
My Device: (BlackBerry Z10)-> Q10/Passport Dual Use

Re: Detecting Swipe Gesture - Up Down Left Right Cascades in Screen

anyone?

Highlighted
New Contributor
Posts: 3
Registered: ‎07-15-2012
My Device: BB10 Dev Alpha
My Carrier: Starhub

Re: Detecting Swipe Gesture - Up Down Left Right Cascades in Screen