Skip to content
Philzen edited this page Jun 24, 2012 · 6 revisions

What it is for

This piece of code is for you, if

  • you want to develop an HTML5 app
  • you'd like to track more than one fingertap action ("touch events")
  • you want it to work cross-platform including Android 2.x

The most well-known use for this is the pinch zoom - but you could also be developing a cool HTML5-based game that needs some multi-finger-gestures.

Some people are surprised to learn this doesn't work on many (most?) Android 2.x devices. If all of the above applies to you and you have been going crazy (like Philzen) on the question why the heck it's not enabled on those phones, you can stop coursing and continue developing your app... just [give it a try] (https://github.com/Philzen/WebView-MultiTouch-Polyfill/wiki/Using-da-Polyfill) or read more about the Architecture behind it

Target Devices

WMP will polyfill non-existing touches on the WebView (or at least try its best to do so) on all devices running on API Level 4 (Version 1.6) up to 9&10 (Version 2.3.x) or earlier. The main focus during development of WMP lies on Version 2.3.x as it currently runs on >60% of all Android devices out there, and we'll work our way backwards from there.

Clone this wiki locally