locked
How to read Barcode reader in windows 8?

All replies

  • What do you mean by reading a barcode?

    Are you trying to use an external barcode reader? If so, most that I am aware of provide the barcode information as keyboard input. You will need to check with your vender for specifics.

    Are you trying to recognize the barcode from an image? There isn't a built in API for this. You will either need to use a 3rd party recognition engine or write your own.

    --Rob

    Wednesday, September 12, 2012 3:39 PM
  • any samples on that...please let me know.


    Venkat

    Wednesday, September 12, 2012 4:40 PM
  • Samples on what? You haven't explained what you are looking for.

    I am not aware of any samples which demonstrate how to recognize a barcode from a bitmap, but you could look into server side API such as the one for Microsoft Tags at http://tag.microsoft.com/developer/scan-data-api.aspx

    --Rob

    Wednesday, September 12, 2012 10:23 PM
  • i am trying to recognize the barcode from an image?for that any samples in windows 8?which API need to use for that please clarify me...

    Venkat

    Friday, September 14, 2012 7:03 AM
  • Hi Venkat,

    There is no built in API to recognize a barcode from an image. You would need to use a 3rd party or server side API or examine the pixels directly and use your own algorithm to recognize the code.

    --Rob

    Saturday, September 15, 2012 1:25 AM
  • Hi,

    I am windows phone 7 developer.i want to migrate my wp7 app to windows 8.in wp7 i used Zxing library for reading the barcode but how to read the barcode data in windows 8?.please tell me why these changes again in new developement?

    It's seems to be complex any books and stuff related to windows 8 app developement?please let me know....

    thanks,


    Venkat

    Tuesday, September 18, 2012 4:58 AM
  • Hi,

    Anyone please tell me how to read barcode in windows 8 store application?

    Any 3rd party API's is available to read the barcode in windows 8.please let me know related stuff and samples on that..

    Thanks,


    Venkat

    Wednesday, September 26, 2012 10:36 AM
  • Hi,

    There are a number of API's available in the market.     You can try any of those. Some of them are only free
    http://www.i-nigma.com/sdkmain.html

    http://www.scandit.com/barcode-scanner-sdk/

    Hope it helps!!!

    Wednesday, September 26, 2012 11:39 AM
  •  any sample apps related on that ..


    Venkat

    Wednesday, September 26, 2012 11:44 AM
  • AnyOne Please tell me any API's for Barcode Scanning in windows 8 store apps.

    Previously i worked on Zxing library in WP7.How to do Barcode Scanning in Windows 8 metro apps?

    Thanks,


    venkat

    Thursday, September 27, 2012 5:38 AM
  • Hi Venkat,

    There is no built in API to recognize a barcode from an image. You would need to use a 3rd party or server side API or examine the pixels directly and use your own algorithm to recognize the code.

    If you have been using zxing then you may want to check with them to see if they have or are working on a version for Windows Store apps.

    --Rob

    Thursday, September 27, 2012 5:50 AM
  • Venkat:

    I am looking to resolve a similar issue and while "BING"ing ran across your query yesterday. And later in the night browsing through recent copy of MSDN magazine (in PRINT) - Windows 8 Special edition, I found the LeadTools for Lead Technologies promising.

    PLEASE NOTE - I have not tried these tools out yet, but the documentation seems to indicate that is should resolve the issue. They explictly state their support for WinRT.

    http://www.leadtools.com/sdk/barcode/default.htm

    Good Luck with your project. Hope to see it soon on the Windows 8 Store!

    Wednesday, October 24, 2012 5:56 PM
  • Hi Venkat,

    try to use this:

    Windows.Media.Capture.CameraCaptureUI ccu = new Windows.Media.Capture.CameraCaptureUI();
                ccu.PhotoSettings.Format = Windows.Media.Capture.CameraCaptureUIPhotoFormat.Jpeg;
                ccu.PhotoSettings.MaxResolution = Windows.Media.Capture.CameraCaptureUIMaxPhotoResolution.HighestAvailable;
                Windows.Storage.StorageFile x = await ccu.CaptureFileAsync(Windows.Media.Capture.CameraCaptureUIMode.Photo);
                //FileOpenPicker fop = new FileOpenPicker();
                //fop.FileTypeFilter.Add(".jpg");
                //StorageFile x = await fop.PickSingleFileAsync();
                if (x != null)
                {
                    ZXing.BarcodeReader br = new ZXing.BarcodeReader();
                    WriteableBitmap wrb;
                    BitmapImage img = new BitmapImage();
                    img.CreateOptions = BitmapCreateOptions.IgnoreImageCache;
                    using (IRandomAccessStream fileStream = await x.OpenAsync(FileAccessMode.Read))
                    {
                        //fileStream.
                        wrb = await BitmapFactory.New(1, 1).FromStream(fileStream);
                    }
                    var res = br.Decode(wrb);
                    testImage.Source = wrb;
                    //System.Diagnostics.Debug.WriteLine("ISBN = " + res.ToString());
                }

    For complete reference: http://zxingnet.codeplex.com/discussions/393332

    Note: please add references zxing.winrt and WriteableBitmapEx.WinRT from http://zxingnet.codeplex.com/

    Thanks,

    Kishore Mandal


    Monday, November 12, 2012 6:48 AM
  • Take a look at the barcode reader implementation, www.avapose.com/dotnet_barcode_reader/. It may help!It may help!

    Thursday, March 07, 2013 10:04 AM
  • Venkat,

    I am sticking with the problem of scanning barcode using WP7.

    Please help me on this.

    Thanks

    Wednesday, July 31, 2013 8:20 AM
  • Hi EGanesan,

    The Windows Store apps forums are for discussion of writing Windows Store apps.

    For questions about writing Windows Phone apps please post in the Windows Phone Development forums.

    --Rob

    Wednesday, July 31, 2013 6:19 PM