Generate a QR code for detailed source code case, detailed source code case
1 download zxing2.1 2. Configuration environment of this Code: eclipse, java1.6, windows8, and zxing2.1 3. decompress the package and import the com folder under core/src in the folder to the eclipse project (the project can be created by yourself, such as QrCode). The figure is as follows: <Ignore_js_op> <Ignore_js_op> Note: In the source code needs to modify its encoding configuration to UTF-8, otherwise the subsequent decoding of the file in the text will be garbled, modify the diagram is as follows: <Ignore_js_op> 163458_hHwC_617085.jpg (269.37 KB, downloads: 0) Download the attachment and save it to the album. Upload four days ago 4 TestEnDeCode. java source code |
5 running results:
<Ignore_js_op>
6 shows the generated QR code:
<Ignore_js_op>
Http://java.662p.com/thread-3705-1-1.html