QR Code in Windows Store App

戏子无情 提交于 2019-12-23 03:38:12

问题


I need to program a QR code reader in my Windows RT app, so I can get the ID of the specific item I am scanning.

I have found the source to a free QR code generator, but I cannot find the code to read the ID from the QR Code, so can anybody in here tell me, where I can find the source to a QR Reader or any other ways to read the QR Code e.g. Install a third-party program, which only reads the QR Code and sends the result back to my program


回答1:


I would recommend taking a look at ZXing.NET. It's an Open Source barcode scanner library, which includes support for QR codes. There is a WinRT port available on CodePlex. You will simply need to pass an image into the library to read the contents.




回答2:


I faced the same problem, I had to manually write camera capture capability and then pass it on to ZXing. Check it out here - http://quirkd.wordpress.com/2015/02/18/reading-qr-codes-in-winrt-tricky/



来源:https://stackoverflow.com/questions/13706385/qr-code-in-windows-store-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!