11 Replies Latest reply on Feb 1, 2016 9:51 AM by Edward Correia

    EB Intent API - Help needed

    Jacques Gourmelen

      I'm trying to port the below android/java statements into JavaScript while using the EB Intent API but must admit to have not yet figured it out [1]

       

      Intent intent = new Intent("com.symbol.enterprisehomescreen.actions.MODIFY_KIOSK_MODE");

      intent.putExtra("enable",false);

      sendBroadcast(intent);

       

      Has anyone got sample(s) that could help?

       

      --

       

      [1] So far, I got...

       

                  function enableKioskMode() {

                      var params = {

                          intentType: 'Intent.BROADCAST',

                          action: 'com.symbol.enterprisehomescreen.actions.MODIFY_KIOSK_MODE',

                          data: { ???? }

                      }

                      EB.Intent.send(params);

                  }


      but as you can see I'm not sure how to populate params.


      Thanks in advance!