mirror of
https://github.com/wahyd4/BarcodeScanner.git
synced 2026-08-11 05:55:55 +10:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b7ddcf6aa9 | ||
|
|
1242c55142 | ||
|
|
3b1ad506b2 |
@@ -8,7 +8,7 @@ Follows the [Cordova Plugin spec](https://github.com/apache/cordova-plugman/blob
|
||||
This plugin leverages Cordova/PhoneGap's [require/define functionality used for plugins](http://simonmacdonald.blogspot.ca/2012/08/so-you-wanna-write-phonegap-200-android.html).
|
||||
|
||||
Note: the Android source for this project includes an Android Library Project.
|
||||
pluginstall currently doesn't support Library Project refs, so its been
|
||||
plugman currently doesn't support Library Project refs, so its been
|
||||
prebuilt as a jar library. Any updates to the Library Project should be
|
||||
committed with an updated jar.
|
||||
|
||||
@@ -42,7 +42,8 @@ The following barcode types are currently supported:
|
||||
* EAN_8
|
||||
* EAN_13
|
||||
* CODE_128
|
||||
* CODE_3
|
||||
* CODE_39
|
||||
* ITF
|
||||
|
||||
`success` and `fail` are callback functions. Success is passed an object with data, type and cancelled properties. Data is the text representation of the barcode data, type is the type of barcode detected and cancelled is whether or not the user cancelled the scan.
|
||||
|
||||
|
||||
+1
-4
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?><plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
id="com.phonegap.plugins.barcodescanner"
|
||||
version="0.6.0">
|
||||
version="0.6.1">
|
||||
|
||||
<name>BarcodeScanner</name>
|
||||
|
||||
@@ -115,9 +115,6 @@
|
||||
<source-file src="src/android/LibraryProject/res/layout-land/encode.xml" target-dir="res/layout-land"/>
|
||||
<source-file src="src/android/LibraryProject/res/layout-land/share.xml" target-dir="res/layout-land"/>
|
||||
<source-file src="src/android/LibraryProject/res/layout-ldpi/capture.xml" target-dir="res/layout-ldpi"/>
|
||||
<source-file src="src/android/LibraryProject/res/menu/capture.xml" target-dir="res/menu"/>
|
||||
<source-file src="src/android/LibraryProject/res/menu/encode.xml" target-dir="res/menu"/>
|
||||
<source-file src="src/android/LibraryProject/res/menu/history.xml" target-dir="res/menu"/>
|
||||
<source-file src="src/android/LibraryProject/res/raw/beep.ogg" target-dir="res/raw"/>
|
||||
<source-file src="src/android/LibraryProject/res/values/arrays.xml" target-dir="res/values"/>
|
||||
<source-file src="src/android/LibraryProject/res/values/colors.xml" target-dir="res/values"/>
|
||||
|
||||
Reference in New Issue
Block a user