Run Google's official zxing QR code scanner

Source: Internet
Author: User

First of all, to download zxing source, because the Zxing service content is relatively broad, we first download all the source code, use the time as needed to load.

or download https://www.oschina.net/question/tag/zxing from open source ChinaDownload the good zip

after extracting the inside file is 

The files we need are already marked, and the core file needs to be packaged into jars, but because Android studio packs the jar is troublesome, so we can download it directly from the Internet, but we need to pay attention to the versionhere we give an address to download the core jar package http://search.maven.org/search zxing after opening

The following list appears

Locate the core and click the version number. Download the jar package then we open Android Studio 

Import Eclipse Project, find Android in Zxing project, import  

then we found that the compilation did not pass because there were also jar packages and some files were not imported We import the downloaded core jar package into the project

then right-click, as Class Library, add to Project

 Finally, we need to copy the Cameraconfigurationutils file under the Android-core file to the directory 

 then we can run the zxing official QR code scan. But we need to transform this program into its own QR code scanner as needed.     

Run Google's official zxing QR code scanner

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.