Kiosk Mode - Tuong-Nguyen/PreparationEduLog GitHub Wiki

Requirement/Concern

Kiosk mode:

  • Edulog app run only
  • No voice in the motion
  • Dim screen in the motion

Lock-task mode for Single-purpose device

https://github.com/Tuong-Nguyen/Android/wiki/Research-114-Kiosk-Mode-Android-application#screen-spinning-or-task-locking-kiosk-mode-in-android-lollipop-and-marshmallow

Expectation

  • Standalone Kiosk mode application (without set Device Owner app)
    • Device Policy Controller (DPC) run as Device Owner to set several policies on the device
    • Keep devices from locking with the keyguard using setKeyguardDisabled()
    • Disable the status bar using setStatusBarDisabled()
    • Keep a device’s screen on while plugged in via STAY_ON_WHILE_PLUGGED_IN
    • Ensure your app is launched on reboot by setting it as the default launcher
  • Output is a KioskModeActivity class so that we can extend it to activate kiosk mode

Ref:

Note: we can refer these source code and merge them as single project