EB Intent API - Help needed

// Expert user has replied.
J Jacques Gourmelen 2 years 11 months ago
5 1 0

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!

Please register or login to post a reply

1 Replies

J Joydeep Chakraborty

HI Jacques,
Which version of EB are you using?
Regards,
Joydeep

CONTACT
Can’t find what you’re looking for?