Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lemaiwo/panasonicscanner
Cordova plugin PanasonicScanner Android and UWP
https://github.com/lemaiwo/panasonicscanner
barcode-scanner cordova cordova-android cordova-android-plugin cordova-plugin cordova-uwp handhelds laserscanner panasonic toughpad
Last synced: 2 months ago
JSON representation
Cordova plugin PanasonicScanner Android and UWP
- Host: GitHub
- URL: https://github.com/lemaiwo/panasonicscanner
- Owner: lemaiwo
- Created: 2017-02-15T09:13:35.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-01-30T08:10:07.000Z (almost 6 years ago)
- Last Synced: 2024-09-28T23:04:46.458Z (3 months ago)
- Topics: barcode-scanner, cordova, cordova-android, cordova-android-plugin, cordova-plugin, cordova-uwp, handhelds, laserscanner, panasonic, toughpad
- Language: C#
- Size: 551 KB
- Stars: 1
- Watchers: 2
- Forks: 5
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Information
This is a cordova plugin to use the Laser Barcode Scanner of Panasonic handhelds. Suported and tested devices:
- A Panasonic toughpad FZ-F1 running the Universal Windows Platform (Windows 10)
- A Panasonic toughpad FZ-X1 running Android 4.2.2
How to use
Activate the scanner and pass the success and error callback functions:
```
cordova.plugins.PanasonicScanner.activate({}, function(result) {
// each scan will trigger this callback function
}, function(error) {
// catch error on activation
});
```
On windows you'll need to add this to your project:
```
document.addEventListener("resume",this.activatePanasonicScanner, false);
```
Assuming that "activatePanasonicScanner" is the function where you activate the scanner.
License
Copyright 2017 Wouter Lemaire
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.