Titanium Community Questions & Answer Archive

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

shake shake the room that dosen't boom on Ipod

Hi,
the shake gesture doesn't trigger any event..in simulator even on the device..
Im using titanium 1.3.2 ,
any feed back about it….

thank again..

Titanium.Gesture.addEventListener('shake', function(e){
    Titanium.API.log('Shake', 'The room....');
    });
— asked June 28th 2010 by Andrea S
  • iphone
  • ipod
  • shake
1 Comment
  • k

    — commented June 6th 2013 by jitendra kumar

1 Answer

  • try changing the tiapp.xml properties to:

    <property name="ti.android.shake.factor" type="double">2</property>
    <property name="ti.android.shake.quiet.milliseconds" type="int">50</property>
    <property name="ti.android.shake.active.milliseconds" type="int">100</property>
    

    it's working for me on android (device) 4.3 SDK 3.1.2

    — answered August 17th 2013 by Michael Gangolf
    permalink
    1 Comment
    • sorry, now I saw that it was a really old thread. It appeared on the first page in my browser :)

      — commented August 17th 2013 by Michael Gangolf
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.