We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c259a5c commit 862f5a9Copy full SHA for 862f5a9
Android/BarcodeScanner/README.md
@@ -55,6 +55,25 @@ A full example could be:
55
alert("Scanning failed: " + error);
56
}, {yesString: "Install"}
57
);
58
+
59
+## Encoding a Barcode ##
60
+Supported encoding types:
61
62
+* TEXT_TYPE
63
+* EMAIL_TYPE
64
+* PHONE_TYPE
65
+* SMS_TYPE
66
67
68
+A full example could be:
69
70
+ window.plugins.barcodeScanner.encode(BarcodeScanner.Encode.TEXT_TYPE, "http://www.nytimes.com", function(success) {
71
+ alert("encode success: " + success);
72
+ }, function(fail) {
73
+ alert("encoding failed: " + fail);
74
+ }, {yesString: "Install"}
75
+ );
76
77
78
## BUGS AND CONTRIBUTIONS ##
79
The latest bleeding-edge version is available [on GitHub](http://github.com/ascorbic/phonegap-plugins/tree/master/Android/)
0 commit comments