After Android uses Zxing to scan the QR code and change it to a portrait screen, the preview screen is stretched and distorted.
Perfect solution: After Android uses Zxing to scan the QR code and changes it to a portrait screen,
Use a QR code to automatically differentiate between iOS and Android, and even differentiate between iphone and ipad.Transferred from: http://www.cnblogs.com/pengxl/p/3476588.htmlUse a QR code to automatically differentiate between iOS and
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"> /** Smartp
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 Zxing QR code scanning image stretching,
In this project, the QR code scanning is integrated with zxing, and the image on the scanning interface is obviously stretched and deformed.
Based on past experience, this problem is generally caused by misplacement of x and Y
After reading the QR code today, I felt good. I also collected a demo, saying that the demo was actually modified based on the basic functions.
1. Set up the environment. The required jar packages include
Here is the online reference demo.
Where
To make modifications based on the original and open-source packages.
2. QR c
Android open-source QR code recognition project zxing landscape screen changed to vertical screen recognition solution, androidzxing
I found a lot of methods on the Internet, but there was a problem in the end. After debugging for several hours, I finally solved the problem of portrait screen recognition perfectly.
First, you need to have the simplified
First, for "multi-terminal adaptation" "App internationalization"Assume that the URL for the previous page file is: http://www.XXX.com/app-install/terminal-language.htmlThen you can generate a two-dimensional code through the URL , scan the QR code, different terminal, language version of the specific, by the terminal-language.html automatically identify and jum
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 camer
Android Zxing QR code flash adding Function
This mainly modifies the CameraManager class under the. zxing. camera package in Zxing.
The switch code is added to CamereManager.
// Provide public void flashHandler () {// camera. startPreview (); Parameters parameters = camera. getParameters (); // determine the curren
Continue on an article, develop the image QR code recognition function, our performance analysis of the function of memory consumption significantly improved, do not use the function memory consumption is about 147M, using this feature many times later, up to 203M.Therefore, the function of the study, found that each generation of images are not immediately released, resulting in in-memory images continue t
QR code scanning:
1.ApacheLicensing 2.0Open-sourceZxingSimplified project versionHttp://xinlanzero.iteye.com/blog/1114826 (the lack of core. jar in the author's project needs to be downloaded by yourself)
2. Another article aboutApacheLicensing 2.0Open-sourceZxingProject, the author has compiled core. jar for download http://www.cnblogs.com/tankaixiong/archive/2010/10/31/1865807.html
Import the core. jar
in the article "javaandroid open Source Library code anatomy" のandroid-smart-image-view, we mention Android-async-http This open source Library, this article formally begins to detail this library's realization, simultaneously unifies the source
Using source code to compile the Java class Library of Android system1. Writing Java projects and android.mk files
├──android.mk
└──src
└──com
└──lhw
└──framework
└──led
Led.java file
Package com.lhw.framework.led;
/**
* LED Operation Library
* @author Micky L
Scanned library application source code for android and scanned for android
Books are the soul of mankind.
Scanning books is an APP that lets you know how to select a book.
Here you can scan the bar code to query books,
You can also search for keywords to mee
Android text message source code dependent library and runable source code
The text message module function is required for the new project. The text message module is an open-source framework dominated by 360 Zhang Yong, which is not an android text message module.
Step 1:
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.