' implementation ' cn.yipianfengye.android:zxing-library:2.2 '}Demo in a total of three layout two Class A picture I named scan defines a color resource1. Open Colors.xml Add resources2, copy pictures scan.png to drawable3, hands-on a interfaceThe name Activity_camera.xml layout is: QR Class Code:Package Com.example.administrator.qr;import Android.content.intent;import Android.support.v7.app.appcompatac
Now many apps are integrated sweep sweep function, most commonly used, QQ, mobile assistant and so on. QR Code also makes life more concise, sweep the order, sweep the download and so on. So, speaking of QR code, we have to mention Google an open-source code-scanning framework: zxing.Open Source Download: http://code.google.com/p/zxing/Zxing is an open source library based on a variety of 1d/2d barcode proc
Recently, the company made an OTP token activation product. Because the mobile phone token was activated before, a lot of activation information needs to be entered for activation. After a period of use, it is found that the ease of use is not very strong, consider if you add the QR code scanning function does not greatly increase the ease of use. I found a lot of information on the Internet. If it weren't for too many configurations, or the amount of
More and more mobile phones are equipped with auto-focus shooting functions, which also means these mobile phones can have bar code scanning functions ....... the mobile phone has the bar code scanning function, which can optimize the shopping process and quickly store e-business cards (QR codes.
This article uses ZXing 1.6 for bar code/QR code recognition. ZXing is a very classic bar code/
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 code, however, the official website with a logo does not provide a demo. The following describes how
Because of the introduction of the QR code into our lives, and more and more people are playing their own imagination to use it to facilitate our lives, I have heard a joke, when we die, Tombstone no longer have an epitaph, but will appear a record of your life information of the QR code, when people come to your tombstone, You can see your life's exploits with a sweep of your mobile phone. This is not very
QR code scan Android Zxing image stretching Solution
Zxing is a QR code scanning project provided by google.
By default, the image is stretched after the screen is converted to a portrait.
The solution is as follows:
Zxing modifies
Void initFromCameraParameters (Camera camera) Method
Add Log. d (TAG, "Screen resolution
Recent work needs to develop a QR code scanning software (based on open source project zxing), the problems encountered in the record, but also hope to bring you help.1. First because the scan to open the camera so add permission is certain, otherwise nothing can be done behind2. Set the size of the scan box:Find in the Com.zxing.camera packageprivate static fina
A new user guide library in the scan box style on Android and a new android user
Introduction
This is a new guide to the scan box style. The effect is as follows.Use Gradle
compile 'com.yanzhikaijky:YGuider:0.9.2'
Supported features
Currently, only one scan box guide is
Practical Android skills-Maven compilation of the open-source QR code scanning project zxing
Having your own mobile phone software toolbox is very meaningful. For the current domestic Android ecosystem, Chaos cannot be disrupted. Because we can't log on to the App store on the official website, we have to download the software from various Chinese software market
Practical Android skills: Maven compilation of open-source QR code scanning projects zxing and mavenzxing
Having your own mobile phone software toolbox is very meaningful. For the current domestic Android ecosystem, Chaos cannot be disrupted. Because we can't log on to the App store on the official website, we have to download the software from various Chinese s
This article from http://blog.csdn.net/hellogv/, reference must indicate the source!
More and more mobile phones are equipped with auto-focus shooting functions, which also means these mobile phones can have bar code scanning functions .......The mobile phone has the bar code scanning function, which can optimize the shopping process and quickly store e-business cards (QR codes )..
This article uses zxing 1.6 for bar code/
(R.ID.BTN_CREATEQR). Setonclicklistener (New View.onclicklistener () {@Override public voi D OnClick (View v) {Bitmap Bitmap = new Qrcreator (). Createqrimage ("This is a test string", $, Bitmap Factory.decoderesource (Getresources (), r.mipmap.ic_launcher));//Bitmap Bitmap = new Qrcreator (). Createqrim Age ("This is a test string", (+), and null); Bitmaputil.write2file (bItmap, Environment.getexternalstoragedirectory () + "/fuck.png"); App.toast ("Create complete!");
Android----QR code developmentFirst, the toolGoogle's zxingWhichever version is good, 1.6 versions and 1.7 versions are recommended.Second, how to use2.1, first download the compressed package2.1. After decompression, the catalogue is as follows. We only need the "Android" and "core" two files.2.3. Import the Android f
Use a QR code to automatically differentiate between iOS and Android, and even differentiate between iphone and ipad.HTML> Head> Metahttp-equiv= "Content-type"content= "text/html; charset=utf-8" /> title>Two-dimensional code downloadtitle> Scripttype= "Text/javascript"> /** Smartphone Browser version information: **/ varBrowser={versions:function() {
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.