How can I use device gestures in Oracle MAF application?

I want to use mobile phone gesture in my oracle mobile app. I found Oracle MAF device gesture related art here:

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

But there was no example of how we can use this in a mobile application. If anyone has done this before, please share. Thank.

+3


source to share


2 answers


Added a custom cordova shake plugin for my MAF app and is called from a javascript file that was included in the app's home page function. You can get the cordova plugin and its usage methods from here:



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

+1


source


This video helped me use Swype in my application: https://www.youtube.com/watch?v=TbFwiXSayUM

Add tag to view tag:

<amx:view xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:amx="http://xmlns.oracle.com/adf/mf/amx"
      xmlns:dvtm="http://xmlns.oracle.com/adf/mf/amx/dvt">
<amx:navigationDragBehavior action="volver" direction="back" id="ndb1"/>

      



and add action on task flow navigation action

<control-flow-case id="__4">
        <from-outcome>volverInicio</from-outcome>
        <to-activity-id>taskFlowReturn1</to-activity-id>
        <transition>slideRight</transition>
      </control-flow-case>

      

0


source







All Articles