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

Add Comment

Computer Programming Articles

1. Beyond Ticketing: Using Laravel And N8n To Automate Customer Onboarding Workflows
Author: Andy

2. Top Web Development Institutes In Bhopal: Turning Ideas Into Code
Author: Kabir Patel

3. Software Testing Tutorial: Learn Manual And Automation Testing With Easy Examples
Author: Tech Point

4. Ultimate Yii Framework Tutorial For Building Powerful Php Websites
Author: Tech Point

5. Java Job Support: Real-time Assistance For Developers To Succeed
Author: RKIT Labs Team

6. Unlocking Business Growth With Predictive Analysis
Author: Sakhi Kaya

7. What Is A Distributed Environment In Software Development?
Author: Aimbeat Insights

8. A Multi-tenant Admin Dashboard With Laravel And Next.js
Author: Andy

9. How To Choose The Data Science Training In Bhopal For Your Career Growth
Author: Kabir Patel

10. Transform Your Ideas With A Mobile App Development Company
Author: diya

11. Magento 2 Tutorial: Easy Guide To Launch And Manage Your E-commerce Business
Author: Tech Point

12. Joomla Tutorial For Beginners: Learn To Create And Manage Websites
Author: Tech Point

13. Metaverse Gaming: How Blockchain Will Power The Next Virtual Worlds
Author: Severus Snape

14. Building Smarter Businesses With Mobile App Development At Nij Web Solution
Author: app development

15. Building A Scalable Flutter App With Microservices Architecture
Author: Andy

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