Update README.md
This commit is contained in:
parent
8235b80003
commit
7db35b83dc
13
README.md
13
README.md
|
|
@ -10,6 +10,10 @@ To generate encode of QrCode
|
||||||
|
|
||||||
Example -1
|
Example -1
|
||||||
|
|
||||||
|
EncodingZxing.encodeToQrCode(text, size);
|
||||||
|
---------------------------------
|
||||||
|
EncodingZxing.encodeToQrCode("Encoding with zxing", 500));
|
||||||
|
---------------------------------
|
||||||
imageView.setImageBitmap(EncodingZxing.encodeToQrCode("Encoding with zxing", 500));
|
imageView.setImageBitmap(EncodingZxing.encodeToQrCode("Encoding with zxing", 500));
|
||||||
|
|
||||||
Example -2
|
Example -2
|
||||||
|
|
@ -20,15 +24,18 @@ Example -2
|
||||||
dotColor,
|
dotColor,
|
||||||
backgroundColor);
|
backgroundColor);
|
||||||
---------------------------------
|
---------------------------------
|
||||||
|
|
||||||
EncodingZxing.encodeToQrCode("Encoding with zxing",
|
EncodingZxing.encodeToQrCode("Encoding with zxing",
|
||||||
400,
|
400,
|
||||||
400,
|
400,
|
||||||
Color.BLACK,
|
Color.BLACK,
|
||||||
Color.WHITE);
|
Color.WHITE);
|
||||||
|
|
||||||
imageView.setImageBitmap(EncodingZxing.encodeToQrCode("Encoding with zxing", 500));
|
|
||||||
|
|
||||||
To generate encode of PDF417
|
To generate encode of PDF417
|
||||||
|
|
||||||
|
Example -1
|
||||||
|
|
||||||
|
EncodingZxing.encodeToPDF417(text, size, dotColor, backgroundColor)
|
||||||
|
---------------------------------
|
||||||
|
imageView.setImageBitmap(EncodingZxing.encodeToPDF417(text, size, dotColor, backgroundColor));
|
||||||
|
---------------------------------
|
||||||
imageView.setImageBitmap(EncodingZxing.encodeToPDF417("Encoding with zxing", 500, Color.BLACK, Color.WHITE));
|
imageView.setImageBitmap(EncodingZxing.encodeToPDF417("Encoding with zxing", 500, Color.BLACK, Color.WHITE));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue