Skip to content
Anders Bech Mellson edited this page Dec 31, 2020 · 7 revisions

Kiosker

Overview

Kiosker lets you create a kiosk application where you provide content via a webpage. It is highly configurable through multiple JSON settings.

Kiosker been designed to work on the Nexus 7 (2013) tablet, but should also work fine on other Android devices.

This source code is an Android Studio project. Please report any issues you find.

Entering the settings screen

Inorder to get to the settings screen on a running Kiosker app you need to tap 5 times on the screen. This will bring up the settings screen protected by a password if you have set one. You can change the number of taps of method of opening the settings in method addTapToSettings from the file WebController.java

JSON settings

When you start the app for the first time you need to provide a base url. This url is used to download settings from a JSON file. You can provide two JSON files, one for base settings and one for device specific settings.

This is meant for multiple device installs. All devices share the base settings which are downloaded first. Then the app downloads the device specific settings which are then added to the base settings. If any setting is in both files the device specific setting will be chosen.

All the possible settings can be found in the wiki - JSON Settings.

Lock

If your Android device is rooted you can "lock" the user into your app. Meaning that the navigation buttons disappear and swiping from the top is disabled. You can still control the app via an admin settings menu. This menu can be password protected and you tap 5 times on the screen to access it. A sensible setup for rooting and running Kiosker on a Nexus 7 device can be found in the wiki - Suggested configuration for Nexus 7 devices.

Sensors

Kiosker provides the option to get updates from some of the sensors in the Nexus 7 device. It can provide updates from the light sensor and the bluetooth sensor.