Questions tagged [zxing.net.mobile]
13 questions
4
votes
4 answers
zxing qr/barcode scanning using MVVM?
Im new in xamarin, Im trying to make a Button that opens a scanner form that scans qr/barcode that is MVVM method. Im trying to get the result and display it into a label. this is my best guest but it doesn't work, hope someone can…

Carljohn Lopez
- 63
- 5
1
vote
3 answers
ZXing Scanner not scanning on iOS in Xamarin Forms app
I'm using the 3.1.0-beta version of ZXing.Net.Mobile and ZXing.Net.Mobile.Forms in my Xamarin Forms 5 app.
Everything is working fine on Android but on iOS, it just doesn't seem to scan at all on an actual device connected to my PC via USB. I also…

Sam
- 26,817
- 58
- 206
- 383
1
vote
2 answers
how to make ZxingScanner start scanning?
I am trying to implement barcode scanning in my Xamarin form, but no success.
I am able to get the camera working, but I don't see the red line on the screen and it simply refuses to scan anything
I tried this answer. I can see thru my camera, but…

GuidoG
- 11,359
- 6
- 44
- 79
0
votes
0 answers
Background of ZXingScannerView in Xamarin.Forms (Android) is opaque
When a ZXingScannerPage is shown with the following code/configuration this results in a view with an opaque background (see first screenshot below) and it is impossible to scan barcodes.
The default background color for the pages of the app is set…

Niels R.
- 7,260
- 5
- 32
- 44
0
votes
0 answers
Zxing Xamarin Forms
I am trying to read barcode through Xamarin Forms Application but unfortunately couldn't read the barcode. What I want is when scanner is opened, I want the results real time on same screen. I am using ZXing 2.2.9 nuget as 4.2.1 is not supported.…

Mirza Fawad Baig
- 21
- 7
0
votes
0 answers
Xamarin.Android : Problem using the library Zxing,Net.Mobile, error (Message=Resource ID #0x7f0a002a) in the debug before inflate the AXML
I have a problem using the library Zxing,Net.Mobile, want to have a popup (fragment) which reads a barcode, but in debug I get an error, I'm using the following repository as an example…

Gandalfh
- 23
- 4
0
votes
1 answer
Why zxing scanner read qr code several times?
I just want to open new page on QR code reading, but the command starts up twice.
How can I fix it?
The command:
scanCommand = new RelayCommand(obj =>
{
_ = navigation.PushAsync(new TestPage1());
…

Souta Norogami
- 3
- 1
0
votes
1 answer
C# Xamarin ZXing Unable to Scan Barcode after Change IsScanning Property from False to True
I have a barcode scannner page, namely BarcodeScannerView and BarcodeScannerViewModel. The main objective of this is to navigate to another page after barcode is read. What I had done is the application success navigate to other page after scanned a…

Ooi Yoong Khang
- 21
- 1
0
votes
1 answer
Why I can't use navigation when I want scan?
I've got a question for anyone who's worked with the ZXING barcode scanner in Xamarin.
I've got an app that has one page with the following code:
newitempage.xaml
Form Scanner

Naughty IT
- 3
- 2
0
votes
1 answer
Xamarin Zxing Mobile Camera permission
Whenever trying to upload my application to play Console i am getting a message that i need to specify privacy policy because of my app requesting Camera permission.
While Zxing net requeries the permission, my app does not use any of the library…

Kamil Brucki
- 21
- 3
0
votes
0 answers
How to use ZXing in MVVM?
By the moment I am using the scanner in code behind in this way:
View:

Álvaro García
- 18,114
- 30
- 102
- 193
0
votes
2 answers
Xamarin.Forms ZXing BarcodeReaderGeneric returns null when scanning an image in the gallery
I am developing a barcode reader with Xamarin.Forms. And I'm trying to scan the image on Android device.
First I select the image from the gallery with Xamarin.Essentials MediaPicker and from the path of this image I get an RGBLuminance with the…

Serkan Şeker
- 13
- 4
0
votes
1 answer
Xamarin forms: System.NullReferenceException when using ZXing.Net.Mobile for scanning?
I am using the ZXing.Net.Mobile NuGet package for scanning barcode numbers. I have done everything as per this blog.
My Code
//Main Project Interface
public interface IQrScanningService
{
Task ScanAsync();
}
//Android part…

Sreejith Sree
- 3,055
- 4
- 36
- 105