This article transferred from: http://www.trinea.cn/android/android-open-source-projects-excellent-project/The records of the project are mainly based on the project interesting or the project layering standard is better.LinuxProject Address: Https://github.com/torvalds/linuxAndroidProject address: https://android.googlesource.com/or https://github.com/androidAbove two items, not explained(1) ZXing QR code scanning ToolProject address: https://github.
The latest business development QR code recognition function, this function, in many applications, such as long press image identification QR code, if there is a recognizable QR code in the picture, you can add an option to identify the two-dimensional code. So how to implement this function. Here is actually very simple, the first two-dimensional code to identify the image, the recognition results returned when the judge whether there are two-dimensional code, there is an increase in the identi
: 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;Code:C # code
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 Zxi
there are two dimensional code, then there must be a one-dimensional code.
One dimensional code. The most common is the bar code behind Food books.
The barcode originated with the the 1940s, later in 1970 the UPC code was invented and began to be widely used with food packaging.
The specific introduction can look at Baidu encyclopedia one dimensional code.
The two-dimensional code is essentially similar to a one-dimensional code, just like a one-dimensional array and a two-dimensional arra
Here to introduce the next two-dimensional code introduction
The two-dimensional code (2-dimensional bar code) is a Black-and-white graphic recording data symbol information which is distributed in a plane (two-dimensional direction) by a certain geometry. The concept of "0", "1" bit flow that forms the basis of the internal logic of the computer is cleverly utilized in code compilation, Uses a number of geometric shapes corresponding to the binary to represent literal numeric information. Auto
I. OverviewZxing can be recommended for third-party libraries such as barcode4j or zxing.BARCODE4J Profile Link: http://barcode4j.sourceforge.net/Zxing Profile Link: https://github.com/zxing/zxingSecond, barcode4jKey code:New Datamatrixbean (); Final int dpi = += "Image/png"newnewfalse, 0The supported barcode formats are:
Interleaved 2 of 5
ITF-14
Code 39
Code 128
EAN-128, gs1-128 (
In order to complete the homework assigned by the teacher, we investigated the open source two-dimensional code recognition library. I only checked the zxing, Zbar, which zxing in my machine compile debugging pass, but the effect is not ideal, so changed the Zbar use. (My small partner found the open Source Library of Zxing Mobile end, and debug successfully, I w
I'll teach you step-by-step. Generate two-dimensional code with Java design
In the era of the Internet of things, two-dimensional code is a very important thing, and now no matter what things must be a two-dimensional code signs, lest outdated, the cops did not use two-dimensional code to identify. Perhaps one day zoning card or hukou will be used to identify the two-dimensional code. Today's whim, see others for their blog added two-dimensional code, I also want to do a test.
Mainly used to a
Insert picture in QR two-dimensional code
Two-dimensional code finally fire, now the streets and the size of the ads on the two-dimensional code tags are everywhere, and most of them are not simple two-dimensional code, but the middle of the two-dimensional icon of the two-dimensional code.
I did a previous use of Google Open source project zxing implementation of two-dimensional code, one-dimensional code encoding and decoding of the program and op
The simplest scan generates a two-dimensional code
One Goal,one passion!
Now the app scan two-dimensional code is almost standard, and scanning two-dimensional code demo is a dime a mile. But almost all of them are big pieces of copy many classes. And it is very cumbersome to use. I've been very bad at it all the time. And sometimes it's not used. It finally simplifies one of the most simple demos I've ever seen in my own time.
1th Step:
Prepare for work-– of course,
Java generated QR code there are many ways, I now use the Google zxing way1, join the zxing package, I use the MAVEN build projectDependency> groupId>Com.google.zxinggroupId> Artifactid>CoreArtifactid> version>3.2.0version>Dependency>2, the use of zxing development also requires a class, the code is as follows Public Final classMatrixtoimagewriter {Priva
choe=
false
The encoding format of the data in the QR code, the main available formats are: utf-8 ( Default), Shift-jis,iso-8858-1
Chld=
False
Error_correction_level: The level of fault tolerance is four levels, respectively: L,m,q,h representationMargin: The resulting two-dimensional code picture and border margin, but here does not have to be like the expression, but the line. Default 4
We're using Google's API to gene
;
The system above v7-->actionbar-->2.1 can support
Android sdk->actionbar-->3.0 above phone support
V4 V7 V13
V4: Compatible with API Level4 (Android 1.6)
V7: Compatible with API Level7 (Android 2.1)
V13: Compatible with API Level3 (Android 3.2)
QR code, historic stuff.
Using the zxing package, QRCode
The simplification of two-dimensional code
It was a long time ago. The simplification of the
Mutual Tuning
Https://github.com/marcuswestin/WebViewJavascriptBridge
XMLReader
As its name
Https://github.com/amarcadet/XMLReader
Yaml-cpp
As its name is YAML's CPP parser
https://code.google.com/p/yaml-cpp/
Yasm
A completely rewritten NASM compilation
http://yasm.tortall.net/
Zlib
Everybody knows that. Compression Solution Engross
www.zlib.net/?
.
The project address is: http://qrcodenet.codeplex.com
Qrcode.net no longer uses the http://code.google.com/p/zxing/ZXing port, the new version will have better performance.
The test results are as follows (microseconds):
Input string Length: 74
EC Performance 1000 tests~ qrcode.net:3929 zxing:5221
At the same time, Qrcode.net can parse the string to deter
Java implementation of the two-dimensional code generation of several methods, specific as follows:
1: Using Swetakeqrcode to generate a two-dimensional code in a Java project
http://swetake.com/qr/Download Address
or Http://sourceforge.jp/projects/qrcode/downloads/28391/qrcode.zip.
This is written by the Japanese and produces our common square two-dimensional code.
can use Chinese
such as: 5677777GHJJJJJ
2: Using BARCODE4J to generate barcodes and two-dimensional codes
barcode4j URL: ht
Introduced
The main use of the Goole zxing package, the following given the sample code, very convenient for everyone's understanding and learning, the code is a preliminary framework, the function has to be based on the actual use of perfect optimization.
First step, MAVEN import zxing
Step two, start generating two-dimensional code:
private static final int black = 0xff000000;
private
];component=[string];scheme=[string]; end;Syntax details see source Android sources1.2 Simple exampleThe example is a intent login application "Zxing barcode scanner" with the following syntax:intent: //scan/ #Intent;package=com.google.zxing.client.android;scheme=zxing; end;Set the a label to send the href attribute:Package and host definitions in the configuration file for Android
Android QR code scan source code, android source codeAndroid QR code scan source code Support Platform: Android running environment: Eclipse development language: Java:Http://t.cn/R7HfKOYSource code IntroductionAndroid QR code scan source code runQR code scanning on android
Search for ZXing demo on DU Niang. The first csdn code download is. It is not convenient to directly send a connection, and Du Niang's review of the answer with the connection is t
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.