torstensson / jquery-barcodelistener Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/jquery-barcodelistener
Automatically exported from code.google.com/p/jquery-barcodelistener
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
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
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
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.