Questions tagged [gestures]

The tag refers to a method of interaction with graphical user interface. Instead of simply choosing, user may draw a shape (so called gesture) over an item, which is recognized by the software and triggers specific reaction. Gestures are very popular, but not limited to touchscreen applications.

516 questions
14
votes
1 answer

Does having variations of gestures in gesture library improve recognition?

I'm working on implementing gesture recognition in my app, using the Gestures Builder to create a library of gestures. I'm wondering if having multiple variations of a gesture will help or hinder recognition (or performance). For example, I want…
Andy Dennie
  • 6,012
  • 2
  • 32
  • 51
14
votes
2 answers

Prevent page navigation on horizontal scroll

I am using a mac trackpad.How to prevent the page going back and next to visited pages on horizontal scroll ?. I tried to prevent the wheel events but it doesn't works most of the time. container.addEventListener('wheel', function(ev) { …
Prasanna Rkv
  • 419
  • 4
  • 12
13
votes
2 answers

How to detect a swipe-to-delete gesture in a customized UITableviewCell?

I have customized a UITableViewCell and I want to implement "swipe to delete". But I don't want the default delete button. Instead, I want to do something different. What would be the easiest way to implement this? Are there some methods which get…
Proud Member
  • 40,078
  • 47
  • 146
  • 231
13
votes
6 answers

ReactNative PanResponder limit X position

I'm building a Music Player and I'm focusing on the progress bar. I was able to react to swipe gestures, but I cant limit how far that gesture goes. This is what I've done so far. I've reduced everything to the minumal: constructor(props) { …
Facundo La Rocca
  • 3,786
  • 2
  • 25
  • 47
13
votes
4 answers

Disable Windows 8 edge gestures/hot corners for multi-touch applications while running in full screen

I have a full screen AS3 game maby with Adobe AIR that runs in Windows 7. In this game it may not be easy to exit (think about kiosk mode, only exit by pressing esc and enter a password). Now I want this game to run in Windows 8. The game is working…
Ron van der Heijden
  • 14,803
  • 7
  • 58
  • 82
11
votes
2 answers

Android: GestureDetector not working (gestureDetector.onTouchEvent(event) always false) with Tabs (TabActivity, Tabwidget)

I have implemented my TabActivity with different child activities: intent = new Intent().setClass(this, MyChildTabActiviy.class); // Initialize a TabSpec for each tab and add it to the TabHost spec =…
einschnaehkeee
  • 1,858
  • 2
  • 17
  • 20
11
votes
1 answer

GestureDetector.SimpleOnGestureListener and GestureDetectorCompat don't work. What's wrong with my code?

I'm following Detecting common gestures guide. I have linked to android-support-v4.jar library to get GestureDetectorCompat, and my code seems exactly the same as in the guide, except I'm detecting gestures in my custom view rather than in…
Violet Giraffe
  • 32,368
  • 48
  • 194
  • 335
11
votes
5 answers

Gesture Listener onFling Not Acting Consistant

Update: See bounty for expanded question. I have a GestureDetector setup on a ListView. The ListView is an entire fragment that comes from side of window and overlays another fragment partially. I want to give user ability to swipe it close (i.e.…
TheLettuceMaster
  • 15,594
  • 48
  • 153
  • 259
10
votes
3 answers

How to determine location of a tap in Xamarin Forms?

In Xamarin Forms how do I find out the location of a tap (within an image, say)?My code is: var tapGestureRecognizer = new TapGestureRecognizer(); tapGestureRecognizer.Tapped +=…
BillF
  • 1,034
  • 3
  • 13
  • 28
10
votes
3 answers

how to create a raw file of android gestures

I have noticed in the android gesture examples, that it reads the gestures from the res/raw folder. it would be a great thing for my application to include a 'getting started' list of gestures. that way a user can use the app without having to…
yamspog
  • 18,173
  • 17
  • 63
  • 95
10
votes
3 answers

Is there a javascript gesture library that works with the Samsung galaxy tab?

i have been experimenting with javascript gesture libraries. They all work great with the iPad mini, however, when I try them on my Samsung Galaxy Tab (GT-P7510, Android 4.04), the results are at best intermittent. The best results I get are in…
Relaxing In Cyprus
  • 1,976
  • 19
  • 25
9
votes
3 answers

How to recognize tap gesture while a view is animating

Just wondering is there way to have a view recognize tap gestures while it is being animated? I am working on a view that has a cashapelayer line tethered to it. When the user pans the view (pan gesture) the line follows accordingly until the user…
johnnyd
  • 101
  • 1
  • 3
9
votes
2 answers

Multi-touch gestures in webapp on desktop

I'm developing online map(like google maps) of cool fantasy world. I'm also use OS X on my main computer. Since OS X(especially Lion) are focused on different multi-touch gestures because almost of all mac users have a multi-touch input…
XRazont
  • 113
  • 1
  • 6
9
votes
1 answer

Gesture Recognition In Android

I'm new to Android and I'm working on Gestures. I have a problem regarding how to recognise the text. When a user draws a letter or number that has to be recognised and has to be printed on the top of the screen. I came to know that it can be done…
Lavanya
  • 3,903
  • 6
  • 31
  • 57
9
votes
1 answer

GestureDetector and GestureDetectorCompat

What is the difference between GestureDetector Class and the GestureDetectorCompat class? Both to do the same thing(deal with gestures) but which one should I use?
user3558118
  • 133
  • 2
  • 8
1
2
3
34 35