locked
QR Code Reader from Windows.Devices.PointOfService using Camera RRS feed

  • Question

  • I am working on creating a QR Code reader (or actually an app that involves reading QR Codes) for my Windows Store app using the Windows.Devices.PointOfService namespace. Because nearly all mobile devices, including phones and tablets, have a camera, I want to use the camera to obtain the QR Codes. I have found a sample at:

    http://code.msdn.microsoft.com/windowsapps/Barcode-scanner-sample-f39aa411

    But when I test the app, it says that a barcode scanner was not found. The device I am testing on is a Surface Pro with Windows 8 Pro. Does the app and/or namespace only work with actual barcode scanners? I would think that with all the easy access to cameras for people nowadays that using a camera would at least be an option. Can somebody help me figure out how to use a camera to scan a QR Code in a Windows Store app? Thanks.


    Nathan Sokalski njsokalski@hotmail.com http://www.nathansokalski.com/

    Wednesday, November 6, 2013 5:56 PM

Answers

  • Hi, Nathan

    The Windows.Devices.PointOfService API can access Point of Service (POS) peripheral devices, such as barcode scanners and magnetic stripe readers. The Barcode scanner sample only work with actual barcode scanners and there is no direct API in winrt can support camera reading QR code!

    Best Wishes!


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey. Thanks<br/> MSDN Community Support<br/> <br/> Please remember to &quot;Mark as Answer&quot; the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.


    • Edited by Anne Jing Thursday, November 7, 2013 7:01 AM edit
    • Marked as answer by Nathan Sokalski Thursday, November 7, 2013 3:53 PM
    Thursday, November 7, 2013 6:58 AM

All replies

  • Hi Nathan,

    I didn´t test it, but is this what you are looking for?

    http://www.soulier.ch/?p=1275&lang=en


    lh

    Wednesday, November 6, 2013 8:06 PM
  • No, I was trying to figure out how to use Windows.Devices.PointOfService with a camera rather than an actual barcode scanner.

    Nathan Sokalski njsokalski@hotmail.com http://www.nathansokalski.com/

    Wednesday, November 6, 2013 8:57 PM
  • Hi Nathan,

    sorry for getting you wrong. I understood you where searching for a way to scan a QR Code with the cammera of your surface.


    lh

    Wednesday, November 6, 2013 9:10 PM
  • That is part of my goal, but I would like to avoid any third-party class downloads if there is a way to do it using something that is already a part of the Windows runtime, which is why I want to figure out how to do it using Windows.Devices.PointOfService.

    Nathan Sokalski njsokalski@hotmail.com http://www.nathansokalski.com/

    Wednesday, November 6, 2013 9:18 PM
  • Hi, Nathan

    The Windows.Devices.PointOfService API can access Point of Service (POS) peripheral devices, such as barcode scanners and magnetic stripe readers. The Barcode scanner sample only work with actual barcode scanners and there is no direct API in winrt can support camera reading QR code!

    Best Wishes!


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey. Thanks<br/> MSDN Community Support<br/> <br/> Please remember to &quot;Mark as Answer&quot; the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.


    • Edited by Anne Jing Thursday, November 7, 2013 7:01 AM edit
    • Marked as answer by Nathan Sokalski Thursday, November 7, 2013 3:53 PM
    Thursday, November 7, 2013 6:58 AM
  • I guess that's good to know, it will probably save me an endless amount of time trying to find something that doesn't exist. I guess all I can say in response is that I hope the capability is added in the future, since I believe many people, in the near future, will be using their tablets and laptops when they have a table or stand at some kind of convention. If I was selling stuff, I would probably create QR Codes for the stuff I was selling and use my tablet for it. But I would never buy an actual scanner unless I was going to open an actual commercial store, in which I would probably not be doing the scanning from a Windows 8.1 app anyway. But it is good to know what I can and can't do with the namespace. Thanks.

    Nathan Sokalski njsokalski@hotmail.com http://www.nathansokalski.com/

    Thursday, November 7, 2013 4:03 PM