Hi,
I saw that MoSync recently added support for Multitouch, which is a nice to have feature for phones with a touchscreen. But what I am missing is the possibility to recognize touch gestures in order to be able to process them in my application.
I read that some Operating Systems support gesture recognition in their core (i.e. Windows Mobile), while others rely on the application to recognize them. So the best solution of course would be, if MoSync would be able to feed recognized touch gestures as an event, if the OS supports that.
As this is currently not the case, I ported the utouch-grail Gesture recognition library to MoSync.
I hope that it is useful for some of you as it is for me. More details about the port can be found in the included README.TXT
The current build configuration is for Microwindows, therefore you have to enable the mosync\mosgrailev.c and mosync\winapi.c files if you want to use it with MoSync. There is a sample testing program: test-mosync\grail-gesture.c to test the library.
As I'm using it for multitouch gesture recognition, but not every phone that supports touch, also supports multitouch, a #define in the device profile would be handy so that I can only link the library if it is needed.
Regards,
Ludwig
| Attachment | Size |
|---|---|
| libgrail.zip | 104.18 KB |