How to enable kiosk mode with Genymotion SaaS (Cloud)?

The article is intended for Genymotion SaaS Cloud users. The article explains prerequisites and commands to enable and disable kiosk mode.

Prerequisite

Connect your instance to ADB

Connect a Genymotion SaaS Cloud instance to ADB.

Use the gmsaas CLI to connect a Genymotion SaaS Cloud instance to ADB.

See the gmsaas user guide for instructions.

Enable kiosk mode

Start the application you want to lock in kiosk mode.

Use the following command:

adb shell cmd activity kiosk start

Disable kiosk mode

Stop kiosk mode with the following command:

adb shell cmd activity kiosk stop

> Note: In kiosk mode, the status bar is hidden and cannot be scrolled down. Additionally, navigation buttons are unavailable.

Related articles