Skip to content

apreg/BarcodeScannerWP7

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

I made a copy of the original BarcodeScannerWP8 to try to make it runnable on WP7.

BarcodeScannerWP7/8

Cordova/PhoneGap plugin to enable barcode scanning on Windows Phone 8 using the device's camera.

Licence

MIT

Installation

Using CLI:

Usage

Call the method window.cordova.plugins.barcodeScanner.scan, passing in a success and fail call back. Example:

        function scanBarcode() {
            function onSuccess(result) {
                console.log("Barcode is: " + result.text);
                console.log("Barcode format: " + result.format);
            }

            function onFail(error) {
                console.log(error);
            }

            window.cordova.plugins.barcodeScanner.scan(onSuccess, onFail);
        }

(Device will vibrate after detecting a barcode.)

About

Try to make BarcodeScannerWP8 runnable on WP7

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published