Run our Sample Apps

The best way to start working with the Scandit Data Capture SDK is to run one of our sample apps. In this guide we will go through the available apps and how to run them with Android Studio or IntelliJ IDEA with the official Android Plugin.

Available Samples

We have created both simple and advanced samples that show you how use various features of the Scandit Data Capture SDK. The simple samples allow you to get going quickly, while the advanced samples show you how to use additional settings and setup the scanner for the best user experience.

Here’s a list of our available samples on Android:

Run the Samples

Before you can run a sample app, you need to go through a few simple steps:

  1. Sign in to your Scandit account and download the newest Android library at ssl.scandit.com/dashboard/sign-in. Unzip the archive and go to the samples directory.

  2. Open the samples directory as a project in Android Studio or IntelliJ IDEA. Make sure you always have the most recent version of Android Studio or IntelliJ IDEA and the Android plugin installed.

  3. Set the license key. To do this, sign in to your Scandit account and find your license key at ssl.scandit.com/dashboard/sign-in.

Once you have the license key, add it to the sample:

// Enter your Scandit SDK License key here.
// Your Scandit SDK License key is available via your Scandit SDK web account.
public static final String SCANDIT_LICENSE_KEY = "-- ENTER YOUR SCANDIT LICENSE KEY HERE --";

SCANDIT_LICENSE_KEY variables are placed in each sample project Activity class.

  1. Run the sample in Android Studio or IntelliJ IDEA by selecting a run configuration and pressing the Run button. We recommend running our samples on a physical device as otherwise no camera is available.

New! Pre-built Barcode Scanning Component Samples

Scandit offers building blocks that can be integrated in just a few lines of code. The pre-built camera UI has been designed and user-tested to achieve superior process efficiency, ergonomics and usability.

ListBuildingSample

ReceivingSample

MatrixScanCountSimpleSample

A basic sample that demonstrates how to populate a list of scanned barcodes using the Scandit SparkScan API.

Shows how to share scan data between MatrixScan Count and Spark Scan to populate an item list.

Sample which shows how you can scan barcodes in batches and add them to an inventory list.

BarcodeSelectionSettingsSample

ReorderFromCatalogSample

SearchAndFindSample

Demonstrates how you can adapt the barcode selection settings best to your needs and experiment with all the options.

Demonstrates how to reorder items from a catalog using the Scandit Barcode Selection API. User needs to tap the products that need to be reordered.

Demonstrates a use case that requires a consecutive use of both Barcode Capture and MatrixScan Find in a single app.

InventoryAuditSample

ExpiryManagementSample

Shows how to share scan data between MatrixScan Count and Spark Scan to show the expiration status of scanned items.

Fully-customizable API: Single Scanning with Barcode Capture Samples

The Barcode Capture API offers developers a high level of flexibility with unlimited options for designing your own UI and workflow. You can use these samples as a starting point. We recommend that you familiarize yourself with our Best Practices for Usability to learn what to consider when using the Fully-customizable API.

BarcodeCaptureSimpleSample

BarcodeCaptureViewsSample

BarcodeCaptureSettingsSample

Basic sample that uses the camera to read a single barcode.

Demonstrates the various ways to best integrate the scanner into the UI of your app.

Demonstrates how you can adapt the scanner settings best to your needs and experiment with all the options.

BarcodeCaptureRejectSample

Sample that uses the camera to read a single QR code that starts with “09:” but ignores/rejects all other codes.

Fully-customizable API: MatrixScan Samples

The Barcode Tracking API offers developers a high level of flexibility with unlimited options for designing your own UI and workflow. You can use these samples as a starting point. We recommend that you familiarize yourself with our Best Practices for Usability to learn what to consider when using the Fully-customizable API.

MatrixScanSimpleSample

MatrixScanRejectSample

MatrixScanBubblesSample

Very simple sample which shows how you can highlight barcodes on screen with the Scandit Data Capture SDK.

Sample which shows how you can highlight selected (by a custom condition) barcodes on screen and scan them with the Scandit Data Capture SDK.

Demonstrates the use of more advanced augmented reality use cases with the Scandit Data Capture SDK.

ID Scanning and Verification Samples

IdCaptureSimpleSample

IdCaptureExtendedSample

IdCaptureSettingsSample

A basic ID Capture setup.

A more advanced ID Capture setup.

Demonstrates how you can adapt the ID Capture settings best to your needs and experiment with all the options.

AgeVerifiedDeliverySample

USDLVerificationSample

Demonstrates how to use ID Capture in age-verified delivery workflow.

ID Verification setup for US driver’s licenses.

Text Capture Samples

TextCaptureSample

Uses Text Capture to recognize various kinds of texts in the specific locations in the frame.

Parser Samples

GS1ParserSample

VINCodesSample

Combines Barcode Capture and Parser to capture and process GS1 codes.

Combines Barcode Capture or Text Capture with Parser to capture and process VIN codes.

All our samples can be found in the archive that can be downloaded from our dashboard. Check the following section for more details.

Next steps

You are now ready to tackle the following guide: