Today we would like to introduce you to our first coding session with Developer Support Agent, Matt. He will be guiding you through a three part mini-series about the LEADTOOLS Xamarin Camera control and the Barcode SDK. At the end of this series, you will have developed a live capture barcode recognition application.
For the first video, Matt will show you how to get your LEADTOOLS Xamarin application started, what dependencies and namespaces are needed, and adding the camera control to the device. Stay tuned for his next video which will be about setting your LEADTOOLS license.
https://youtu.be/n0qylVMc3ro
For convenience, the code below is from the video, allowing you to copy and paste it to your IDE as you follow.
xmlns:leadtools="clr-namespace:Leadtools.Camera.Xamarin;assembly=Leadtools.Camera.Xamarin"
<StackLayout
<leadtools:CameraView x:Name="leadCamera" CameraOptions="Rear" HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand"/>
<Button HorizontalOptions="FillAndExpand" Text="Start Live Capture" Clicked="LiveCapture"/>
<Label x:Name="liveCaptureLabel" Text="Live Capture Disabled" TextColor="Red"/>
</StackLayout>
Leadtools.Camera.Xamarin.iOS.Assembly.Use();
using Leadtools;
using Leadtools.Camera.Xamarin;
using Leadtools.Barcode;