QR Code sharing with multiple QR Codes

This commit is contained in:
Dominik Schürmann committed 2013-10-05 23:32:47 +02:00
1 parent 05cc2023da
commit 2942d94a29
5 files changed
+225 -11

No files matched your search

@@ -45,7 +45,7 @@ public class QrCodeUtils {
public static Bitmap getQRCodeBitmap(final String input, final int size) {
try {
final Hashtable<EncodeHintType, Object> hints = new Hashtable<EncodeHintType, Object>();
hints.put(EncodeHintType.ERROR_CORRECTION, ErrorCorrectionLevel.H);
hints.put(EncodeHintType.ERROR_CORRECTION, ErrorCorrectionLevel.M);
final BitMatrix result = QR_CODE_WRITER.encode(input, BarcodeFormat.QR_CODE, size,
size, hints);