Simple Function

Jul 7, 2013 at 2:36 PM
am trying to figure out how this work. its so difficult and complicated when trying to understand how the windows phone 8 demo works. and simply am lost

why cannot be there a very simple and straight forward way to read the barcode from the camera

something like

barcode.text=barcodeReader.ScanCode()

please i need a simple way than calling 12 functions or so

anyone can help
Developer
Jul 8, 2013 at 7:54 AM
Hi daouddajani,

first, which demo are you using? Did you try the one directly from the SourceCode (https://zxingnet.codeplex.com/SourceControl/latest)?
There are certain measures you need to take to get the appropriate requirements to decode the barcode and to get the most flexibility as a developer you can to these how you like.
The Decode() Method takes eigther a WriteableBitmap or a Byte[] rawRGB, int height, int width, BitmapFormat format.