This project has moved and is read-only. For the latest updates, please go here.

Issue about for windows phone8 demo

Dec 12, 2013 at 7:21 AM
Edited Dec 12, 2013 at 7:26 AM
Hi , all. I've been trying to use the for windows phone 8 demo in my project about scaning barcode image.

When i scan a barcode it's all ok... I navigate in another page and all is good..
but when i press the button BACK ,it cause an error ,and the app flash back.
The error is about "Null Reference".
I try to add "PhotoCaptureDevice.Dispose()" in OnNavigationFrom(.. , ..), but it can't work at all.

Can anyone help me?
Thanks in advance.
Dec 12, 2013 at 7:32 AM
Hi lengxian,

the PhotoCaptureDevice perhaps is not the best way for ZXing.Net to use. I do recreate the demos at the moment.
In the mean time could you try to use a PhotoCamera instead of the PhotoCaptureDevice?

Here is a little help

I'll try to get the Demo done by the weekend :)
Dec 13, 2013 at 1:02 AM
Thanks fabianhenzler, i'll try it.