开发者

QR Reader in android

I want to integrate QR Reader in my android app without integrating third party tool and also need auto scan feature .I reviewed few tutorials using zxing libra开发者_如何学Gories but scanning is not done in them.It generally captures image to sdcard and then access it and which doesnt give result every time.... Please help experts .


If you want to Integrate QR reader which is not a third party tool, then i suggest download the Zxing code which is an open source.

  1. Call the activity which initiates the scan, from your app activity.

  2. Regarding saving to the sd card, Zxing doesn't do that, it analyzes the image in focus and tried to find the match until the activity is cancelled or a match is found.

  3. Have a look at ZXing QR reader app before you can integrate it in yours.

I have integrated the ZXing QR reader successfully and it works without a problem. Requires some effort though. Good luck.


Take a look at the Zxing Barcode Scanner app, which does QR Code decoding with auto scanning. I'm sure of it, because i used it last week :)

BarcodeScanner.apk

Greetings Ralf


Integrate ZXing's Barcode Scanner app with your app without having to install the app separately.

Step-By-Step Guide


A great alternative is Google's barcode scanner available in the Google Play services through the namespace com.google.android.gms.vision.barcode. It's fast and robust (it does all the parsing locally) and it's all made with just a few classes, giving you full control of the source code. And of course it supports all the standard barcode formats.

A good place to get started is Android QR Code Reader Made Easy. This will get you up and running in no time and you can easily build further upon the code provided or equally easily implement it in your existing project!

Give it a try, I bet you'll love it!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜