Get information on your favorite TV Shows at
Clarify the meaning of the acronyms on your web site.
Register your own domain name at A to Z Domains.
or buy domains at Domain Names For Sale .net
Printer-friendly PDF* format:
What are Finger Gestures?
Finger Gestures are continuous sequences of finger motions on a touch-screen device. Some touch-sensitive handheld devices include:
This site provides a catalog of Finger Gestures which makes to detecting and recognizing specific gestures much easier. Follow these steps to make use of Finger Gestures:
Encoding Segments of a Gesture
While handling motion events on a touch device (in a GestureDetector in the Android SDK, for example), each segment of the gesture is encoded as an XY pair of base 3 digits with 0 indicating no motion, 1 indicating motion in the negative direction and 2 indicating motion in the positive direction. Note that no negative numbers are used - there are only positive values since two negatives (-X,-Y) don't make a positive when dealing with directions.
Encoding logic can take advantage of program constants such as:
Motion in a diagonal direction is encoded by adding the constants
for the two component directions, for example
Segment encoding summary
Build up a gesture from individual segments by multiplying the gesture for all previous segments by 9, then adding the code for the new segment. In other words, create a base 9 number with all of the segment codes placing the starting segment code in the high order position and the last segment code in the low order position. For example, a G-shaped gesture starting in the upper right and ending in the middle would be coded as 32613 (left, down, right, up, left).
Convert to a decimal number if necessary. This allows
the gesture to be specified as a constant value in a program,
possibly as a
For direct access to specific gestures in the gesture catalog, the web pages are named as follows (gn = gesture number):
Finger Gestures with ten segments or more are encoded with numbers that are usually
Lists of Gestures
One way to recognize different gestures is include a
Program Actions for Specific Gestures
Last updated Sunday November 1, 2009
You are currently viewing this page in HTML 4* format (* see Clicklets for more infomation). This document is also available in XHTML 1 Style Sheet*XHTML 1* XML*HTML 5 Style Sheet*HTML 5 XML*HTML 5 non-XML* XHTML 2* XHTML Mobile* WML Mobile* and printer-friendly PDF* formats. This is accomplished with Single Source Publishing, a content management system that uses templates in XSLT style sheets provided by XML Styles .com to transform the source content for various content delivery channels. There is also RDF* metadata that describes the content of this document.
Copyright © 2009 Accilent® Corp. Alteration of content, including addition of any function such as hypertext links or pop-up advertising, or interference with the hypertext links or other functions of this site is expressly prohibited.
DISCLAIMER: All information, links, forms, applications and other items on this site or obtained from it are provided AS IS, WITHOUT WARRANTY OF ANY KIND EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.