Android kiosk mode, set up in a few minutes

Lock an Android tablet to one website or one app, so that visitors cannot leave it. Here is what Android lets you do, and how to do it with FreeKiosk, which is free and open source.

What kiosk mode is

A kiosk app keeps a device on a single task: a dashboard on a wall, a menu on a counter, a game on a demo tablet. The visitor sees the page or the app you chose, and nothing else of Android.

On Android there are two levels. Basic mode needs no computer, but leaves some system interactions open. Device Owner mode is a one-time setup from a computer, and gives a complete lockdown.

Basic mode or Device Owner

From the FreeKiosk installation guide. Use basic mode to test or for personal use, Device Owner for a kiosk in production or in public.

 Basic modeDevice Owner mode
Kiosk lockdownPartialComplete
System notificationsVisibleBlocked
Status barMay appearHidden
Navigation buttonsAccessibleDisabled
Home buttonMay workDisabled
Recent appsAccessibleDisabled
Exit without the PINPossibleImpossible
Start at bootYesYes

Set it up with FreeKiosk

  1. Install the APK on a tablet running Android 8.0 or later (see the download page).
  2. Open FreeKiosk. On a device where nothing is configured, a wizard of about a minute starts: the page to show, your own PIN (4 to 6 digits), keeping the app running, and whether to lock the device.
  3. Tap Start the kiosk. To come back to the settings, tap five times quickly at the same spot and enter your PIN.

For the complete lockdown, set Device Owner once, from a computer, with the tablet connected over USB and no account on it:

adb shell dpm set-device-owner com.freekiosk/.DeviceAdminReceiver

The full steps, with Windows, Mac and Linux, and the usual errors, are in the installation guide.

What to put on the screen

Website

Any HTTP or HTTPS page in fullscreen, including self-signed certificates. Home Assistant dashboards, information displays, web applications.

External app

Locks the tablet to one installed Android app and relaunches it after an exit or a crash. Cloud gaming, media players, your own app.

Dashboard

A grid of tiles, one page per tile, with a return to the grid after a period of inactivity.

Media

A native player for videos and images, with time-based scheduling.

Details in features and modes.

What a lockdown covers

With Device Owner mode, FreeKiosk can:

  • disable the home button, the recent apps and the access to the system settings;
  • block system dialogs and notifications from covering the screen;
  • restart the app by itself if it stops, with a watchdog service;
  • protect the settings with a PIN, so that nobody leaves the kiosk without it;
  • optionally offer a few controls on the PIN screen: Wi-Fi, Bluetooth, audio output, flashlight, brightness.

Without Device Owner, Android keeps some of these open: see the table above.

Which mode for which job

UseRecommended mode
Home Assistant dashboardWebsite
Cloud gaming kioskExternal app, with Device Owner
Corporate kioskExternal app, with Device Owner
Several dashboardsDashboard
Media displayMedia
Your own Android appExternal app

More than one tablet

Configure tablets with ADB commands, drive them with the REST API or MQTT and Home Assistant, or manage the whole fleet from one dashboard with FreeKiosk Cloud (the first device is free). Coming from Fully Kiosk Browser? Read the comparison, with sources.