QRCodeWriter mYQRCodeWriter = new QRCodeWriter() // throws īitMatrix crunchifyBitMatrix = mYQRCodeWriter.encode(m圜odeText, BarcodeFormat.QR_CODE, size, Object put = crunchifyHintType.put(EncodeHintType.ERROR_CORRECTION, ErrorCorrectionLevel.H) Now with version 3.4.1 you could change margin (white border size)ĬrunchifyHintType.put(EncodeHintType.MARGIN, 1) /* default = 4 */ Map crunchifyHintType = new EnumMap(EncodeHintType.class) ĬrunchifyHintType.put(EncodeHintType.CHARACTER_SET, "UTF-8") String filePath = "/Users/app/Document/" * Simple QR Code Generator Example - Create QR codes for free. Here is a simple Java Code which generates QR code for you. However the project can be used to encode and decode barcodes on desktops and servers as well. Our focus is on using the built-in camera on mobile phones to scan and decode barcodes on the device, without communicating with a server.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |