Skip to content Skip to sidebar Skip to footer

How To Use Zxing Library Without Installing Barcodescanner App

I have been developing an android app to scan the barcode and QR code and send the results to some other application (HTTP). I have read most of the documentation over internet and

Solution 1:

I found "zxing" complicated to use. Then I tried with "ZBar Android Version Library". It was so simple. You can download the library from here: http://sourceforge.net/p/zbar/news/2012/03/zbar-android-sdk-version-01-released/

Within the downloaded package, there is a very simple example. Just follow it or include the example to your app. Hopefully your task will be done.

Solution 2:

You are showing that you want to integrate by Intent. That's the recommended way to do it, and you can make it even easier, and restrict the list of apps that reply with IntentIntegrator. It's about 5 lines of code: https://code.google.com/p/zxing/wiki/ScanningViaIntent

However this contradicts what you're saying about wanting to implement the scanning in your app. You should clarify what you want.

If that's the case, you need to build your own scanning app, and reuse core.jar and perhaps bits of Barcode Scanner in android/. This is not supported -- you're on your own. Please don't clone our app.

Post a Comment for "How To Use Zxing Library Without Installing Barcodescanner App"