gesture-recognition

How to determine all line segments from a list of points generated from a mouse gesture?

Currently I am interning at a software company and one of my tasks has been to implement the recognition of mouse gestures. One of the senior developers helped me get started and provided code/projects that uses the $1 Unistroke Recognizer http://depts.washington.edu/aimgroup/proj/dollar/. I get, in a broad way, what the $1 Unistroke Re...

What devices are available to test WM_GESTURE and WM_TOUCH code on a desktop machine?

I'm writing some code to handle WM_GESTURE and WM_TOUCH events in Windows 7, but I can't figure out how to test it. I do my development in Boot Camp on a 17" Mac Book Pro. So far, I have determined that the Boot Camp trackpad driver in Windows 7 does not generate those events, and this generic trackpad I found on Amazon.com that claims ...

Any way to detect if nothing is touching the iPhone screen?

I'm having trouble keeping track of touches on the iPhone, sometimes touches gets "lost" due to some kind of hardware limitation. It can happen when the user is cluttering the device with more touches than it can handle. This means the number of touches reported by touchesBegan does not necessarily equal the number of touches reported b...

UILongPressGestureRecognizer issue

Hello, i have one issue regarding UILongPressGestureRecognizer, i have add gesture like below of the code **ViewDidLoad** UILongPressGestureRecognizer *_longRecognizer = [[UILongPressGestureRecognizer alloc] initWithTarget:self action:@selector(ICN_TRASH_Click:)]; NSArray *recognizerArray = [[NSArray alloc] initWithObjects:_longR...

Do I need to release a gesture recognizer?

If I add a gesture recognizer to a table cell called cell, e.g.: UILongPressGestureRecognizer *_longPressRecognizer = [[UILongPressGestureRecognizer alloc] initWithTarget:self action:@selector(cellGestureRecognized:)]; _longPressRecognizer.allowableMovement = 20; _longPressRecognizer.minimumPressDuration = 1.0f; [cell addGestureRecogniz...

How to recognise a specific gesture

Please bear with me because my query is difficult to explain. Is it possible to recognise a specific touch action or gesture on the iPad and then raise an event when this action occurs? Imagine the user wrote the letter 'i' on the touch screen. So that would involve first recognising that the user tapped the screen once (for the dot o...

pinch gesture in iphone sdk

hi i want to know how i detect the font size of text when i use pinch gesture in iphone sdk ...

Why doesn't my UIImageView respond to taps?

I have a UIImageView that's being loaded from a NIB. I've hooked up a gesture recognizer to it to handle taps, but when I run the app, taps aren't being detected. ...

UILongPressGestureRecognizer gets called twice when pressing down

I am detecting if the user has pressed down for 2 seconds: UILongPressGestureRecognizer *longPress = [[UILongPressGestureRecognizer alloc] initWithTarget:self action:@selector(handleLongPress:)]; longPress.minimumPressDuration = 2.0; ...

Using a Drawable.Callback to detect a gesture on top of it

What I mean by this is, if I have several drawables in different areas of the screen, how can I use a callback on that drawable to detect when a gesture is drawn by the user directly over one of them so that it is specific to that drawable and not all drawables on the screen at that time? Thanks ...

Listening for when a gesture occurs on a specific object on screen

Hi there I will have several objects on my canvas at once and need to detect over which one the user performed a gesture. The only way I can think of is splitting the screen up in to many views and listening in each but this isnt very efficient so has anyone a better way, preferably using seperate gesturedetectors that belong to each ob...

Is any possible to recognize some gestrues in Windows mobile 6 platform

I know that gesture API added to Windows mobile at 6.5 version. But if I want to recognize some gesture on WM6 (not 6.5), is there some workaround ways to do such things? For example, how to response to a finger slip event in WM6? ...

How do I chain two UIGestureRecognizers together?

What I would like to do is to detect a swipe gesture followed by a pan gesture as part of the same touch sequence. So the user first swipes an object to carry out an action, then, while keeping their finger on the screen, moves up/down to propagate the action to surrounding objects. I have a swipe gesture recognizer and a pan gesture r...

Android Swipe to left or right?

How can I detect in a ListView that someone swiped to the left or the right? ...

Image comparison using Objective C.

Hi, i am planning to create an application to compare pill images if they were the same. Is there any source that i could use that detects colors, shape, size of the pill in the picture and compre if that picture is the same with the other picture of the same pill? Regards, ZaldzBgz ...

Remove gestures from RatingBar

Hi, I have an Activity with several RatingBars on it so my users can rate many different things. My problem is that this makes it difficult for my users to scroll up and down the screen. If you attempt to slide your finger vertically on the screen and the first spot you touch is over a RatingBar, the RatingBar tries to capture the ges...

with android gesture builder can i save to data directory

I have been looking at the gesture builder demo for the android and it works great: provided that you have and SD card. I'm trying to adjust it so that it will write to the internal storage instead of the SD card. So far it has been pretty simple, if (android.os.Environment.getExternalStorageState().equals(android.os.Environment.MEDI...

How to implement one-finger rotate gesture recognizer?

I'm aware that there's the UIRotateGestureRecognizer already part of the iOS. But this gesture required two fingers. How I can implement a similar gesture recognizer requiring only one finger? There's a game in the AppStore - Gyrotate with a pretty good implementation of this. Any clues are appreciated. Thx. ...

How do you switch 2 different Views by using Drag Gesture in Android?

Hi, so im trying to create an interface where the user can drag their finger from the right to the left to get to the second view, and the first view being dragged will move from right to left. very similar to an android device home screen, where the user can drag a screen to the left or right and another screen will emerge from there. I...

"Tap-And-Hold" Gesture on ScatterViewItem with Surface Toolkit for Windows 7

Hi, I can't find out the best way to implement this gesture on ScatterViewItems. Also, I would like to use a wipe-gesture but that's further away ... ...