I like decode QR Code directly in my application, I don't wont to redirect my application to other intent. I try very hard to find any API or Library, from which I can decode QR code, but I am not succeed in it.
Anybody have any idea how can I decode QR code in my application or Library file from which I can decode QR code.
Zxing is an excellent library for QR-codes. You will find what you need there, including an android sample project.
Here is an example how I manage to decode 1D Barcode and 2d QR Codes using Zxing libraryin Android.
QR DECODE
BARCODE DECODE
This code is Working on Android Samsung Galaxy S (Version 2.2). If you want to check different Scan modes check this link: Zxing Intents.java
Best Regards
You can now use the
BarcodeDetector
inside the new Android Mobile Vision APIHere is an example https://github.com/Gnzlt/AndroidVisionQRReader
You can also Use ZBar bar code reader here http://sourceforge.net/projects/zbar/?source=dlp
it's much faster than zxing and much easier to implement.