How can I type the admin password in remote session when using Kiosk-mode

Solved
IB
Iikka Borgström
Swissport International Ltd.

Is it possible somehow to type in the admin password for the device with a kiosk mode? Normally, when I'm physically holding the phone, I can close the kiosk mode By long pressing the back-button and then type in the admin password. How do I do that in the remote session...? The device is Samsung Xcover 3

Edited 7 years ago
Android
ANSWERS
KA
Karim A.
7 years ago (edited 7 years ago)

Method 1:    

  • Add: intent:#Intent;action=net.soti.mobicontrol.admin.PASSWORD_DIALOG;i.dialog_type=1;end as a lockdown item. 

Method 2: 

  • While remote controlling a device
  • Press the "Page Up" key (PgUp) on your computer's keyboard
Solution
MD
Matt Dermody Diamond Contributor
7 years ago

This might not be the answer you're looking for, but what I'll do some times is use the "start" + package name script to remotely launch an app that I want to access while in a Remote Control session rather than going through the process of breaking out of the kiosk mode. Say you want to get to the Settings app, instead of breaking out and manually navigating to it, send "start com.android.settings" as a script and automatically bring it to the foreground. 

JB
James Beeching
7 years ago

Hi Likka. Have you got a skin applied to the device?

IB
Iikka Borgström
7 years ago

If by skin you mean a custom lockdown menu, then yes we have that one applied :) Tried to send a script "start com.android.settings" to the device, but nothing happened...

DP
Dean P
7 years ago

The script   notify kiosk off   will turn off kiosk, although you will still be in User mode and not Admin mode.

notify kiosk on  will bring the kiosk back again.

BL
Benedict Lumabi
7 years ago

Likka, maybe James is pertaining to the skin that you can download to skin catalog of SOTI. When doing a remote session, you can view your device with a body/case. So remotely, you can long press the back-button to prompt the password for admin.

IB
Iikka Borgström
7 years ago
Actually that is the reason why I'm asking this, since I am unable to long-press the back button, despite the skin...
MD
Matt Dermody Diamond Contributor
7 years ago

If you could identify the admin login prompt as a unique activity then you could possibly launch it remotely with scripting. 

I'm not sure if this would even work, but you could try the following:

- Manually launch the Admin login prompt on a sample device that you have in front of you (or have a remote end user trigger with the long press of the back button.

- With that prompt open, use the identify_activity script in order to potentially identify a unique activity name for that prompt. 

- If successful, you should find this unique activity name in the device specific log in MobiControl

- In the future, when you need to access this login prompt you should be able to then send a start activity <package>/<activity> script in order to launch the prompt.

MD
Matt Dermody Diamond Contributor
7 years ago

Was able to find the activity name using this method. Note, this package name is specific to the Zebra Android devices that I'm using so you will need to identify the Samsung specific activity in order for it to work for you:

Results of identify_activity:

while I have identified the full activity name, I don't seem to be able to call "start activity..." or "start..." through the scripting option. I tried all of these and none of them successfully launched the dialog

start net.soti.mobicontrol.motorola/net.soti.mobicontrol.ui.AdminModeDialogActivity

start activity net.soti.mobicontrol.motorola/net.soti.mobicontrol.ui.AdminModeDialogActivity

Start net.soti.mobicontrol.motorola/net.soti.mobicontrol.ui.AdminModeDialogActivity

Start activity net.soti.mobicontrol.motorola/net.soti.mobicontrol.ui.AdminModeDialogActivity