Qrcode scanner - windows phone 8 app

Aug 6, 2014 at 2:47 PM
Hi, I'm trying to develop a windows phone app to recognize qrcode using zxing.net. I have created a basic camera app following this tutorial http://msdn.microsoft.com/en-us/library/windows/apps/hh202956(v=vs.105).aspx.
My problem is how to pass the frame captured on cam_CaptureImageAvailable() event to Decode method of BarcodeReader object.
Does anyone know how to do this?
Thanks a lot.
Aug 12, 2014 at 7:50 PM
Please take a look at the different sample apps in the source code repository:


The samples doesn't use the event CaptureImageAvailable but they show the basic steps for building a barcode scanning app.

If you really want to use that event you have to convert the image stream of the argument ContentReadyEventArgs of the event
to a bitmap or to the raw RGB data. Such type of data can be given to the BarcodeReader class.
Marked as answer by Overflow10 on 8/20/2014 at 11:14 AM
Aug 14, 2014 at 11:12 AM
Hi micjahn, I solved looking the sample apps.
Thanks a lot.