> ## Documentation Index
> Fetch the complete documentation index at: https://docs.oloid-demo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# DeviceLock - How to Configure a QR Code Scanner using Zebra DataWedge Application on Zebra Device

> This document provides step-by-step instructions to configure QR Code Scanner for Data Wedge Application on Zebra Device.

## Introduction

This document provides instructions to configure a QR code scanner in the Zebra DataWedge application for use with the Oloid DeviceLock application.

> [!NOTE]
>
> **Note:** This configuration is supported **only on Zebra Android devices** that use the **Zebra DataWedge** application. It is not applicable to non-Zebra devices.

## Prerequisites

* A **Zebra Android device** with the **Zebra DataWedge** application installed.
* The **Oloid DeviceLock** application is installed on the Zebra device.
* The **DataWedge** service is enabled and running.

## Steps to Configure QR Code Scanner for Data Wedge Application

1. Launch the **DataWedge** application.
   The **DataWedge** application page is displayed.
2. Tap the **Menu** (three dots) icon.

   ![How to Configure a QR Code Scanner... - screenshot 1](https://mintcdn.com/oloid-999c42b2/6HDdNzAcZOMXtaWz/images/intercom/15585377/image-535b4c1d.png?fit=max\&auto=format\&n=6HDdNzAcZOMXtaWz\&q=85\&s=564de28cece992188ad25b82b665200a)

   The pop-up box is displayed.
3. Select **New Profile**.

   ![How to Configure a QR Code Scanner... - screenshot 2](https://mintcdn.com/oloid-999c42b2/6HDdNzAcZOMXtaWz/images/intercom/15585377/image-91a29076.png?fit=max\&auto=format\&n=6HDdNzAcZOMXtaWz\&q=85\&s=da63ead562eafae02d3b777043c828ba)

   The **New Profile** pop-up box is displayed.
4. Enter the **Profile Name** > tap **OK**.

   ![How to Configure a QR Code Scanner... - screenshot 3](https://mintcdn.com/oloid-999c42b2/6HDdNzAcZOMXtaWz/images/intercom/15585377/image-a65a7133.png?fit=max\&auto=format\&n=6HDdNzAcZOMXtaWz\&q=85\&s=8c3da787bc2346aab01def618b374260)

   The Profile name is listed on the DataWedge Profiles home screen.
5. Tap the **Profile Name**.

   ![How to Configure a QR Code Scanner... - screenshot 4](https://mintcdn.com/oloid-999c42b2/6HDdNzAcZOMXtaWz/images/intercom/15585377/image-642f30bb.png?fit=max\&auto=format\&n=6HDdNzAcZOMXtaWz\&q=85\&s=0b8ac7477a40780e92f3513dcc5c8971)

   The Profile details screen is displayed.
6. Tap **Associated apps**.

   ![How to Configure a QR Code Scanner... - screenshot 5](https://mintcdn.com/oloid-999c42b2/6HDdNzAcZOMXtaWz/images/intercom/15585377/image-3566d4d9.png?fit=max\&auto=format\&n=6HDdNzAcZOMXtaWz\&q=85\&s=f1a2e2d6ba3f4f5f1ec1c235b9b2bffc)

   The Profile **associations** screen is displayed.
7. Tap the **Menu (Three dots) icon** at the top right corner of the screen.

   ![How to Configure a QR Code Scanner... - screenshot 6](https://mintcdn.com/oloid-999c42b2/6HDdNzAcZOMXtaWz/images/intercom/15585377/image-49af717f.png?fit=max\&auto=format\&n=6HDdNzAcZOMXtaWz\&q=85\&s=4b50a4bcad82bfe67a8142c61d54b925)

   The **New app/activity** pop-up box is displayed.
8. Select **New app/activity**.

   ![How to Configure a QR Code Scanner... - screenshot 7](https://mintcdn.com/oloid-999c42b2/6HDdNzAcZOMXtaWz/images/intercom/15585377/image-9f93df0f.png?fit=max\&auto=format\&n=6HDdNzAcZOMXtaWz\&q=85\&s=816cda3889dd9adf7dccb7cc4be8b5ce)

   The List of Apps are displayed.
9. Select the app.

   > [!NOTE]
   >
   > **Note:** Select **com.oloid.devicelock**.

   ![How to Configure a QR Code Scanner... - screenshot 8](https://mintcdn.com/oloid-999c42b2/6HDdNzAcZOMXtaWz/images/intercom/15585377/image-ba2e2550.png?fit=max\&auto=format\&n=6HDdNzAcZOMXtaWz\&q=85\&s=668f428a2b3935f4bb3deb07ffd141fb)

   The **select activity** pop-up box is displayed.
10. Select the **asterisk (\*)** to associate it with all activities.

    ![How to Configure a QR Code Scanner... - screenshot 9](https://mintcdn.com/oloid-999c42b2/6HDdNzAcZOMXtaWz/images/intercom/15585377/image-c30e6fcc.png?fit=max\&auto=format\&n=6HDdNzAcZOMXtaWz\&q=85\&s=f3894219c8131cb0798d44a03909c303)

    The app is selected and listed on the Profile associations screen.

    ![How to Configure a QR Code Scanner... - screenshot 10](https://mintcdn.com/oloid-999c42b2/6HDdNzAcZOMXtaWz/images/intercom/15585377/image-5efa290a.png?fit=max\&auto=format\&n=6HDdNzAcZOMXtaWz\&q=85\&s=2dfc7c51d42254bb1cb3b88c50467293)
11. Go back to the Profile page.
    The Profile page is displayed and do the following:
    1. Ensure the **Enabled** checkbox is checked for Barcode input.

       ![How to Configure a QR Code Scanner... - screenshot 11](https://mintcdn.com/oloid-999c42b2/6HDdNzAcZOMXtaWz/images/intercom/15585377/image-babad1ac.png?fit=max\&auto=format\&n=6HDdNzAcZOMXtaWz\&q=85\&s=cebd754fe13b27c9fd87c8a2000c0f0e)
    2. Ensure the Enabled checkbox is UNCHECKED for Keystroke output to prevent scanner data from being injected as text.

       ![How to Configure a QR Code Scanner... - screenshot 12](https://mintcdn.com/oloid-999c42b2/6HDdNzAcZOMXtaWz/images/intercom/15585377/image-20e69275.png?fit=max\&auto=format\&n=6HDdNzAcZOMXtaWz\&q=85\&s=0fd96d22016d932598924915e16c2e83)
    3. Go to **Intent Output** section and do the following.
       1. Select the **Enabled** checkbox.

          ![How to Configure a QR Code Scanner... - screenshot 13](https://mintcdn.com/oloid-999c42b2/6HDdNzAcZOMXtaWz/images/intercom/15585377/image-a4ea1b0f.png?fit=max\&auto=format\&n=6HDdNzAcZOMXtaWz\&q=85\&s=41d1847922a568aa7117e0a99198543d)
       2. Tap **Intent action**.

          ![How to Configure a QR Code Scanner... - screenshot 14](https://mintcdn.com/oloid-999c42b2/6HDdNzAcZOMXtaWz/images/intercom/15585377/image-144f6749.png?fit=max\&auto=format\&n=6HDdNzAcZOMXtaWz\&q=85\&s=b4f0f74976266de99585f32b3726c5c2)

          The **Enter intent action name** is displayed.
       3. Enter the intent action name > tap **OK**.

          > [!NOTE]
          >
          > **Note:** Ensure the Intent Action name must be **com.devicelock.QR\_CODE\_SCAN\_ACTION**.

          ![How to Configure a QR Code Scanner... - screenshot 15](https://mintcdn.com/oloid-999c42b2/6HDdNzAcZOMXtaWz/images/intercom/15585377/image-b3324479.png?fit=max\&auto=format\&n=6HDdNzAcZOMXtaWz\&q=85\&s=2143f58c1f12ac2ebff95fb9e66f5676)
       4. Tap **Intent Delivery**.

          ![How to Configure a QR Code Scanner... - screenshot 16](https://mintcdn.com/oloid-999c42b2/6HDdNzAcZOMXtaWz/images/intercom/15585377/image-d89e6c0d.png?fit=max\&auto=format\&n=6HDdNzAcZOMXtaWz\&q=85\&s=f48000e1b1c88e51ce92693d0525fab5)

          The **Choose mechanism** pop-up box is displayed.
       5. Tap **Broadcast intent**.

          ![How to Configure a QR Code Scanner... - screenshot 17](https://mintcdn.com/oloid-999c42b2/6HDdNzAcZOMXtaWz/images/intercom/15585377/image-f11730d8.png?fit=max\&auto=format\&n=6HDdNzAcZOMXtaWz\&q=85\&s=d658eb8bf0515d6a56ec9342ca212e81)

The QR Code Scanner for Data Wedge Applications is successfully configured.
