gesture-recognition

How can I detect a shake gesture in PhoneGap 0.8?

I'm using PhoneGap 0.8 and I'd like to detect a basic shake gesture. I've found two relevant snippets: http://groups.google.com/group/phonegap/browse_thread/thread/25178468b8eb9e9f http://phonegap.pbworks.com/Handling-Shake-Events Neither of them are working for me. Unfortunately the documentation seems a little outdated and the API r...

Is there any simulator where i test touch screen applicaiton.

hi As we have iphone simulator for run and test without iphone. I want to know if there any software on which we can test application for PC and Mac. ...

wpf inc custom gesture

Hi, I can't seem to find any info on wpf ink gesture. I want to make my own custom gestures and add it so the ink control knows its a new custom gesture. Does anyone know how to do this? Andrew http://mypcprogrammer.com ...

C# or JAVA library for gesture recognition from webcam?

Hello, I have a project for gesture recognition. I was wondering how can use C# or Java to program it? Is there any special library? Do I need programming or do I need a special device rather than a webcam? ...

Using android gesture on top of menu buttons

What I want is to have an options menu where the user can choose to navigate the menu between: 1) touching a button and then pressing down on the trackball to select it, and 2) drawing predefined gestures from Gestures Builder As it stands now, I have created my buttons with OnClickListener and the gestures with GestureOverlayView. Then...

how to develop AForge.NET for Computer Vision

I'm trying to develop a program to recognize a hand gestures and base on the hand gestures, run some commands or move the mouse. how can I use AForge.NET with C#??? it is possible to do that? is there any tutorial out there???? Please help ...

Using webcam to track hand gestures

I wanted to develop a program which uses the webcam to track four colours and which are going to be on my index finger and thumb of both my hands and according to the gestures of my hand the computer will interpret these gestures and carry out a command. For example if I have a website open, all I have to do is pinch with my fingers and ...

Where to start to write a simple eye tracking program ?

Hi, I want to write a program that the cursor moves according to your eye movements. But I don't have any clue where to start. The only thing that I found a library called wiigee. But I'm not sure that I can use it for eye tracking. ...

draw by mouse with HTML5 Canvas

Hello guys. I want to use HTML5 Canvas to draw by mouse (ex: draw a signature, draw a name,...) Please help me how can i do? Please give some source code. Thank you ...

Simple circular gesture detection

I'm looking at a simple, programmatic way of detecting whether or not the user has drawn a circular shape. I'm working in C, but am happy to work from pseudo-code. A bit of Googling brings up a number of (hopefully) overly-complex methods. I'm tracking the mouse coordinates as floats, and have created an array of vectors to track the mo...

How to interpret GestureRecognizer results sort order?

The documentation for the GestureRecognizer class in .NET states that the sort order of the results returned by the Recognize method has to do with how strong the confidence is. However, when I created my own sample (in WPF, .NET 3.5sp1) that creates a recognizer I do not see this behavior. For the record, i set the recognizer to recogn...

windows mobile 6.5 Gestures and DirectDraw

I'm trying to build a UI using directdraw in c#. For this im using a DirectDrawWrapper as sugested here. My initial tests setting up the screen work perfectly. But now i'd like to incorporate gesture recognition into the UI. So i instantiate a GestureRecognizer and tie it to the _form which also gets passed to the DirectDrawGraphics c...

How to detect doubletap on a View?

Hello! I'm trying to have a View sensitive to double taps on an Android. So far, I learned to set up the double tap and know what place to handle the event for action: API: android.view.GestureDetector.OnDoubleTapListener private GestureDetector mGestureDetector; … mGestureDetector = new GestureDetector(this); … mG...

iPhone SDK 3.2 UIGestureRecognizer interfering with UIView animations?

Are there known issues with gesture recognizers and the UIView class methods for animation? I am having problems with a sequence of animations on a UIImageView from UIGestureRecognizer callback. If the sequence of animations is started from a standard callback like TouchUpInside, the animation works fine. If it is started via the UILong...

Complex gestures on the iPhone.

Is there a high level library that handles complex gestures l ike detecting triangles / loops / circles? Is it even possible to build such a library with what Apple already has? Thanks, Teja ...

Android: How/where to put gesture code into IME?

Hi, I'm new to Android but I'm trying to create an IME that allows for gesture-character recognition. I can already do simple apps that perform gesture recognition but am not sure where to hook in the gesture views/obj with an IME. Here is a starting skeleton of what I have for the IME so far. I would like to use android.gesture.Gestu...

Android 2.1 fling gesture captured on textview but still a contextmenu opens

The following problem seems unique to 2.1, happens both on an emulator and on a nexus. The same example works fine on other platforms I've tested (1.5, 1.6 and 2.0 emulators). I've added created gestureListener as described in this post. The difference is that I've added the listener on a TextView which also has a contextMenu registered...

Windows Mobile 6.5 flick (scrolling with inertia) not working

After upgrading to windows mobile 6.5, my ListView control does not work properly with custom items (rows with alternate colors) and the new gesture mechanism... On a mobile device, if the user initiates a flick or pan, after scrolling the first few items, the last items are not shown on the screen, but will show up if the user explicitl...

Implementing tracing gestures on iPhone

I'd like to create an iPhone app that supports tracing of arbitrary shapes using your finger (with accuracy detection). I have seen references to an Apple sample app called "GestureMatch" that supposedly implemented exactly that, but it was removed from the SDK at some point and I cannot find the source anywhere via Google. Does anyone...

UIgestureRecognizer in a view inside a UIScrollView

Has anyone managed to get a UIGestureRecognizer to work on a UIView that is a subview of a UIScrollView? My callbacks never seems to get called. As a simple example, I want to have a paging scrollview and on the third page listen for a tap with a UITapGestureRecognizer. However I can not get it to work. Here's how I would do it: self....