First, download zxing.net
Address is: http://zxingnet.codeplex.com/releases/view/117068
The corresponding version of the. dll is then dragged into the project and then referenced.
Mainly with Barcodewriter, Barcodereader.
Second, generate
1,CaptureActivity extends Activity implements SurfaceHolder. Callback
CaptureActivity is the first Activity to be started.
2,
Public void surfaceCreated (SurfaceHolder holder ){If (! HasSurface ){HasSurface = true;InitCamera (holder );}}
Call
Mo daochang is early and has more early pedestrians.
Barcode preview is not just as simple as the above two articles. There are other processing methods, such as flash, zoom-in, and optimal preview sizes. This does not affect your understanding of
Copy codeThe Code is as follows: private void button#click (object sender, EventArgs e)
{
If (string. IsNullOrEmpty (this. textBox1.Text. Trim ()))
{
MessageBox. Show ("enter the information to be converted! ");
Return;
}
String content =
Change the cameraconfigurationmanager. Java File
Add log. D (TAG, "Screen Resolution:" + screenresolution );Point screenresolutionforcamera = new point ();Screenresolutionforcamera. x = screenresolution. X;Screenresolutionforcamera. Y =
One of the features I commonly see requested for Android applications is QR code reader or barcode internal integration. some native Android applications actually use an external application for QR code/barcode scanning. that, as far as I know, is not an option at the moment in air on Android. however, thanks to the open source zxing library, some direction from Amer dababneh and a blog post by Michael B, I was able to create basic sample flex-based m
Android support library for barcode scanning and Recognition
Android supports barcode scanning. However, if you do not have a real machine, you cannot understand whether this function is an application or an API call function. However, you can find a free and open-source Android code processing library on the Internet. See:
Http://code.google.com/p/zxing
It can be installed on Android as an application. For details, see:
Http://code.google.com/p/
Preface
Series of articles:[Portal]
I have been idle for weeks. No, no. Blog, I don't know when you will change it. I will not forget you. Well, I will also update it on the OS and csdn. Every day, no matter how useful or useless.
Body
The main body of this article is to start with a project, with clear requirements in the project.
Scan the QR code to implement the sign-in function.
Naturally, it is linked to the app. It's okay. Let's take a step.QR code
A QR code (QR code), also known as a two-
Recently want to develop a simple program based on Android Barcode plugin, but in the network can not find a simple Demo, so in English website https://code.google.com/p/zxing/) Find ah, find Ah ~ I finally figured it out. It was so simple, but the troubleshooting process was quite tangled ~ So remember it here.
1. Download required resources
110000barcodescanner4.4.apk this software is usually pre-installed on our devices, but if not, it needs to be
Android Support library for scanning and identifying barcodesAndroid supports scanning barcodes. But there's no real machine in hand, and I can't understand whether the feature is an application or an API-calling feature. But find a free Open-source Android library that handles barcodes on the Internet. See:Http://code.google.com/p/zxingCan be installed on Android as an application, see:http://code.google.com/p/zxing/wiki/GettingStartedAlternatively,
Today we are going to talk about the most commonly used technology in mobile field--two-dimensional code. Now the streets, major sites have two-dimensional code traces, whether it is iOS, Android, WP has related support software. Before I wanted to know how the two-dimensional code is working, recently because the work needs to use the relevant technology, so do a preliminary understanding. Today is mainly about how to use the Zxing library to generat
Original URL: http://www.cnblogs.com/mythou/p/3280023.htmlToday talk about the current mobile domain is a very common technology-QR code. Now the streets, the major sites have two-dimensional code traces, whether it is iOS, Android, WP have relevant support software. Before I wanted to know how the QR code works, recently because the work needs to use the relevant technology, so did a preliminary understanding. Today, we mainly explain how to use the Zxing
Today talk about the current mobile domain is a very common technology-QR code. Now the streets, the major sites have two-dimensional code traces, whether it is iOS, Android, WP have relevant support software. Before I wanted to know how the QR code works, recently because the work needs to use the relevant technology, so did a preliminary understanding. Today, we mainly explain how to use the Zxing library to generate and identify QR codes. This arti
Comparison of open-source tools for generating QR codes (with source code), comparison of open-source tools with source code
One day, zxing was found to be slow. As a result, it was found that there were three common open-source tools:
Zxing (zxing. dll)
ThoughtWorks (ThoughtWorks. QRCode. dll)
QrCodeNet (Gma. QrCodeNet. Encoding. dll)
Which one is better
An example of recognizing the ISBN number of a book and outputting the query results
I wrote a technical prototype, used a mobile phone to identify the ISBN barcode of a book, and then output the information of the book corresponding to the ISBN through the API of douban.com.
The example is simple. Click a button to enter the zxing activity, which is used to scan the ISBN number of the book.
Some problems still occurred this time when zxing's scanni
Generate QR code and QR code generator
1. Use the zxing provided by google to generate a QR code without a logo
Public static void main (String [] args) {try {// String contet = "http://izhongwei.github.io/blog/index.html"; // QR code generation path String path = "E :"; multiFormatWriter multiFormatWriter = new MultiFormatWriter (); Map hints = new HashMap (); hints. put (EncodeHintType. CHARACTER_SET, "UTF-8"); BitMatrix bitMatrix = multiFormatWrite
C # code operation [Source Code download ],
This article describes how to generate and read a QR code and a QR code through C.Directory
1. Introduction: This section describes the classification of bar codes and the ZXing. Net class libraries.
2. One-dimensional code operation: Includes generating and reading one-dimensional code.
3. QR code operation: Includes generating and reading QR codes and generating QR codes with logos.
4. Source Code download
C # how to generate a QR code (including decoding)
Using System;
Using System. Collections. Generic;
Using System. ComponentModel;
Using System. Data;
Using System. Drawing;
Using System. Linq;
Using System. Text;
Using System. Windows. Forms;
Using System. Collections;
Using com. google. zxing; // download from the Internet
Using System. Text. RegularExpressions;
Using ByteMatrix = com. google. zx
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.