Creating Project using Visual Studio

RFID SDK for Xamarin (Android)


This tutorial will aid you creating a new Xamarin Android application project using Visual Studio.

This tutorial and project is using following requirements

  1. Minimum SDK Version - API 25: Android 7.1.1 (Nougat)
  2. Target SDK Version - API 29: Android 10
  3. Development environment .NET Framework 4.6.1
  4. Visual Studio 2017
  5. Xamarin Version

Creating The Project

  1. Start Visual Studio 2017 and select File > New > Project >Visual C# > Cross Platform or Android Follow the on-screen steps in Visual Studio



  2. Select the suitable options for project here we have choosen Android and Shared Project options


Enable the RFID SDK in project

  1. Create RfidSdk folder inside the project
  2. Copy XamarinZebraRFID- in RfidSdk folder
    Note Rename the dll to XamarinZebraRFID.dll by removing any version information
  3. Add a XamarinZebraRFID.dll reference in to project reference from RfidSdk folder, browse the dll, click Add and then click OK


  4. Now project has XamarinZebraRFID.dll reference added fine


  5. Add further refrences to required libraries
    Note: AppCompatSupport library is mandotary for integrating the dll into application

Your project is now ready with RFID SDK for Xamarin (Android) Module

Import RFID API3 package

After completing the steps in Adding dependency in

  1. Open MainPage.xaml.cs in editor
  2. Add using Com.Zebra.Rfid.Api3 in MainPage.xaml.cs
    using Com.Zebra.Rfid.Api3;

Your project is now ready to use the RFID SDK for Xamarin (Android)