mirror of
https://github.com/purplecabbage/phonegap-plugins.git
synced 2026-04-24 03:00:11 -04:00
cp not mv
This commit is contained in:
@@ -8,9 +8,10 @@ If the user doesn't have the app install they will be promped to install it the
|
||||
1. To install the plugin, move barcodescanner.js to your project's www folder and include a reference to it
|
||||
in your html files.
|
||||
2. Create a folder called 'src/com/beetight/barcodescanner' within your project's src/com/ folder and move the java file into it.
|
||||
|
||||
`mkdir <your_project>/src/com/beetight/barcodescanner`
|
||||
`mv ./BarcodeScanner.java <your_project>/src/com/beetight/barcodescanner`
|
||||
|
||||
3. and copy the java file into that new folder
|
||||
`cp ./BarcodeScanner.java <your_project>/src/com/beetight/barcodescanner`
|
||||
|
||||
## Using the plugin ##
|
||||
The plugin creates the object `window.plugins.barcodeScanner` with one method `scan(types, success, fail, options)`
|
||||
|
||||
Reference in New Issue
Block a user