I want to make an Android app by using ZXing. Can anyone tell me how to use the core library, or anyone know how to use the core library to build a barcode scanner?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You need to call Zxing intent in your Activity and relax.
First add code to invoke the Intent:
Second, add this to your Activity to handle the result:
Invest your time to go through wiki page of Zxing.They have explained it very nicely.
http://code.google.com/p/zxing/w/list
http://code.google.com/p/zxing/wiki/ScanningViaIntent
Here is sample application demonstrating how to call Zxing intent.
http://code.google.com/p/zxing/source/browse/trunk/androidtest/src/com/google/zxing/client/androidtest/ZXingTestActivity.java
Finally Test Project + Library is located at
http://code.google.com/p/zxing/source/browse/trunk#trunk%2Fandroid-integration%253Fstate%253Dclosed