Follow this guide to set up a project for Windows UWP in order to easily implement the Anyline SDK.
In order to be able to use the Anyline SDK, the following requirements have to be met:
- Windows 10 + Visual Studio 2015 with the Windows 10 SDK
- An Windows 10 x86 device
- An integrated or external camera/webcam (recommended: 720p and focus capability)
The Anyline SDK Examples Bundle
If you rather like to jump into some code than to walk through a Quick Start Guide, a good starting point for development with the Anyline SDK, is to download the Windows SDK Bundle.
It includes the following:
- The Anyline SDK version 7.0.1 for offline integration
- The source code of the Anyline Windows Examples App
- The code documentation for the Anyline SDK
- The third party licenses
- The API Reference
- A Readme
Not included in the bundle are the Example Sheets with testing material.
They can be downloaded here: Example Sheets
Quick Start Guide
This guide is going to lead you through the necessary steps when implementing the Anyline SDK in your Windows 10 UWP app.
Create a new Visual Studio Project
In Visual Studio 2015, click on File -> New -> Project and create a new C# Blank App (Windows Universal) template.
Add AnylineSDK as dependency
The Anyline SDK for Windows is provided as the AnylineSDK.dll class library among the Anyline.dll and Anyline.winmd runtime component.
To access the functionality of our SDK in your UWP app, simply add the
AnylineSDK.dll and the
Anyline.winmd file as a reference. Make sure that the
Anyline.dll file is in the same folder as the .winmd file.
- Right-click the References node in your project tree
- Click Add reference…
- Click Browse… and locate the files
Generate an Anyline License
In order to run the Anyline SDK in your app, you require a License Key. The Guide on How To Generate a License can be found at Anyline License Key Generation
This section focuses on how to integrate the license on Windows.
How to identify the Application ID
To generate a license key for windows, you’ll need the Package Name located under
Packaging in the
Package.appxmanifest file of your example project.
Windows App Store may change the Package Name
If you plan on associating your App with the Windows Store, you have to reserve an App name, which will update your final Package Name. For an appropriate license key, you should already have registered your desired app name at the Windows Store. Otherwise, you may have to generate another Anyline License Key later.
Add necessary permissions and capabilities
The scanning activity needs the following capabilities:
- Internet (Client)
In order to set these capabilities, locate the
Package.appxmanifest file and navigate to the
In the next section, we will implement a Scan View and provide a configuration to customize both visual parameters and behaviours.