Sign upAdd Your SDK

This MultiTouch Controller class makes it much easier to write multitouch applications for Android:

- It filters out "event noise" on Synaptics touch screens (G1, MyTouch, Nexus One) - for example, when you have two touch points down and lift just one finger, each of the ordinates X and Y can be lifted in separate touch events, meaning you get a spurious motion event (or several events) consisting of a sudden fast snap of the touch point to the other axis before the correct single touch event is generated.

- It simplifies the somewhat messy and inconsistent MotionEvent touch point API - this API has grown from handling single touch points, potentially with packaged event history (Android 1.6 and earlier) to multiple indistinguised touch points (Android 2.0) to the potential for handling multiple touch points that are kept distinct even if lower-indexed touchpoints are raised (and thus each point has an index and generates its own indexed touch-up/touch-down event). All this means there are a lot of API quirks you have to be aware of. This MultiTouch Controller class simplifies getting access to these events for applications that just want event positions and up/down status.

- The controller also supports pinch-zoom, including tracking the transformation between screen coordinates and object coordinates. It correctly centers the pinch operation about the center of the pinch (not about the center of the screen, as with most of the "Google Experience" apps that added their own pinch-zoom capability in Android-2.x). This also means that you can do a combined pinch-drag operation that will simultaneously translate and scale an object. This is the only natural way to implement pinch-zoom, and subconsciously feels much more natural than scaling about the center of the screen.

- The controller was recently updated to support pinch-rotate, allowing you to physically twist objects using two touch points on the screen. In fact all of rotate, scale and translate can be simultaneously adjusted based on relative movements of the first two touch points

SDK for Android

Example A

Selected Apps that use this SDK

Yhblclvmxuqjso bpsfwca4l9ticwo1noocniv7 m4pwptfnpqxoi0t9fktv67mvolydi8dm0xlo9akj

Designs 1: Photo Editor

Yx0gbrrayuswm9gahv 3jcaulgcaexpva1qnv9dle 2e0fm2n2kj5lsrme7hsbs yxgbvelg 012flul

trivago - The Hotel Search

Aawmlioq0e23 ess0l9iud 7foc2s0gjy aapjxig7otmhey nishlqtlyvjl 1ykj6ppauyqyi8042j

Visa QIWI Wallet

Mx6i0ou5 to fmhdlbi40641yf0zkymxyli2820rbe 7dakqubiyqydzjkud7zhuj 8n x2lwl5sv57i


Rtb0duzolys9tq  rkwoiafc zfvjvhnmcb aru1kpqbownk2wmni2q6 3wh5odfiim6e 7kyqajpcct

SurfEasy Secure Android VPN

Similar SDKs



Rate Now

Start a new discussion about android-multitouch-controller