android : How to use zxing based qr code with inbu

2019-02-20 13:08发布

问题:

Possible Duplicate:
Using ZXing to create an android barcode scanning app

I want to develop something in which the zxing scanner gives me results and i will do the rest of the job.The problem im facing is that most of the answers here give results in which if barcode is not installed ,the program will request permission to install .i want that scanner be inbuilt i just dont want the other functions since the file provided by zxing is a big one Can anyone help with this one

回答1:

Did you tried zxing QR code scanner. It is an open source code which is useful for reading almost all types of bar codes. you can download the source code of zxing from this link: http://code.google.com/p/zxing/source/checkout in this they have clearly specified the how to scan a qr code. Just go through the code. I can also suggest another link that will help you to run the source code: http://www.falatic.com/index.php/12/building-zxing-for-android-part-3-using-eclipse . After that explore the code you can sort it out