Search code examples
hybrid-mobile-apporacle-maf

How can I use device gestures in Oracle MAF application?


I want to use phone shake gesture in my oracle mobile app. I found an artical related to Oracle MAF device gestures here:

https://wikis.oracle.com/display/ADFMobileDesign/Pattern+-+Device+Gestures

But didn't found any example that how can we use this in mobile app. If anyone has implemented this before, please share. Thanks.


Solution

  • Added a custom cordova shake plugin to my MAF application and invoke it from javascript file which was included on application home page feature. You can get cordova plugin and its usage techniques from here:

    https://github.com/leecrossley/cordova-plugin-shake