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 Visual Studio.

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 .NET for iOS and MAUI:

Run the Samples

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

  1. Clone or download .NET samples repository from https://github.com/Scandit/datacapture-dotnet-samples

  2. Open the Samples.sln solution file in Visual Studio.

  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 License key here.
public const string SCANDIT_LICENSE_KEY = "-- ENTER YOUR SCANDIT LICENSE KEY HERE --";

SCANDIT_LICENSE_KEY variables are placed in each sample project.

  1. Right-click the desired sample in Visual Studio and choose “Run project” (Mac) or “Set as StartUp Project” and press F5 (Windows) to start it. 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.

Samples on .NET for iOS:

BarcodeSelectionSimpleSample

SearchAndFindSample

ListBuildingSample

Demonstrates how you can use the barcode selection mode.

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

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

MAUI samples on .NET for iOS:

BarcodeSelectionSimpleSample (MAUI)

ListBuildingSample (MAUI)

Demonstrates how you can use the barcode selection mode.

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

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.

Samples on .NET for iOS:

BarcodeCaptureSimpleSample

BarcodeCaptureRejectSample

BarcodeCaptureViewsSample

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

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

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

MAUI samples on .NET for iOS:

BarcodeCaptureSimpleSample (MAUI)

BarcodeCaptureRejectSample (MAUI)

BarcodeCaptureViewsSample (MAUI)

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

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

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

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.

Samples on .NET for iOS:

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.

MatrixScanCountSimpleSample

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

MAUI samples on .NET for iOS:

MatrixScanSimpleSample (MAUI)

MatrixScanBubblesSample (MAUI)

MatrixScanCountSimpleSample (MAUI)

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

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

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

ID Scanning and Verification Samples

Samples on .NET for iOS:

IdCaptureSimpleSample

IdCaptureExtendedSample

A basic ID Capture setup to scan front of ID Cards and barcodes from AAMVA documents.

A more advanced ID Capture setup.

MAUI samples on .NET for iOS:

IdCaptureSimpleSample (MAUI)

IdCaptureExtendedSample (MAUI)

USDLVerificationSample

../_images/sample-usdl-verification-1.jpg
../_images/sample-usdl-verification-2.jpg

A basic ID Capture setup to scan front of ID Cards and barcodes from AAMVA documents.

A more advanced ID Capture setup.

Demonstrates how to use US driving license verification functionality.

Text Capture Samples

MAUI samples on .NET for iOS:

TextCaptureSample (MAUI)

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

Parser Samples

MAUI samples on .NET for iOS:

GS1ParserSample (MAUI)

Combines Barcode Capture and Parser to capture and process GS1 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: