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 to capture barcodes and how to use the MatrixScan functionality. 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 Xamarin iOS:

Barcode Capture Samples#

Simple Sample

View Sample

Settings Sample

_images/sample-bc-simple-1.jpg
_images/sample-bc-simple-2.jpg
_images/sample-bc-settings-1.jpg
_images/sample-bc-settings-2.jpg

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

Coming Soon

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

Reject Sample

_images/sample-bc-reject-1.jpg
_images/sample-bc-reject-2.jpg

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

MatrixScan Samples#

Simple Sample

Bubbles Sample

Search And Find Sample

_images/sample-ms-simple-1.jpg
_images/sample-ms-simple-2.jpg
_images/sample-ms-bubble-1.jpg
_images/sample-ms-bubble-2.jpg

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.

Coming Soon

Text Capture Samples#

Text Capture samples for Xamarin are coming soon.

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

Run the Samples#

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

  1. Clone or download Xamarin samples repository from https://github.com/Scandit/datacapture-xamarin-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/licenses.

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.

Next steps#

You are now ready to tackle the following guide: