RE: Standardized gestures

2013-04-18 Thread jbo...@openmv.com
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 code here. Touch events are already fired by the web view containers. You could build up gesture

Re: Standardized gestures

2013-04-18 Thread Joe Bowser
code webView.sendJavascript(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 code

Re: Standardized gestures

2013-04-18 Thread Jesse
, ...}); -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 code here. Touch events are already fired by the web view containers. You

Re: Standardized gestures

2013-04-18 Thread Andrew Grieve
(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 code here. Touch events are already

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 to

Standardized gestures

2013-04-17 Thread jbo...@openmv.com
I'm experimenting with Cordova on Android, iOS and Windows 8. Has there been a discussion around trying to implement to set of 'standard' gesture recognizers: http://msdn.microsoft.com/library/windows/apps/BR241937

RE: Standardized gestures

2013-04-17 Thread Erik Johnson
From: jbo...@openmv.com [jbo...@openmv.com] Sent: Wednesday, April 17, 2013 12:42 PM To: dev@cordova.apache.org Subject: Standardized gestures I'm experimenting with Cordova on Android, iOS and Windows 8. Has there been a discussion around trying to implement to set

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/