Go to website
Back
Articles on:
Kiosk Browser - JavaScript Interface
JavaScript functions in Kiosk Browser
JS: Device Information
Device Information JavaScript Functions Get WiFi SSID Returns WIFI SSID, requires version 1.42 or higher. Get IP Address Returns IP address of WiFi adapter, r
Very popular
JS: Launch Apps/Settings/Exit
Launch Apps/Settings/Exit JavaScript Functions Open Settings Opens Kiosk Browser Settings. Exit Kiosk Browser Exits Kiosk Browser, you can specify whether a password is required.
Very popular
JS: EddyStone Beacon Support
Version 2.6.6 (build 230) or higher is required for beacon support. What is Eddystone? Eddystone is a BLE format developed by Google. It’s open and multiplatform, so you can use it with both Android and iOS. There are four types of data a beacon can broadcast with Eddystone, described by three frames: Eddystone-URL for broadcasting URL addresses Eddystone-UID for broadcasting b
Popular
JS: Browser Functions
Browser Functions JavaScript Functions Is App In Focus? Check if Kiosk Browser is in focus, requires version 2.0.22 or higher.
Popular
JS: Bluetooth
Bluetooth JavaScript Functions You may use the KBBluetooth namespace when communicating with a bluetooth device, note you can communicate with more than just printers using SPP (serial port profile) over bluetooth. Standard Communication sendBytes(string bytes) Send bytes directly to the connected bluetooth device. Returns false
Popular
JS: Hardware
Hardware JavaScript Functions Enable/Disable WiFi Enables or disables WiFi, requires version 1.43 or higher.
Popular
JS: Barcode Scanner
Barcode Scanner JavaScript Functions Open Barcode Scanner (without data) Opens barcode scanner activity. Open Barcode Scanner (with data)
Some readers
JS: Util
Util JavaScript Functions Show Android Toast Message Shows your message in a toast. Show Android Snackbar Message Shows your message in a snack
Some readers
JS: Remote Management
Remote Management JavaScript Functions Get Unique Remote Management Device Identifier Returns unique Remote Management device identifier, requires version 2.0.21 or higher.
Few readers
JS: Provisioned/Samsung Knox Devices
Provisioned/Samsung Knox Devices JavaScript Functions Get Device Provisioning Status Gets device provisioning status, requires version 2.6.6 or higher.
Few readers
JS: Cloud Printing
Printing JavaScript Functions Print Page via Google Cloud Print Print Page via Google Cloud Print, requires version 2.0.40 or higher.
Few readers
JS: Home Page
Home Page JavaScript Functions Load Home Page Load the homepage, requires version 1.45 or higher. Get Home Page Get homepage as
Few readers
JS: App Drawer
App Drawer JavaScript Functions Show/Hide App Drawer Show or hide app drawer, requires version 2.5.0 or higher.
Few readers
JS: Screensaver
Screensaver JavaScript Functions Delay Screensaver Delays screensaver start by default idle timeout (if not already started), requires version 2.0.38 or higher.
Few readers
JS: NFC
NFC JavaScript Functions NFC Results via Callback Register for the NFC scan/read callback. Once registered each scan result is sent via nfcScanResult(data), however if the tag is Mifare Ultralight then data from memory are also returned via nfcScanResultMifareUltr
Few readers