Page 1 of 1

Hello and one quick clarification

Posted: Sun Apr 29, 2012 8:21 pm
by AZLiveCoder
Hi LiveCoders,

This is my 1st post. Before I ask my question, I would like to thank all of you for your efforts, time, creativity, and generosity that you give to this forum. I've been reading this forum for nearly two years and I've learned so much. Jacque, Richard, Klaus, Dixie, Mark W, Ken, Richard, Obleo, and so many others, a sincere thank you. For a newbie like me, you're the all important navigators in my LiveCode Rally car (turn left, turn right, watch out for the ravine... OMG! I said ravine not raven). :wink:

What I need clarification on regards gestures on mobile devices. Reading this forum and the manuals, it's my impression that the touchStart, touchEnd, touchMove, touchRelease are the events developers can use to capture user gestures such as swipes or taps. MotionStart, MotionEnd, and MotionDelete are used to detect shaking.

I'm I correct in concluding that the same handlers (that include touchStart, touchEnd, touchMove, touchRelease) can be used for both iOS and Android applications to interpret platform specific gestures such as iOS users double tapping on a datagrid row to view details while Android users swipe the row? Another way of saying this may be is that a double tap on iOS and a swipe on Android will launch the touchStart, touchEnd, touchMove, touchRelease events?

Thanks

Re: Hello and one quick clarification

Posted: Mon Apr 30, 2012 6:57 pm
by jacque
The events are sent consistently on all platforms. It's then up to the scripts to implement whatever action you need in response.

All the touch events map to mouse events in the engine. I generally don't use touch events any more because I can't test them in the IDE. I only use mouse events, which work everywhere.

Re: Hello and one quick clarification

Posted: Tue May 01, 2012 3:13 am
by AZLiveCoder
Thank, Jacque.