Hello and one quick clarification

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
AZLiveCoder
Posts: 2
Joined: Fri Apr 27, 2012 3:42 pm

Hello and one quick clarification

Post by AZLiveCoder » Sun Apr 29, 2012 8:21 pm

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
Rick

LiveCode 4.6, MacBook Pro, OS X Snow Leopard

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7392
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Hello and one quick clarification

Post by jacque » Mon Apr 30, 2012 6:57 pm

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.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

AZLiveCoder
Posts: 2
Joined: Fri Apr 27, 2012 3:42 pm

Re: Hello and one quick clarification

Post by AZLiveCoder » Tue May 01, 2012 3:13 am

Thank, Jacque.
Rick

LiveCode 4.6, MacBook Pro, OS X Snow Leopard

Post Reply