Code Monkey home page Code Monkey logo

jquery-barcodelistener's People

jquery-barcodelistener's Issues

Add support for swipetrack API

http://www.swipetrack.com/development-api

The idea is the same as for issue #3. Swipetrack is a more generic iOS app for 
getting scanned barcodes into a webapp. It does not require, but also does 
support, LINEA scanners. It claims to be able to scan barcodes with the iOS 
device’s built-in camera. I suppose if you have a new enough iOS device with 
a higher-quality camera (my now older iPod and even iPad cameras cannot focus 
well at short range and at a farther range are too low resolution for 1D 
barcode scanning), this camera-based scanning might work well enough for casual 
users.

jquery-barcodelistener should automatically detect if it is running under 
swipetrack. If it is, it should hook into swipetrack’s events and disable its 
own keyboard event detection. This should both enable LINEA users and even iOS 
camera users to have a much more streamlined scanning experience than otherwise 
possible.

Original issue reported on code.google.com by ohnobinki on 5 Apr 2013 at 3:12

Add support for allada API for LINEA iOS scanner attachments

http://api.allada.com/2.0/

When jquery-barcodelistener detects the presence of a real scanner, such as one 
supported by the allada API, it should automatically stop listening for 
keyboard events and just hook into the allada API. This would enable users of 
https://itunes.apple.com/us/app/web-interface/id588381940?mt=8 to be seemlessly 
supported by any webapp using jquery-barcodelistener.

The Web Interface app by Allada allows one to set a webapp start URI in the iOS 
Settings app. When Web Interface starts, it will load the specified webapp 
which may then use the API described at http://api.allada.com/2.0/ to detect 
and interact with a LINEA barcode scanner. Obviously, the API exposes a lot 
more than just simple barcode reading. Some features might be things which it 
would be nice to configure through jquery-barcodelistener, such as 
enabling/disabling beep-on-scan or letting the webapp initiate a scan without 
the user needing to press the physical button on the LINEA device. 
jquery-barcodelistener could add support for these more generic things while 
silently ignoring API calls that itself or another scanner cannot support, as a 
keyboard event-based scan detection implies no ability to instruct the scanner 
to start/stop scanning.

I do not expect that you would have a device compatible with the linked iOS 
app. However, I also expect that this project may be dead ;-). So, if you are 
interested in making jquery-barcodelistener into a more generic 
one-solution-fits-all jquery library for reading barcodes, I’d be willing to 
write/maintain the support for allada. Otherwise, if this project continues to 
remain dead, I’d like to try to write my own input-API/method-agnostic 
scanner event source…

Original issue reported on code.google.com by ohnobinki on 5 Apr 2013 at 3:05

Some suggestions

I'm using Chrome

Added an autocomplete="off" to the hidden input otherwise it will pop up into 
view.
Changed

$("body").append("<form id=\"29LLRUZk\" style=\"opacity:0;height:0px;\"><input 
type=\"text\" name=\"L3ZitQdL\" id=\"L3ZitQdL\" /></form>");

to

$("body").append("<form id=\"29LLRUZk\" style=\"opacity:0;height:0px;\"><input 
autocomplete=\"off\" type=\"text\" name=\"L3ZitQdL\" id=\"L3ZitQdL\" 
/></form>");



This line fires off an error

if (e.which == settings[wlBUJTIw][1])

So I changed it to

if (typeof settings[wlBUJTIw] != 'undefined'  && e.which == 
settings[wlBUJTIw][1])

Original issue reported on code.google.com by [email protected] on 6 Feb 2012 at 3:16

Code does not work.

I added the following code on my screen. But when I scan a barcode nothing 
happens.   
<script type="text/javascript" src='<% =ResolveUrl
("~/javascript/jquery.js") %>'> </script> 
<script type="text/javascript" src='<% =ResolveUrl
("~/javascript/barcodelistener.js") %>'></script>
<script type="text/javascript"> 
    $(document).ready(function() { 
        char0 = new Array("§", "32"); 
        char1 = new Array("˜", "732"); 
        characters = new Array(char0, char1); 
        $(document).BarcodeListener(characters, function(code) { 
            // YOUR FUNCTION HERE 
            // for example:
            debugger 
            alert(code); 
        }); 
    }); 
</script>

Original issue reported on code.google.com by [email protected] on 21 Apr 2010 at 12:46

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.