> Tech FAQ
> Scan barcode in mono project using C#
Hi,support, I want to make an android app with barcode reading feature. As a C# programmer, I'm accustomed to code using C# language. And I searched in the google, and found I can make app through Mono in C#. So I want to know if your .net barcode reader library is able to run in Mono?
As you know, Mono is a free and open course project led by Xamarin, and this software platform designed to all developers to create cross platform mobile applications. It can be compatible with Microsoft's .NET Framework DLLs. So of course, you can use our .net barcode reader SDK in your Mono projects.
What's more, besides android apps, you can also generate phone apps in ios(iphone and ipad) and windows phone. All of these mobile applications can be created and coded in C# language. Really amazing, isn't it? So if you are a C# programmer, it's really easy to do. Nearly all the things are similar in the Visual Studio. First, import the namespace by "using PQScan.BarcodeScanner;". Then copy the following C# example code into your barcode scanning method. Simple to work.
Bitmap bitmap = null;
FileStream fs = null;
BufferedStream bs = null;
fs = new FileStream("barcode-image.jpg", FileMode.Open);
bs = new BufferedStream(fs);
bitmap = BitmapFactory.DecodeStream(bs);
BarcodeResult results = BarCodeScanner.Scan(bitmap);
Hope the C# demo code for Mono can be helpful.
---- pqScan Support Team
Can I Read Barcode in PDF document using C#?
Need help for reading barcode with unconventional position?
How to read barcode from Microsoft Office?
Can I read barcode image from report in C# .NET?
Can I read color barcode image in C# .NET?
Is it available for reading all of the barcode in a picture by one time?
How to scan barcode from webcam or other device?
Can I use your barcode reading SDK in Mono?
I can't scan barcode from my images with different DPI.
How to scan barcode in asp.net web application?
How to scan barcode in WPF project using C# language?
Can I run your .net barcode reader library in Windows7 or Windows8?
How to scan rotated barcode in .net project?
SUPPORT SYSTEM: MICROSOFT WINDOWS XP, WINDOWS VISTA, WINDOWS 7, WINDOWS 8, WINDOWS SERVER. SUPPORT PLATFORM: .NET FRAMEWORK, VISUAL BASIC, VISUAL C#, ASP.NET, JAVA, JDK, SWING, APPLET, JSP, SERVLET, J2SE, J2EE. SUPPORT BARCODE TYPE: QR CODE, DATA MATRIX, PDF417, AZTEC CODE, CODE 128, CODE 39, CODE 93, CODABAR, EAN 13, EAN 8, UPCA, UPCE, ITF14. SUPPORT IMAGE FORMAT: JPEG, JPG, PNG, GIF, TIFF, TIF, BITMAP, BMP. SUPPORT VIEWER: MOZILLA FIREFOX, INTERNET EXPLORER, GOOGLE CHROME, OPERA, SAFARI, ADOBE and ACROBAT PDF.
Copyright © pqScan 2010-2017. All Rights Reserved.