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: 380Word Count: 322See All articles From Author

Add Comment

Computer Programming Articles

1. How To Optimize Your Web App Development Costs?
Author: brainbell10

2. Google Cloud Data Engineer Course | Gcp Training & Certification
Author: ravinder

3. Less Tutorial: A Complete Guide For Beginners To Advanced Learning
Author: Tech Point

4. Complete Sass Tutorial For Beginners: Master Modern Css Preprocessing
Author: Tech Point

5. Factors For Choosing Restaurant App Development For Your Business
Author: brainbell10

6. How Custom Web Application Development Improves Business Efficiency
Author: Rudram Technology Solutions

7. Flat Design Or Material Design – Which One To Prefer?
Author: brainbell10

8. How To Use Linkedin Market Your Business?
Author: brainbell10

9. 5 Reasons To Choose Business Central
Author: Modern businesses need a connected ERP solution th

10. How To Create A Wordpress Lms Website For Your Employees?
Author: brainbell10

11. Why Every Business Should Conduct Security Awareness Assessments Regularly
Author: Sam Vohra

12. Why Invest In Professional E-commerce Website Development? | Complete Guide For Growing Businesses
Author: Rudram Technology Solutions

13. How To Use Motion Design To Make App Experience Interesting?
Author: brainbell10

14. How To Prototype A Mobile App?
Author: brainbell10

15. Sql Server Tutorial – Learn Database Management With Step-by-step Examples
Author: Tech Point

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