24 Jun 2010 4:06 PM #1
Example touch events: tap, tapstart, tapmove, doubletab, drag and pinch
I wrote a example application which make use of the following touch events:
- and pinch
- tap once: to create a new box
- touch the box and move you finger to bottom right of the window to resize the box
- double tap: activate dragging
- next double tap: deactivate dragging
- pinch: make a fast pinch with to fingers to destroy the box
Hope this example application helps to show how you can use and handle touch events.
26 Jun 2010 7:39 AM #2
Nice work. The only problem I found is the bottom bar. it doesn't appear on my Android device. Because of that, I can't play on the "Playground"
26 Jun 2010 8:20 AM #3
In the bottom are tabs of the tabpanel. I tested it on iPhone, iPad and one android phone. Did you have test the sencha touch examples and has the them problem with tab panels?
26 Jun 2010 8:48 AM #4
The Touch examples works fine. And i don't know if you change something, but now it's the bottom tabbar is working.
- Single tap works.
- Resize works.
Now I'm having problems with double tap.
- Double tap over the numbers, sometimes, opens my "Dial App". (this is really anoying and happens only with Sencha Touch)
- Double tap on the rest of square, sometimes change the draggable value, sometimes delete the square.
- Pinch doesn't work.
My device is a Motorola Milestone (Droid) with Android 2.1
Is your android phone 2.2 version? I know there are lot of changes on browser engine.
14 Mar 2012 10:14 AM #5
What is the function that return the tap or touch position in a fullscreen panel??
14 Mar 2012 10:23 AM #6
ok, I reply myself..
Property pageX and pageY
20 Aug 2012 10:59 PM #7
I would like to see your example and sources. But, it not seems to be on your site anymore. It will possible to have a new link to your application ?
20 Aug 2012 11:08 PM #8
thats very old stuff from me ;-) i haven't the things online anymore cause it was early ST1 stuff.
You can find my new ST2 stuff on my blog.
21 Aug 2012 2:51 AM #9
It's a old example but it's just that I would have that type of example for ST2 but I haven't find it...
(In fact, I would have an example of how to place and move a image in a panel with a finger...)
By philp in forum Sencha Touch 1.x: DiscussionReplies: 11Last Post: 12 Jun 2013, 7:07 AM
By ludm in forum Sencha Touch 1.x: DiscussionReplies: 9Last Post: 16 Jan 2012, 5:21 AM
By dazex in forum Sencha Touch 1.x: DiscussionReplies: 6Last Post: 7 Mar 2011, 11:35 PM
By rdougan in forum Sencha Touch 1.x: DiscussionReplies: 4Last Post: 6 Aug 2010, 9:55 PM