Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Do Android/webOS devices support multi-touch Javascript events?

On iPhone, iPod touch and (presumably) iPad, Apple has multi-touch event handling available via JavaScript in Mobile Safari. I know the Nexus One recently added multi-touch support via an update, and I believe webOS is also multi-touch enabled. Do Android 2.1 and/or webOS have access to multi-touch in the browser, or is this currently exclusive to Apple devices?

like image 433
Rufo Sanchez Avatar asked Mar 17 '10 16:03

Rufo Sanchez


3 Answers

The best master tracking for touch events (other than multi-touch! - answered above) appears to be:

http://quirksmode.org/mobile/tableTouch.html

Right now, Android 2.1 gets you pinch/zoom, but that's it. There's no fine-grained multi-touch tracking, like you get on iPhone.

UPDATE: MAY 2011 - Android Honeycomb 3.0 and 3.1 browsers now have proper multitouch

like image 161
Michael Mullany Avatar answered Sep 19 '22 03:09

Michael Mullany


Please star this bug on the Android bug list:

http://code.google.com/p/android/issues/detail?id=11909

Let's see if we can raise awareness of this issue.

like image 32
David Bennett Avatar answered Sep 19 '22 03:09

David Bennett


On Palm webOS, you can get multiple touch events. You can receive up to five touch points at one time.

If you're doing native development using the PDK, handling multiple touches is described at http://developer.palm.com/index.php?option=com_content&view=article&id=1980&Itemid=337. Each finger is tracked as a separate mouse in the SDL events.

For Javascript developers using the standard SDK, there events that are sent to indicate that two fingers are in use. "gesturestart" fires when the user puts 2 fingers on the screen, usually to pinch or rotate, "gesturechange" fires when 1 or both fingers move on the screen, and "gestureend" fires when the fingers are lifted from the screen. These aren't well documented on the Palm developer site, but they're used in the mojomatters sample code.

Edit: looking at your question again, there is no "touch" event support in the browser on WebOS for applications delivered through web sites.

like image 39
Ben Combee Avatar answered Sep 21 '22 03:09

Ben Combee