Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

swipe and twofingertap in android

Hi,

Does anybody know if "swipe" and "twofingertap" work in Android? I tested with window events in KitchenSink and they do not seem to be fired.
Thanks,
Tuan

— asked April 10th 2010 by Anh Tuan Kieu
  • android
  • event
  • swipe
  • twofingertap
0 Comments

5 Answers

  • Accepted Answer

    The 'swipe' event for Android was just merged in the titanium_mobile master. It should be available in the continuous integration builds shortly. If you don't feel like waiting, you could always go out to github and clone titanium_mobile.

    Details on the issue can be found in this ticket: TIMOB-767

    — answered April 4th 2012 by Tony Lukasavage
    permalink
    3 Comments
    • Great! When will it hit the monthly releases?

      — commented April 4th 2012 by Esben Maaløe
    • Do you mean an official stable release? I believe this one will be part of Titanium 2.1. Titanium 2.0 is slated to come out in the next couple weeks.

      — commented April 4th 2012 by Tony Lukasavage
    • AFAIK there's a new regime of monthly SDK updates scooping the most showstopping bugs, and that was what I meant.

      But 2.0 in a couple of weeks and swipe in 2.1 - that can't be too long

      — commented April 5th 2012 by Esben Maaløe
  • Swipe gestures have yet to be implemented for Android.
    But if anyone is looking, there's a really nice workaround here:

    Swipe for Android plus Vertical Swipes.

    — answered July 21st 2011 by Jay Lonnquist
    permalink
    2 Comments
    • I just added this to my project and it works perfeclty.

      — commented July 22nd 2011 by Leo Crowley
    • This works great! Appcelerator would do well to implement this code internally in the framework, seeming that it's been two years and still no swipe, which is basic functionality of a mobile app and expected to work.

      — commented October 19th 2011 by Justin Toth
  • They're not currently working in Android. I've added two tickets Ticket 767 and Ticket 768

    — answered April 11th 2010 by Don Thorp
    permalink
    0 Comments
  • I'm looking, and I'll check the workaround … still looking for a built-in solution tho' :)

    — answered February 26th 2012 by Esben Maaløe
    permalink
    1 Comment
    • You'll have to apply swipe on all child views as far as I can see …

      — commented February 26th 2012 by Esben Maaløe
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.