123ArticleOnline Logo
Welcome to 123ArticleOnline.com!
ALL >> Computer-Programming >> View Article

Qr Code Integration With Andriod Platform

Profile Picture
By Author: etisbew etisbewcorp
Total Articles: 42
Comment this article
Facebook ShareTwitter ShareGoogle+ ShareTwitter Share

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"/>

Total Views: 290Word Count: 322See All articles From Author

Add Comment

Computer Programming Articles

1. Which Is The Best Programming Language To Build A Mobile App?
Author: DianApps

2. Explore Career Growth With The Best Business Analytics Courses In Bhopal
Author: Rohan Rajput

3. From Zero To Hero: Python Pygame Tutorial For Aspiring Game Developers
Author: Tech Point

4. Beginner’s Python Pytorch Tutorial: Start Your Ai Journey Today
Author: Tech Point

5. Top 10 Cloud Security Threats And How To Prevent Them
Author: GIGABITTechnologies

6. Error Code 30174-45 In Office 365/2019/2021 In Windows 10/11
Author: jamess

7. Complete Python Tkinter Tutorial: Master Gui Programming Easily
Author: Tech Point

8. Unlock Your Data Skills With The Best Business Analytics Courses In Bhopal
Author: Rohan Rajput

9. Clinic Management Software: Features, Benefits, And How To Choose The Right One
Author: Agness Ruth

10. Top Training Institutes For The Best Business Analytics Courses In Bhopal
Author: Rohan Rajput

11. Why Is The Cloud Networking Solution Important For Any Business?
Author: GIGABITTechnologies

12. Pros And Cons Of Having A Design System
Author: brainbell10

13. Discover The Best Business Analytics Courses In Bhopal To Elevate Your Career
Author: Rohan Rajput

14. Exploring Decentralized Exchange Development
Author: davidbeckam

15. How Decentralized Exchanges Make Crypto Trading Better
Author: davidbeckam

Login To Account
Login Email:
Password:
Forgot Password?
New User?
Sign Up Newsletter
Email Address: