cp not mv

This commit is contained in:
Rob Chohan
2010-11-30 22:12:15 -08:00
parent 879bdb8194
commit 53adf81ec7

View File

@@ -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)`