facebook

barcode scanner

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 15 posts - 1 through 15 (of 24 total)
  • Author
    Posts
  • #322323 Reply

    geebee
    Member

    This message has not been recovered.

    #322327 Reply

    support-michael
    Keymaster

    This message has not been recovered.

    #322791 Reply

    tiuleepa
    Member

    This message has not been recovered.

    #322794 Reply

    support-michael
    Keymaster

    This message has not been recovered.

    #325559 Reply

    geebee
    Member

    Now that the Android project has been released, any idea when integration with the Phonegap Bar Code scanning is going to happen? It’s been a few months since I initially asked and I’m hoping we’re just around the corner on this one.

    #327945 Reply

    geebee
    Member

    Are we any further along on implementing barcode scanning?

    #327960 Reply

    Hi geebee,

    We haven’t forgotten. Barcode scanning support is planned for late this summer/early fall timeframe. We are building out widgets and apis based on popular demand and we have to knockout a few other widgets and apis that are ahead of barcode scanning.

    #328012 Reply

    geebee
    Member

    -Barcode scanning support is planned for late this summer/early fall timeframe-

    How realistic is this? We were looking at early spring before. Also, since you mention other widgets, what other ones are in the pipeline before barcodes?

    #328051 Reply

    Hi geebee,

    We are still moving forward with a series of new native services planned for this fall. We are working on an approach that will enable developers to have early access to the services as soon as we enable them rather than wait for full production readiness for all features.

    #333327 Reply

    geebee
    Member

    So is there any progress or examples on scanning a barcode using the phonegap interface at this point? A simple one screen prototype would be fine, something with a scan button, and an alert that displays the barcode value that was scanned once the scanning process is complete.

    Even some documentation pointing to the ability to do this would be great.

    #333340 Reply

    JustJohn
    Member

    Geebee,

    Just an idea, but you can use phonegap to open the camera so the user can take a photo of a barcode then grab that image and processing it using javascript to read it.
    Phonegap doc for using the camera and grabbing the image
    http://docs.phonegap.com/en/2.2.0/cordova_camera_camera.md.html#camera.getPicture

    JavaScript for reading a barcode image.
    http://stackoverflow.com/questions/6869445/reading-barcode-from-an-image-using-javascript

    Hope that helps,

    John

    #333342 Reply

    geebee
    Member

    No chance you could build a quick proof of concept project that scans and displays the value?

    #333354 Reply

    JustJohn
    Member

    If you’re in no hurry I may be able to throw something together this weekend.

    John

    #333383 Reply

    geebee
    Member

    That would be fantastic. Looking forward to it.

    #333453 Reply

    JustJohn
    Member

    Hey geebee,

    See the attached project. This is the best I could do. The js function for reading barcodes is flaky so it barely works. Maybe there is another js function out there that can work and you can just swap them. The rest of the app works just fine.
    Click the Take Picture button and the camera opens up, allows you to take a picture, edit and keep or retake.
    Once the pic has been accepted it displays in an image tag and the data is then passed to the barcode javascript function for translation.
    If you have any questions let me know but the comments are pretty self-explanatory. You will have to compile to a native app in order to run it properly.

    Good luck,

    John

    Attachments:
    You must be logged in to view attached files.
Viewing 15 posts - 1 through 15 (of 24 total)
Reply To: barcode scanner

You must be logged in to post in the forum log in