Prerequisite
- ADB from Android SDK platform tools
- gmsaas command line tool
Connect your instance to ADB
Use gmsaas CLI to connect your instance to ADB. See gmsaas user guide for instructions.
Enable kiosk mode
Start the application you want to lock in kiosk mode and use this 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. Also, Navigation buttons are unavailable.