How to use new api javascript on lockdown ?

Solved Locked
C
Christophe
Post & Telecommunications Luxembourg

Hello all,

we used mobicontrol on version 14.4 with zebra tc75x under android 7 -> agent version > 14 enrolled android +

i've try to play with the new api javascript in the lockdown but until now i can't ...

I've try to display alert -> mobicontrol.message.createInfoDialog() ...

On lockdown add tag <script></script>

add on the body tag -> onload="displayDialog()"

re start device

but nothing ..

Someone call tell me for example how to start with the new api in lockdown ?

thanks

4 years ago
Android
ANSWERS
RC
Raymond Chan Diamond Contributor
4 years ago

The Javascript API documented at https://www.soti.net/mc/help/javascriptapi/en/index.html is for the javascript script engine on Android agent, while any javascript used in lockdown is for the HTML/CSS renderer of the kiosk menu.  As of now, they are all related in any way.

Solution
C
Christophe
4 years ago

Hello,

Ok i think this new API was also possible to used in lockdown ...

what a pity, that would have been great to use these script for to make better UI ...without used custom attribute !

thanks for all