Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Implementing a barcode reader...

Options
  • 11-02-2014 8:37pm
    #1
    Registered Users Posts: 326 ✭✭


    Looking at implementing a bar-code reader into a mobile app for a college project and was just wondering how hard is it and does it involve much work?

    Maybe somebody can point me in the right direction?

    Cheers!


Comments

  • Registered Users Posts: 2,345 ✭✭✭Kavrocks


    I'm pretty sure there are open source libraries out there which you can use that others have previously used in college projects. I'm not aware of them myself but have been told of their existence.

    I'd suggest google as a first point of call.


  • Registered Users Posts: 1,414 ✭✭✭Fluffy88


    If you don't intent to implement the actual bar code scanning yourself then a library is the way to go.

    I did similar for a small app I did just for fun, I think this is the API I used to do the scanning for me.
    https://github.com/zxing/zxing/wiki/Scanning-Via-Intent


  • Subscribers Posts: 1,911 ✭✭✭Draco


    There's native barcode scanning in iOS 7:
    http://www.infragistics.com/community/blogs/torrey-betts/archive/2013/10/10/scanning-barcodes-with-ios-7-objective-c.aspx

    For Android you could use ZXing
    https://github.com/zxing/zxing

    I've used ZXing previously on iOS and it worked well.


  • Registered Users Posts: 326 ✭✭phishcakes


    Thanks for the reply's

    Were hoping to build our own app with an implemented bar code scanner which will put data from an SQL database but pulling data from a db with a bar code scanner is proving a lot more complicated than we had anticipated.


  • Subscribers Posts: 1,911 ✭✭✭Draco


    Difficult how? Are you having problems reading the barcode or pulling the data out of the db?

    What platform are you developing on? If it's iOS it really is trivial at add barcode reading- I've a little side project (https://github.com/kmonaghan/MDAMarvelAPI) using Marvel Comic's API and added a barcode reader to it in under an hour at the weekend. It can scan the EAN-13 barcode from the from the front of a comic and if it's in the current list it'll show you the details.


  • Advertisement
Advertisement