ALL >> Computer-Programming >> View Article
Qr Code Integration With Andriod Platform
We are using ZXing (pronounced "zebra crossing") image processing libraries to scan QR Code using Android device. The solution involves easy steps to integrate Zxing libraries with Android to direct auto scan of QR Code. We are using Android environment for development that Eclipse Java IDE.
Setp1: Acquire Zxing libray (Zxing 1.7 release bundle) from here (http://code.google.com/p/zxing/downloads/list)
Step2: Extract the zip bundle.
Step3: Create a new Android sample Project in Eclipse for QR Code Auto Scanner Test and set target to Android 2.2 SDK version.
Step4: Locate Android folder from the extracted bundle and pick CaptureActivity.java source file.
Step5: Also locate Core folder and import the source into the above sample project.
Step6: Change the package name of above CaptureActivity.java file to match the above sample project package structure.
Step7: Design a sample page with a SCAN button to add to the above sample project.
Step8: Add navigation to SCAN button click event as shown below
Intent scanner = new Intent(QRCodeAutoScannerTest.this, CaptureActivity.class); ...
... startActivity(scanner);
Step9: Change the existing manifest file to add the below filters
android:name="android.intent.category.BROWSABLE"/>
android:name="android.intent.category.BROWSABLE"/>
android:name="android.intent.category.BROWSABLE"/>
Add Comment
Computer Programming Articles
1. Delhi’s Wordpress Wizards: Top Development Companies To Watch In 2024Author: Unziplogic
2. Top Wordpress Seo Plugins To Boost Your Website’s Performance In 2024
Author: Rocket Press
3. Business Efficiency Through It Managed Services & Outsourcing
Author: Entrust Network Services
4. Explore The Top 7 Steps Of Developing Custom Gpt For Your Business
Author: Sonu Kumar
5. What Makes A Good Website? 5 Simple Tips For Small Businesses
Author: Yoggendar Shinde
6. How To Develop A Taxi Booking App? Types, Features, And Cost Estimations
Author: DC Kumawat
7. The Evolution Of App Development: Trends And Innovations Shaping The Future
Author: Backend Brains
8. How Much Cost Is Java Foundations Certification In Bhopal?
Author: Shankar Singh
9. Elevate Your E-commerce Game With Alvi Software’s Shopify Development Services
Author: Jeet Hanani
10. How App Development Companies Are Revolutionizing Industries In 2024
Author: Backend Brains
11. Latest & Ecommerce Technologies & Trends In 2024
Author: SpryBit Softlab
12. Elevate Your Tech Team: The Impact Of Hiring Top Node.js Programmers
Author: sanjay
13. Which Is The Best Institute For The Java Aadhaar Foundation Course In Bhopal?
Author: Shankar Singh
14. Boost Your Business Efficiency With Apptrop’s Industry-specific Tools
Author: apptrop
15. How Java Language Is Important In Programming?
Author: Java Learning Center