Sample App

Zebra Tread Intel 1.0

Overview

This guide provides an overview of a sample application demonstrating Zebra Tread Intel API integration within a Line of Business (LOB) context. Developed in a Java environment, the app showcases practical API usage with a focus on simplicity and ease of integration.

The APIs are designed to be lightweight, minimizing external dependencies and setup time. For more information, refer to the API reference guide.


Requirements

  • The Zebra Tread Intel Snap-On Reader must be attached to the supported mobile computer, such as the Zebra TC7x or TC5x series devices. For supported devices, see the Zebra Support Portal for the supported devices list.
  • The Zebra Tread Intel Android Framework must be installed on the mobile computer.
  • Minimum Android SDK version: The minimum supported version is 30.

Download

Download the app's source code.


Usage

This sample app enables users to measure tire tread depth and operates in two modes: demo mode and test mode. Build and deploy the app to the device, then follow the instructions below.

Demo Mode

Demo mode is designed to showcase the app's ability to read tire tread depth.

  1. By default, the app opens in demo mode, with the Demo tab highlighted in the bottom menu. The initial main screen shows the Measure button as deactivated. image
  2. When the snap-on reader is attached to the device, it automatically connects, activating the Measure button. If it remains inactive, ensure the snap-on reader is properly attached to the device. image
  3. Tap the Measure button and swipe the device across the tire from edge to edge. When the read is successful, measurements are displayed along with their corresponding confidence levels. If the confidence level below 60, a prompt will appear to re-swipe. image

Test Mode

Test mode is intended to log debug data from each read session, including the tester ID, tire ID, and plunger measurements. The plunger adjustments serve as the baseline reference for ground truth alignment. The Tire ID resets after each measurement. Although the Confidence Level is not displayed visually, it is recorded in the log.

  1. Tap the Test icon in the bottom menu. When the app detects the snap-on attachment, the Measure button is activated. image

  2. Enter the Tester ID and Tire ID. Adjust plunger values for the inner, center, and outer tire regions as needed. Enter these values based on manual measurements. The app does not rely on plunger measurements to continue operation; however, capturing them can be helpful for later analysis or debugging. image

  3. Tap the Measure button and swipe the device across the tire from edge to edge. When the read is successful, measurements are displayed, and the data is saved in the internal storage directory. If the confidence level is below 60, a prompt appears to re-swipe. The following data is stored in the internal storage directory (e.g. /storage/emulated/0/):

    • TreadReaderLogFile.csv - Contains cumulative data of all scan on the mobile device.
    • Folder in the format of serialno_testerID_tireID - Contains diagnostic data that may be referenced during debugging or assessment.

    image


Versions

The Versions tab in the app displays the software component versions of the reader, as well as the reader serial number and the scan count, which is the total number of scans performed by the reader. image


See Also