> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.android-kiosk.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Honeywell Integration (Barcode Scanner)

![](https://storage.crisp.chat/users/helpdesk/website/-/f/8/9/1/f891df320cad6800/browserlauncher106ztwe_2yjb4l.png)

## Overview

Honeywell mobile computers, such as the CT40, CT45, CT60, EDA51 and CK65, have built-in barcode scanners that are faster and more reliable than any camera barcode scanner.

Kiosk Browser and Kiosk Launcher can receive scans straight from the Honeywell scanner, using Honeywell's Data Intent.

**Requires:** Kiosk Browser \[version] or later, or Kiosk Launcher \[version] or later.

## Honeywell Scanner Settings

Honeywell devices send scans as keyboard input by default (Honeywell calls this Wedge). When a text box in your web application has focus, the barcode is typed straight into it. This needs no setup.

To handle scans in your web application, or load them through the Barcode Redirect URL, send them straight to Kiosk Browser/Launcher instead:

1. Open **Settings > Honeywell Settings > Scanning > Internal Scanner**
2. Tap **Default profile**
3. Tap **Data Processing Settings**
4. Turn off **Wedge**, so scans aren't also typed into the page
5. Turn on **Data Intent**
6. In the **Action** field type in `com.procoit.kioskbrowser.HONEYWELL_SCAN_EVENT` OR `com.procoit.kiosklauncher.HONEYWELL_SCAN_EVENT`
7. Leave **Category**, **Package name** and **Class name** empty. If any of them are filled in, scans won't arrive

Menu names can vary slightly between Honeywell models.

**Kiosk Launcher:** also turn on **Settings > Browser > Built in Browser**. Scans open in the browser.

Scans only arrive while Kiosk Browser/Launcher is on screen.

## Receiving Results via JavaScript Callback

Once Data Intent is set up, scans load through the Barcode Redirect URL set under **Settings > Toolbar** (Kiosk Browser) or **Settings > Browser** (Kiosk Launcher).

To receive scans in JavaScript instead, register for the barcode scan callback. Each scan is sent to `barcodeScanResult(data)`. The callback stays registered across page loads, so call it with false on pages that shouldn't receive scans.

```javascript
function registerForBarcodeScanResults() {
   if (typeof Android != 'undefined') {
      //tell Kiosk Browser/Launcher to return results via JS function
      Android.useJavaScriptCallbackGenericScanner(true);
   }
}

function barcodeScanResult(data) {
   console.log(data);
}
```

Pages already written for Zebra devices, using `Android.useJavaScriptCallbackZebraScanner(true)`, work with Honeywell devices too.

## Receiving Result and Loading via Barcode Redirect URL

If the scanned barcode contains a URL, it loads in Kiosk Browser/Launcher. Other data, such as the product code "9549548L", is added to the end of the Barcode Redirect URL set in **Settings**.

**Example:** If the redirect URL is `http://www.android-kiosk.com/stock.php?productcode=`, the URL after scanning is `http://www.android-kiosk.com/stock.php?productcode=9549548L`.

### Alternative Method via URL Variable %BARCODEDATA%

To place the barcode data somewhere other than the end of the URL, use:

`www.android-kiosk.com/scan/%BARCODEDATA%/moredata`

The result is:

`www.android-kiosk.com/scan/9549548L/moredata`