RE: Standardized gestures

2013-04-18 Thread jbo...@openmv.com
> Yes, it may have value. Consider writing a plugin. > The pointer events spec[1] may be of interest, as things like tap/slide/pinch > are all non-standard. > I did this exact same thing [2] for Windows Phone 7, as there aren't even > mouse events. Super thanks for the helpful info, I'll try t

Re: Standardized gestures

2013-04-18 Thread Andrew Grieve
braries would allow > (within > > reasonable ms) for more complex 'gesture' detection. I would rather do > > something like: > > webView.addGesture('swipe'); > > webView.addGesture('handgrab'); > > onTouch/Gesture: > > // do gestur

Re: Standardized gestures

2013-04-18 Thread Jesse
handgrab'); > onTouch/Gesture: > // do gesture detection in native code >webView.sendJavascript("cordova.fireEvent('handgrab', {node, ...}"); > > > -Original Message- > From: Filip Maj [mailto:f...@adobe.com] > Sent: Wednesday, April 17, 20

Re: Standardized gestures

2013-04-18 Thread Joe Bowser
: > webView.addGesture('swipe'); > webView.addGesture('handgrab'); > onTouch/Gesture: > // do gesture detection in native code >webView.sendJavascript("cordova.fireEvent('handgrab', {node, ...}"); > > > -Original Message- > Fr

RE: Standardized gestures

2013-04-18 Thread jbo...@openmv.com
vascript("cordova.fireEvent('handgrab', {node, ...}"); -Original Message- From: Filip Maj [mailto:f...@adobe.com] Sent: Wednesday, April 17, 2013 12:47 PM To: dev@cordova.apache.org Subject: Re: Standardized gestures I'm not convinced you need any additional cod

Re: Standardized gestures

2013-04-17 Thread Filip Maj
I'm not convinced you need any additional code here. Touch events are already fired by the web view containers. You could build up gesture detection in JavaScript by listening to these events. There are libraries out there that do this for you already: - http://eightmedia.github.io/hammer.js/

RE: Standardized gestures

2013-04-17 Thread Erik Johnson
This is an interesting idea. I know we get many requests for gesture recognition on BlackBerry 10. Adding the link below as references as well for the BB platform :) https://developer.blackberry.com/native/reference/bb10/com.qnx.doc.gestures.lib_ref/topic/overview.html -Erik ___