Do you use QR codes as a fast way of accessing websites? If so, it is really good news that you can add a QR code scanning feature directly in your application. In this recipe, you will learn how to do it using the additional library.
As an example, you will create a simple application that will launch the QR scanner. When the result is found, a new page will be opened and the result will be presented in the text block.
To prepare an example that makes it possible to scan QR codes using a camera and the additional library, perform the following steps:
Enable the Webcam capability by double-clicking on the
Package.appxmanifest
file in the Solution Explorer window, choosing the Capabilities tab, and checking the Webcam checkbox.Install the
ZXing.Net.Mobile
library using the NuGet Package Manager.Add a button to the page. Once a user clicks on it, the process of scanning...