Zxing.Net.MAUI is only one of the multiple libraries out there for barcode scanning. Looking for something using Vision & ML Kit: github.com/afriscic/BarcodeScanning.Native.Maui or github.com/JimmyPun610/BarcodeScanner.Mobile
Good, it's out of prerelease now! I implemented "0.3.0-preview.1" in a project before and it was missing so much that was already in Xamarin. I do wish it allowed for more customization with the creation of QR Codes such as icons, but happy we at least have something.
Thanks James. These videos are invaluable. Please keep them coming. I tried Maui earlier on and was it was missing so much functionality (which was to be expected as it was new) - seeing these advances builds hope back into the project. Time for another revisit :D Happy holidays!
I am experiencing an issue with my iPhone 15 Pro. Although the camera loads, it fails to detect anything. However, when I tested it on an iPad mini, it worked perfectly fine. The breakpoints do not get triggered when on the BarcodeReader_OnBarcodesDetected, indicating that it has not been detected when running on the iPhone.
Hi James, I followed your example in my application and the BarcodesDetected handler is fired multiple times when I try to scan a barcode I generated or even one that I saw on my laptop. Any ideas?
I have one little problem with your code: When I scan a QR Code, I get the message as wanted - but I get a lot of them! I have to press OK about 15 to 20 times. Is there a way to stop that process after the first QR Code recognition?
this *almost* works on Android but has bugs and needs work. the github has not been updated in months. i can scan one code but if i close the page and then return it is broken. folks are trying to help fix it but the repo owner seems to not be checking it out or updating it.
Hi James, not able to detect qr code on some specific devices. Could you please suggest any work around or any solution. The camera view just scans the qr code but not proceeds further.
Thanks for the video James, it's a great content. I have a question, Is it possible to use 2 Formats with the same scanner? For example I'd like to use a scanner and I want to read QRCodes and Code39. Is it Possible?
I also had a mistake. AMM001 or something, an SDK version that was incompatible with some other version. In the Android manifest file, after the camera (Required permissions) has been activated, the minimu and target android version must be set. At minimum I have android 11 for target I have 13. The build process was successful. And then the app is also started in the emulator.
Hi James. How to implement this control to combine with Entry control and activate it only when focus is on Entry? For Example Entry product code with barcode ean 13 and request result is the description of product on a label the my app? Thanks
Hello..... that control is only for .NET 7 as I saw, right? So I used finally CameraView control which uses ZXing internally. By I have performance issues. It is slow to detect barcodes. Is there a way to increase performance? For example, by ziooming in the camera. Regards Jaime
I developed a Maui application and used it as Window Machine. My app uses scanned barcode input from a zebra scanner, but, in order to get enter or return command working I had to configure the scanner with a second of delay, otherwise it will get null as the entry value. As far as I know, there is no other solution to this. My question is, if I use my app in a mobile device using the camera as a reader, Will it trigger properly the return command?
I am fairly new in this field, so I apologise in advance for the question. When you run the emulation test, what kind of setting do you use for the camera? Did you link the camera from your physical device to the emulated one in the android device manager?
@@JamesMontemagno Gracias por todos tus aportes, lo estaba utilizando en .net7 y funcionaba genial, en .net8 no reconoce los QR (probé en varios dispositivos físicos), habra alguna solucion para esto? Muchas gracias.
I was trying to get Zxing to work with .net 8 but could not. It looks like you were able to install with a .net 8 project. Can you explain how? Thanks...
@@JamesMontemagno Is there an option for customization though? From what I can see, there are preset enums for All, 1-dimensional, and 2-dimensional, but what if we want to use a custom subset?
Can you test this with the emulator or do you need an actual android phone to get the camera? Or does the windows emulator activate the computer webcam?
YES! It WILL be abandoned by Microsoft in the future... just like everything else in the past. But wait... that goes for pretty much ANYTHING... When everyone rode horses as their universal transportation solution... somebody built the automobile and for a time everyone riding horses laughed at the rare auto going down the dirt roads as they easily got stuck in the mud... slow, clucky and even sometimes when they got on their horse and started to ride off, the one in the auto had to get out and fiddle with the thing to even get it STARTED and READY to "ride off". But as time went on, more and more autos filled the rugged streets and roads and advancements in them started to happen and more of them showed up and now they start passing the people riding the outdated horses but people still clung to the horse. And then a time came when those on horseback just got in the way of the auto driving people and the autos were passing the hroses on the road and laughing at the slow, clunky, mind of their transportation that just got in the way. Now apply this story to .NET MAUI and the company that manufactures it :)
Zxing.Net.MAUI is only one of the multiple libraries out there for barcode scanning. Looking for something using Vision & ML Kit: github.com/afriscic/BarcodeScanning.Native.Maui or github.com/JimmyPun610/BarcodeScanner.Mobile
What's wrong with you? Nasic thing like Collectionviews are still broken, and you guys talk about Barcode scanning!
Hi James.. how can we use this on native .net7/8 IOS apps? this doesnt seem to work for them.. could u kindly provide an example please.
I have never seen anyone who explains it simply and clearly like you. Thank You.
Good, it's out of prerelease now! I implemented "0.3.0-preview.1" in a project before and it was missing so much that was already in Xamarin. I do wish it allowed for more customization with the creation of QR Codes such as icons, but happy we at least have something.
Danke!
Thanks James. These videos are invaluable. Please keep them coming. I tried Maui earlier on and was it was missing so much functionality (which was to be expected as it was new) - seeing these advances builds hope back into the project. Time for another revisit :D Happy holidays!
i tried your guid and it works well, my Phone is Samsung Galaxy S24+
I have problems if the device has more than 1 rear camera
I am experiencing an issue with my iPhone 15 Pro. Although the camera loads, it fails to detect anything. However, when I tested it on an iPad mini, it worked perfectly fine. The breakpoints do not get triggered when on the BarcodeReader_OnBarcodesDetected, indicating that it has not been detected when running on the iPhone.
Can I attach to an already running debug session on my android phone?
Hi James,
I followed your example in my application and the BarcodesDetected handler is fired multiple times when I try to scan a barcode I generated or even one that I saw on my laptop. Any ideas?
You're a big help man, keep up the good work!
Glad to help!
I have one little problem with your code: When I scan a QR Code, I get the message as wanted - but I get a lot of them! I have to press OK about 15 to 20 times. Is there a way to stop that process after the first QR Code recognition?
this *almost* works on Android but has bugs and needs work. the github has not been updated in months. i can scan one code but if i close the page and then return it is broken. folks are trying to help fix it but the repo owner seems to not be checking it out or updating it.
Good work, and about bluetooth scanning and comunication
Thank you James. Really useful video, as usual. I'm the only one experiencing really poor reading performances with 1D barcodes and zxing package?
Hi,
I would like to know can I access finger print authentication in Maui application for android and ios
Hi James, not able to detect qr code on some specific devices. Could you please suggest any work around or any solution. The camera view just scans the qr code but not proceeds further.
thanks men, i just update my xamarin app to maui, this is so helpfull
Thanks for the video James, it's a great content. I have a question, Is it possible to use 2 Formats with the same scanner? For example I'd like to use a scanner and I want to read QRCodes and Code39. Is it Possible?
Thanks james but the thing is the barcode scanner is not working for android 13 devices please guide me how to resolve this
My app I showed in the video was running on Android 13... seems to work for me.
I also had a mistake. AMM001 or something, an SDK version that was incompatible with some other version.
In the Android manifest file, after the camera (Required permissions) has been activated, the minimu and target android version must be set.
At minimum I have android 11
for target I have 13.
The build process was successful. And then the app is also started in the emulator.
Hi James. How to implement this control to combine with Entry control and activate it only when focus is on Entry? For Example Entry product code with barcode ean 13 and request result is the description of product on a label the my app? Thanks
Great video James. Can you do a video of sending data/images to a wireless printer?
Hello..... that control is only for .NET 7 as I saw, right? So I used finally CameraView control which uses ZXing internally. By I have performance issues. It is slow to detect barcodes. Is there a way to increase performance? For example, by ziooming in the camera.
Regards
Jaime
I developed a Maui application and used it as Window Machine. My app uses scanned barcode input from a zebra scanner, but, in order to get enter or return command working I had to configure the scanner with a second of delay, otherwise it will get null as the entry value. As far as I know, there is no other solution to this.
My question is, if I use my app in a mobile device using the camera as a reader, Will it trigger properly the return command?
❤ do you know any plugin for infrared sensor? to use in just like tv remote app
guys, could you use this library using mvvm? can you share your implementation?
Lovely! I assume that binding the barcode value to MVVM property is pretty straight forward
Any of the properties you could on the options of course and then probably an event to command if needed for when something is scanned.
Did you ever manage to implement this? I'm struggling migrating the code behind to MVVM
Could you please let me know which copilot you are using. Thanks a lot.
GitHub Copilot
nice video. what about the MLKit from Google doing this? and complete OCR Scanning? e.g. scanning text from images.
greetings
Something like: github.com/afriscic/BarcodeScanning.Native.Maui would work too
@@JamesMontemagno thanks for the answer. Does the textrecognition function from the MLKit work too?
I am fairly new in this field, so I apologise in advance for the question. When you run the emulation test, what kind of setting do you use for the camera? Did you link the camera from your physical device to the emulated one in the android device manager?
Physical device has to be used
@@JamesMontemagno Gracias por todos tus aportes, lo estaba utilizando en .net7 y funcionaba genial, en .net8 no reconoce los QR (probé en varios dispositivos físicos), habra alguna solucion para esto? Muchas gracias.
Thanks as always, James. Would you know of a way I can detect a Barcode/QRCode from a photo with .net Maui?
Thanks for the example, Can i know this will work for iOS devices.
As I tried it didn't work for me
absolutely!
how to multiple format
Have you actually tried it on any iPhone with 3+ lenses? It doesn’t focus up close and makes it very difficult to scan barcodes.
I haven't, but would be worth openign an issue on github or loking at github.com/afriscic/BarcodeScanning.Native.Maui perhaps too
Si gruoss! You are great!
I was trying to get Zxing to work with .net 8 but could not. It looks like you were able to install with a .net 8 project. Can you explain how? Thanks...
Take a look at the project and make sure you have the correct nuget package
Can you add more then one format of barcode at a time, or can you only pick one?
You can pick multiple. There is even an All option
@@JamesMontemagno What would be the option for all?
@@JamesMontemagno Is there an option for customization though? From what I can see, there are preset enums for All, 1-dimensional, and 2-dimensional, but what if we want to use a custom subset?
very useful!thx
You're welcome!
Thanks!! Great Content
You're welcome!
Can you test this with the emulator or do you need an actual android phone to get the camera?
Or does the windows emulator activate the computer webcam?
You can use the Android emulator to simulate a camera in a little 3D world, and you can put custom images on the walls.
@@mmillennial thanks. I'll check it out
Does not support WinUI. :(
What is your outlook on the future of .NET MAUI? Will the .NET MAUI project be abandoned by Microsoft?
YES! It WILL be abandoned by Microsoft in the future... just like everything else in the past. But wait... that goes for pretty much ANYTHING... When everyone rode horses as their universal transportation solution... somebody built the automobile and for a time everyone riding horses laughed at the rare auto going down the dirt roads as they easily got stuck in the mud... slow, clucky and even sometimes when they got on their horse and started to ride off, the one in the auto had to get out and fiddle with the thing to even get it STARTED and READY to "ride off". But as time went on, more and more autos filled the rugged streets and roads and advancements in them started to happen and more of them showed up and now they start passing the people riding the outdated horses but people still clung to the horse. And then a time came when those on horseback just got in the way of the auto driving people and the autos were passing the hroses on the road and laughing at the slow, clunky, mind of their transportation that just got in the way. Now apply this story to .NET MAUI and the company that manufactures it :)
Great video! (Again) A video on how to fix the iOS keyboard hiding entry controls in Maui would be nice
I know there were lots of fixes in .NET 8… anything specific?
@@JamesMontemagnoYa, hang on... I'm still on 7, I'll have a go at 8 after new years
Thanks James, useful