Skip to main content

Restricting control panel functionality

Important
  • Works only on Android devices.

Panel setup​

  1. Reset the panel to factory settings;

Kiosk_0001.png

On all panels, this is done under "Backup & reset" in Settings

  1. Skip all settings when the panel starts;
Attention
  • Do not configure personal accounts on the panel, as this will interfere with kiosk mode setup.
  1. Connect the panel to a PC with a USB cable;

  2. Enable "USB debugging" in Developer options;

Kiosk_0002.png

Kiosk_0002_1.png

Kiosk_2_1.png

Kiosk_2_2.png

If your panel settings do not include "Developer options", open "About tablet" and tap the build number several times in succession. Developer mode will be enabled and this settings item will appear in the menu.

Kiosk_0003.png

Kiosk_0003_1.png

  1. Download and install i3 Pro with Kiosk-mode;

  2. Sign in to the application;

Kiosk_4.png

  1. Download to the PC SDK Platform-tools

  2. Extract the archive;

  3. Open a command prompt;

  4. At the command prompt, specify the path to the folder where you extracted the archive and run adb shell;

The startup commands look approximately like this:

cd C:\Users\User\Downloads\platform-tools_r28.0.2-windows\platform-tools
adb shell

Kiosk_5_01.png

Kiosk_6_02.png

If everything is correct, the command prompt of the device on which you want to configure kiosk mode opens.

Kiosk_7_01.png

  1. At the device command prompt, enter:
dpm set-device-owner com.iridium.i3pro_v100.kiosk/workdata.DeviceAdminHelper

If successful, the terminal displays:

 Success: Device owner set to package ComponentInfo{com.iridium.i3pro_v100/workdata.DeviceAdminHelper}
Active admin set to component {com.iridium.i3pro_v100/workdata.DeviceAdminHelper}

Kiosk_8_01.png

Connecting via Ethernet ↓

  1. Connect the panel to the internet.
Note

The panel and the PC containing the archive must be on the same subnet.

  1. Find the panel's IP address (settings > network and internet > Ethernet > IP address).

Kiosk1.png

  1. Download to the PC SDK Platform-tools

  2. Enter the command:

adb connect 172.17.110.13 (panel IP address)

If successful, the terminal displays:

Kiosk2.png

  1. Enter the command:
adb devices

The terminal should display a message:

Kiosk3.png

Launcher mode​

Launcher mode is a shell that restricts panel functionality. The application starts by default when the panel starts.

When running in launcher mode, i3 Pro blocks the panel's Back and Home buttons and cannot be closed.

Configuring launcher mode​

  1. Complete all the steps in the panel setup section ;

  2. With i3 Pro running, press the panel's Home button. A prompt appears to use i3 Pro as the default application. Tap "ALWAYS"

Kiosk_8_9.png

If the prompt does not appear, open the panel settings and go to "Apps"

Kiosk_9.png

Open the settings section

Kiosk_10.png

Open Home app

Kiosk_11.png

Set i3 pro kiosk as the launcher

Kiosk_12.png

Exiting launcher mode​

To exit launcher mode, press the Menu button and open the panel settings

Kiosk_13.png

Open "Apps"

Kiosk_9.png

Open the settings section

Kiosk_10.png

Open Home app

Kiosk_11.png

Set the standard launcher

Kiosk_14.png

Kiosk mode​

Kiosk mode restricts the user to a single application on the panel. When i3 Pro runs in kiosk mode, the user cannot access the panel's other functions.

Attention

Attention! iRidi panels (P6/P8/P10) can be configured only through an Ethernet connection.

Configuring kiosk mode​

Kiosk mode is enabled and disabled in the i3 Pro project.

  1. Create a Panel Project or open an existing one, and add 2 buttons for enabling and disabling kiosk mode.

Kiosk_15.png

  1. Create a new script and enter the following code:

function enablemode()
{
IR.KioskMode(true);
};

function disablemode()
{
IR.KioskMode(false);
};

  1. Now configure the script call. Select the button for enabling kiosk mode (Enable kiosk mode) and open the Programming tab in Object Properties. Configure the script call to run when the button is released.

Kiosk_16.png

  1. Select Script Call from the list and double-click it.

Kiosk_17.png

  1. Select the enablemode function from the list.

Kiosk_18.png

Kiosk_19.png

  1. Repeat these steps for the Disable kiosk mode button, selecting disablemode in the final step

Kiosk_20.png

  1. Configure your panel

  2. Upload the project to the panel.

It is recommended to place these buttons on a separate popup and set a password for opening it.

Tip

download: