Java development_ Generate / parse your own QR code QR code
•
Java
When I saw a tool for generating QR code, I came up with an idea:
Why not make a QR code generation and analysis tool? It took more than an hour. Hey, hey, it's done
You can download it here:
ZXing-2.1. zip:
Get:
zxing-2.1\core\core. jar
zxing-2.1\javase\javase. jar
2: Add it to your project:
BLACK = 0xff000000 WHITE = 0xFFFFFFFF QRCode test = File file = File("C://test.png" hints) throws WriterException { test.encode("helloworld,I'm Hongten.welcome to my zone:http://www.cnblogs.com/hongten",file,BarcodeFormat.QR_CODE,200,