Create virtual turn off key in Lockdown

Solved
LC
Leon Callsen
Taneri Consulting GmbH (TCG Global)

Hi guys, 

At the moment I am in a configuration process with Samsung Tab Active 3. 
When I apply a lockdown to a device I am unable to turn it off completely when I disable the statusbar. 
I guess this belongs to the function of bixby. 

So we want to create a virtual button which is visible on the lockdown. 
Does somebody know if this is possible? 

I would be really happy if someone can help me in this case. 

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

Creating a virtual button in the lockdown menu is really easy.

The main problem is that the legacy script commands that used to support powering off a device do not work any more, so no effective power-off action can be bind to any button added.    Based on the latest official MobiControl javascript  reference manual, there does not seem to have any equivalent javascript class method to support powering off operation neither.

   

Solution
LC
Leon Callsen
2 years ago

Hi Raymond, 

thanks for your reply :) 
I am happy to get an answer. 
So there is no possible solution at the moment right?

RC
Raymond Chan Diamond Contributor
2 years ago

Though the old solution of using turnoff script command to DIRECTLY power off a device does not work any more, one can still have a kiosk script item that initiates a device soft-reset, after which the end-user has the chance to initiate a power-off via the device screen UI.  This can be a temporary workaround.   I myself am still trying to find some OEM specific workaround for big device brands such as Samsung, Zebra, Honeywell, etc.

EG
Edgar Gomez
2 years ago

Hello,

Is this option enabled in the lockdown configuration?

LC
Leon Callsen
2 years ago

Hi Edgar, 

I use Activity Suppression because my customer needs access to a folder where he can find some information videos. The Power Button works only to lock and unlock the screen. If the user press it longer Bixby appears. 
They now use volume down and the button to turn off the device.