Saturday, 15 September 2012

Shake Detection - IBM Worklight 6.1 Android Plugin -



Shake Detection - IBM Worklight 6.1 Android Plugin -

i developing shake detection project in ibm worklight 6.1 targeting android , ios platforms. followd this: http://androidexample.com/accelerometer_basic_example_-_detect_phone_shake_motion/index.php?view=article_discription&aid=109&aaid=131

based on next link: android – using native pages in hybrid applications

i need generate plugin first, need phone call plugin javascript function.

i need know function can phone call javascript, in turn phone call android plugin.

learn create cordova plug-ins in worklight , how phone call them. explained in creating cordova plug-ins training modules accompanying sample projects.

adding native functionality hybrid apps cordova. specifically:

ios – adding native functionality hybrid application apache cordova plugin android – adding native functionality hybrid application apache cordova plugin

maybe utilize cordova accelerometer api observe fast motion shake, , if detected execute plug-in there via js: http://cordova.apache.org/docs/en/3.1.0/cordova_accelerometer_accelerometer.md.html#accelerometer

android worklight hybrid-mobile-app

No comments:

Post a Comment