View Full Version : Android doesn't support javascrip pinch events... or does it?
4 May 2011, 5:30 AM
4 May 2011, 12:05 PM
Everything I have read seems to say that iOS is the only mobile platform that supports multitouch and the pinch event.
Go beyond www.apple.com (http://www.apple.com) and you'll discover a whole new 'Steve-I'll-control-what-apps-you-are-allowed-to-run' free world!!!
So errm, yes. Android supports it as well. So does Blackberry OS 6 if I'm not mistaken.
And yes, Sencha Touch does too.
4 May 2011, 12:11 PM
4 May 2011, 1:13 PM
Did you run the kicthensink examples in the Android browser directly?
If yes, then please don't. All(most all) examples suck heavily when viewed that way.
5 May 2011, 6:31 AM
I'm interested in this as well..
I've tried the new BB Playbook and everything seems to work except updates to coordinates for the pinch which results in the scale not being updated while you are pinching. But the pinch is detected.
But if google maps work, we should be able to use it as well.
6 May 2011, 12:04 PM
I have been able to retrieve accurate data by drilling down further in the event object.
Using the above, I was able to get values for the locations of the fingers on the screen, but whenever I am trying to access this data it causes the pinch events to fail. It will generate anywhere from 2-5 pinch events and then it stops firing pinch events.
9 May 2011, 1:32 PM
ChrisWTI, can you point me to the function that you are looking at?
I was looking at Ext.gesture.Pinch, specifically getPinchInfo and getDistance functions and tried replacing pageX/pageY with screenX/screenY but with no luck.
It seems that they are the same as pageX/pageY.
10 May 2011, 4:40 AM
10 May 2011, 5:30 AM
I'm actually trying to do exactly the same thing now. Since it looks like Sencha will not do anything about this.
Powered by vBulletin® Version 4.1.5 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.