Android Kiosk Help
Go to website
Back
Articles on:JavaScript Interface
JavaScript functions

Categories

  • Purchasing
  • Install Kiosk Browser
  • Install Kiosk Launcher
  • Licensing
  • Kiosk Browser - Features
  • Kiosk Launcher - Features
  • Features (Kiosk Browser & Kiosk Launcher)
  • Troubleshooting
  • Hardware Barcode Scanners
  • Kiosk Remote Management
  • JavaScript Interface
  • Kiosk Browser - Advanced
  • Other
  • My Account
  • Unified Kiosk Remote Management - REST API
  • Releases
  • Incidents
  • JS: Device Information
    Device Information Please note most functions apply to both Kiosk Browser and Launcher but some are specific the individual product. | You can find the JavaScript test page at https://www.android-kiosk.com/jstest.htm Just set this as the Kiosk URL on your device to test the functions. Get WiFi SSID Returns WIFI SSID, requires version 1.42 or higher. <script> //GET WIFI SSID fPopular
  • JS: Launch Apps/Settings/Exit
    Please note most functions apply to both Kiosk Browser and Launcher but some are specific the individual product. Launch Apps/Settings/Exit JavaScript Functions | You can find the JavaScript test page at https://www.android-kiosk.com/jstest.htm Just set this as the Kiosk URL on your device to test the functions. Open Settings Opens Kiosk Browser Settings. <script> function opSome readers
  • JS: Browser Functions
    Browser Functions JavaScript Functions Please note most functions apply to both Kiosk Browser and Launcher but some are specific the individual product. You can find the JavaScript test page at https://www.android-kiosk.com/jstest.htm Just set this as the Kiosk URL on your device to test the functions. Is App In Focus? Check if Kiosk Browser is in focus, requires version 2.0.22 or higher. <script> //IS KIOSK BROWSER IN FOCUS? function isAppInFocus() { return AndroiFew readers
  • 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. | You can find the JavaScript test page at https://www.android-kiosk.com/jstest.htm Just set this as the Kiosk URL on your device to test the functions. Standard Communication sendBytes(string bytes) Send bytes directly to the connected bluetooth device. Returns falseFew readers
  • JS: Hardware
    Hardware JavaScript Functions Please note most functions apply to both Kiosk Browser and Launcher but some are specific the individual product. | You can find the JavaScript test page at https://www.android-kiosk.com/jstest.htm Just set this as the Kiosk URL on your device to test the functions. Enable/Disable WiFi Enables or disables WiFi, requires version 1.43 or higher. <sFew readers
  • JS: Barcode Scanner
    Barcode Scanner JavaScript Functions Please note most functions apply to both Kiosk Browser and Launcher but some are specific the individual product. | You can find the JavaScript test page at https://www.android-kiosk.com/jstest.htm Just set this as the Kiosk URL on your device to test the functions. Open Barcode Scanner (without data) Opens barcode scanner activity. <scripFew readers
  • JS: Util
    Please note most functions apply to both Kiosk Browser and Launcher but some are specific the individual product. Util JavaScript Functions | You can find the JavaScript test page at https://www.android-kiosk.com/jstest.htm Just set this as the Kiosk URL on your device to test the functions. Show Android Toast Message Shows your message in a toast. <script> function showAndroFew readers
  • JS: EddyStone Beacon Support
    ||| Deprecated in v2.8.8 or higher. A dedicated beacon monitoring test page can be found here: http://www.android-kiosk.com/beacontest.htm 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 addressesFew readers
  • JS: Printing
    Printing JavaScript Functions | You can find the JavaScript test page at https://www.android-kiosk.com/jstest.htm Just set this as the Kiosk URL on your device to test the functions. Print Page via Android Print Client Print Page via Android Print Client, requires version 2.0.40 or higher. <script> //PRINT PAGE VIA ANDROID PRINT CLIENT function printPage() { Android.printPage()Few readers
  • JS: Provisioned/Samsung Knox Devices
    Provisioned/Samsung Knox Devices JavaScript Functions | You can find the JavaScript test page at https://www.android-kiosk.com/jstest.htm Just set this as the Kiosk URL on your device to test the functions. Get Device Provisioning Status Gets device provisioning status, requires version 2.6.6 or higher. <script> function isProvisioned() { return Android.isProvisioned(); } </script> <a href="javascript:showAndroidToast(isProvisioned());">Get Device Provisioning Status</a>Few readers
  • JS: Remote Management
    Remote Management JavaScript Functions | You can find the JavaScript test page at https://www.android-kiosk.com/jstest.htm Just set this as the Kiosk URL on your device to test the functions. Get Unique Remote Management Device Identifier Returns unique Remote Management device identifier, requires version 2.0.21 or higher. <script> //GET UNIQUE IDENTIFIER function getRemoteIdentifier() { return Android.getRemoteIdentifier(); } </script> <a href="javascript:showAndroidToast(getFew readers
  • JS: Home Page
    Home Page JavaScript Functions Please note most functions apply to both Kiosk Browser and Launcher but some are specific the individual product. | You can find the JavaScript test page at https://www.android-kiosk.com/jstest.htm Just set this as the Kiosk URL on your device to test the functions. Load Home Page Load the homepage, requires version 1.45 or higher. <script> //LOFew readers
  • JS: NFC
    NFC JavaScript Functions | You can find the JavaScript test page at https://www.android-kiosk.com/jstest.htm Just set this as the Kiosk URL on your device to test the functions. || Please note that only URL & text tag types are supported (NDEF). 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 nfcScanResultMifareUltrFew readers
  • JS: App Drawer
    App Drawer JavaScript Functions | You can find the JavaScript test page at https://www.android-kiosk.com/jstest.htm Just set this as the Kiosk URL on your device to test the functions. Show/Hide App Drawer Show or hide app drawer, requires version 2.5.0 or higher. <script> //SHOW APP DRAWER function showAppDrawer() { Android.showAppDrawer(); } //HIDE APP DRAWER function hideAppDrawer() { Android.hideAppDrawer(); } </script> <a href="javascript:showAppDrawer();">Show App DrawerFew readers
  • JS: Screensaver
    Screensaver JavaScript Functions | You can find the JavaScript test page at https://www.android-kiosk.com/jstest.htm Just set this as the Kiosk URL on your device to test the functions. Delay Screensaver Delays screensaver start by default idle timeout (if not already started), requires version 2.0.38 or higher. <script> //DELAY SCREENSAVER function delayScreensaver() { return Android.delayScreensaver(); } </script> <a href="javascript:delayScreensaver();">Delay screensaver stFew readers

Not finding what you are looking for?

Chat with us or send us an email.

  • Chat with us
  • Send us an email
© 2026Android Kiosk HelpWe run on Crisp Knowledge.