Write at the top (this is an update to the previous blog post on "Android using zbar QR code Scan")Project download Zbarlib compile project project download 0 pointsBugIn 2.3 of the system holder need to set type, otherwise it will be black screen (thanks to the Netizen "(Α⒎ to Sんа) 294439435")Com.example.qu.MainActivity the 50th row of Mholder.settype (surfaceholder.surface_type_push_buffers);Found todayT
Call the System album scan to return a rusult, and then through the input text to achieve the function of the two-dimensional code generation.First step Download a zxing third party packageThen initialize the controlActivity_main.xmlLayout fileAndroid:layout_width= "Fill_parent"android:layout_height= "Fill_parent"Android:background= "@android: Color/white"android:orientation= "Vertical" >Android:id= "@+id/b
Android uses the zbar QR code scan and androidzbar
Source code download
In the past, zxing was used for development, and various strange issues, such as horizontal screen repair, were not implemented in terms of performance. After being tested and approved, I cannot change zbar. Performance is much better.
Look at the effect.
2. Search box on the Interface
/*
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
ProgramHttp://www.apkbus.com/android-20953-1-1.htmlAndroid Weather Plus widget sourceHttp://www.apkbus.com/android-20950-1-1.htmlAndroid Compass ProgramHttp://www.apkbus.com/android-20949-1-1.htmlAndroid Personal Accounting Program source codeHttp://www.apkbus.com/android-20940-1-1.htmlAndroid Game's Heartbeat effectH
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
-20950-1-1.htmlAndroid Compass ProgramHttp://www.apkbus.com/android-20949-1-1.htmlAndroid Personal Accounting Program source codeHttp://www.apkbus.com/android-20940-1-1.htmlAndroid Game's Heartbeat effectHttp://www.apkbus.com/android-20939-1-1.htmlAndroid PDF Reader Source codeHttp://www.apkbus.com/android-20858-1-1.ht
Http://www.cnblogs.com/dolphin0520/p/3355728.htmlNow walk in the streets can see two-dimensional code, and recently because of the project needs, so research the next two-dimensional code development of things, open source QR Code scanning library mainly has zxing and Zbar,zbar in the IPOs platform application more mature, and on the
Android-based zxing QR code generation and Identification
QR code:
The data symbol information is recorded using a certain black/white image distributed on a plane (two-dimensional direction) according to a certain rule;
In code compilation, the concept of 0-bit and 1-bit streams that constitute the Logic Basis of the
Android Read and NetEase music function source650) this.width=650; "src=" Http://www.apkbus.com/data/attachment/forum/201710/24/110530crnxz23qlnsyh6x0.gif "alt= "Android Read and NetEase music function source code"/>Android with waterfall flow show beautiful pictures source650) this.width=650; "src=" Http://www.apkbus.
net.sourceforge.zbar package and inside the Java file copied to your project java directory, the approximate structure is as follows:Of course you also use the source code like this, you can also pack these classes into a jar package.Call Zbar to identify the QR codeNow that all has been compiled and the jar file is available, we can call the encapsulated method in the jar to identify the QR code:byte [] ImageData = ...; image
The usage of the Android SDK V1.0 is described in the following code:The Android SDK of GPRS inter is designed to develop and use Jiabo printers on the Android platform faster and more efficiently. If you encounter problems in using the SDK or find bugs, please feel free to contact me, send email to MrAladin@163.com1. Download the GPRS intersdk
? Current = down o
photostream http://code.google.com/p/apps-for-android/Alien3d logo Android 3D Game Engine alien3d http://code.google.com/p/alien3d/Winamp remote Android server images andrico http://code.google.com/p/andrico/Android applications manager http://sourceforge.net/projects/aam/Java 3D graphics engine catcake http://code.go
Here is a brief introduction to the Zxing library. Zxing is an open source, Java-implemented 1d/2d barcode image processing library, which contains ports that are contacted in other languages. Zxing can achieve the use of mobile phone's built-in camera to complete the barcode scanning and decoding. The project can be implemented by barcode coding and decoding. Th
The printer used is a good Bo printer, support Bluetooth, WiFi, USB I am using Bluetooth to connect.
On the internet to find a good Bo official for Android development of the app source code, but a variety of jumps, did not see too understand, so again to ask Niang, found a good article
Android for Bluetooth development from the 2.0 version of the SDK to suppor
Android generates a QR code with an image,
I. Problem Description
In development, we need to convert the information into two-dimensional code storage and require the company logo. We know that Google's Zxing open-source project can help us to generate and parse the barcode and two-dimensional
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.