I recently wrote a QR code scanning software. I 'd like to share some of the problems or experiences in the development process.
Cloud code is my first mobile phone software that I think is the most complete and the most rewarding, although I have previously written some, I feel that the writing is incomplete (because it is not done by myself ). A Brief Introduction to cloud code. Cloud code is a software that can scan QR code, DM code, and barcode. The zx
is: http://qrcodenet.codeplex.comThe qrcode.net no longer uses the http://code.google.com/p/zxing/ZXing port, and the new version will have better performance.The test results are as follows (in microseconds):Input string Length: 74 xEC Performance tests~ qrcode.net:3929 zxing:5221At the same time, Qrcode.net can parse the string and decide whether to use UTF-8
: http://zxingnet.codeplex.com/Zxing.net is a tool for barcode and QR code under the. NET platform, which is very convenient to use.First download the binary DLL file, introduce the project;Using system;using system.collections.generic;using system.componentmodel;using system.data;using System.Drawing; Using system.text;using system.windows.forms;using zxing.qrcode;using zxing;using zxing.common;using ZXing.Rendering ; namespace zxingtest{publi
two-dimensional code files to EPS format.The project address is: http://qrcodenet.codeplex.comThe qrcode.net no longer uses the http://code.google.com/p/zxing/ZXing port, and the new version will have better performance.The test results are as follows (in microseconds):Input string Length: 74 xEC Performance tests~ qrcode.net:3929 zxing:5221At the same time, Qrc
The bar code plug-in is required in the project.
The requirement is relatively simple. Generate a bar code Image Based on a 12-digit number.
Google's zxing has been used for a long time. Due to its powerful functions, simple calls, and a lot of information on the Internet
Later I found that zxing has a disadvantage --Text cannot be displayed
So I want to change the bar code plug-in.
I searched
Written in the first/*The advantage of the Avfoundation native framework is that scanning is particularly fast and efficient, but there may be a problem with not knowing how to limit the scan range.QR code scan for excellent third-party libraries:----ZXing Google launches open source project-----Zbar SDK also has detailed documentation*/Introducing a header file into the framework required for streaming media@import avfoundation;Compliance Agreement A
, but manually add parameters at compile time (trouble)Common scenarios:If you have a reference or code containing C + + in your OC code, change this class to. mm;Example:Error:./zxing/cpp/core/src/zxing/common/counted.h:21:10: ' iostream ' File not foundWhen referring to zxing, #import used the iostream, but it is the following class/iphoneos6.1/user/include/c++
Step by step with Java design to generate two-dimensional codeGo to http://blog.sina.com.cn/s/blog_5a6efa330102v1lb.htmlIn the age of the Internet of Things, the QR code is a very important thing, now no matter what things have to make a two-dimensional code sign, lest the outdated, the policeman did not use two-dimensional code recognition. Perhaps one day zoning card or hukou will be used to identify the two-dimensional code. Today's whim, see others have added two-dimensional code for their b
Java generates two-dimensional code in three ways:1: Using Swetakeqrcode to generate two-dimensional code in a Java projecthttp://swetake.com/qr/or Http://sourceforge.jp/projects/qrcode/downloads/28391/qrcode.zip.This was written by the Japanese and generated by our common square QR code.Can be used in Chinese such as: 5677777GHJJJJJ2: Use barcode4j to generate barcodes and QR codesBARCODE4J Website: http://sourceforge.net/projects/barcode4j/BARCODE4J is a two-dimensional code generation algorit
Android Project development QR Code scan
QR Code scan project based on Android platform to view results and link URLsTools/Materials
Zxing
Eclipse
Method/Step
NBSP; First you need to use the zxing and Core.jar files provided by Google, you can download
Unzip zxing, and import the Android folder as an item into ec
turn from: http://www.mamicode.com/info-detail-350727.html . NET uses zxing.net to generate middle-band picture two-dimension time: 2014-12-04 00:59:31 reading: 101 Comments: 0 Favorites: 0 [Point my collection +]
A long time ago wrote such a code, but has not been recorded, accidentally wanted to write a blog.
Encapsulate the previous code into functions to facilitate understanding and invocation.
Based on the open source Zxing.net component, the code is as follows:
Add a reference to the Zxin
One. Use 3 jar packages.Zxing-core-1.7.jar,zxing-j2se-1.7.jar,qrgen-1.2.jar: http://download.csdn.net/detail/jiazhipeng12/8442665public class Main {/*** Generate a two-dimensional code* @param args* @throws unsupportedencodingexception*/public static void Main (string[] args) throws Unsupportedencodingexception {String content= You;Bytearrayoutputstream out = qrcode.from (content). to (Imagetype.png). Stream ();try {FileOutputStream fout = new FileOut
reference to a third party jar package, compared to Pattern II development, in addition to the use of XML operations jdom, outside of a Google zxing two-dimensional Code pack and log4j package. The following figure:In order to facilitate debugging, we recommend that you first in this environment down and then transplanted to the real project.
Second, the development of actual combat
Before I do, I suggest that you go to the official document to tak
:
Zxing API
QRCode
Juqeryqrcode
Of course, it must be jquery's way to generate QR codes is relatively simple. But if you want to customize the style and shape of the two-dimensional code . It is more flexible to use Java as a way to build. (Example: Put a logo in the middle of the QR code)
Download the resource jar package that generates the QR code: Img.mukewang.com/down/5799a5440001040300000000.rar
Using jquery to generate a two-dim
This article describes in detail how php generates an Android client to scan the QR code that can be logged on. It has some reference value, interested friends can refer to the examples in this article to share with you the QR code generated on the php web page, Android Client Scan and login specific code for your reference, the specific content is as follows
The ZXing open-source library with code scanning function on Github is used, and the web API
Holoeverywhere
Nineoldandroids
Preferencefragment
Support Library
Bar code
Android Barcode Generator
BarCode Fragment
Zbar
ZXing
Build the System
Apache Ant
Apache Maven
Buck
Gant
Gradle
Leiningen
SBt
Press button
Android Circle Button
Android-bootstrap
Circular Progress Button
Flat Button
Process Button
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.