2

I'm developing android application for qr code scanner , I tried both Google android barcode API and zxing , but still confused which is better to use , and I have to develope one more application to generate barcode , is there any other library than zxing for generations of Qr code. One app will generate qr code and other app will scan it. Is it beter if I use zxing for both app.

Dharmita bhatt
  • 475
  • 4
  • 16

1 Answers1

4

I would personally use ZXing library for both tasks, I recently was able to successfully implement a simple Qr-Code scanning and generating app quite easily.

Let me know if you need any help with the implementation.

RamithDR
  • 2,103
  • 2
  • 25
  • 34
  • Thanks , Any reference you can provide me would be greatly appreciated. – Dharmita bhatt Aug 27 '16 at 11:22
  • For generating a Qr code this is the tutorial I found similar to mine and 100% working : https://www.youtube.com/watch?v=-vWHbCr_OWM ...for developing the scanner http://code.tutsplus.com/tutorials/android-sdk-create-a-barcode-reader--mobile-17162 or https://www.numetriclabz.com/android-qr-code-scanner-using-zxingscanner-library-tutorial/ I'm not sure how these 2 resources would turn out to be but hit me up if you get any errors in development. – RamithDR Aug 27 '16 at 12:57
  • 5
    If you are thinking of long term support I would recommend Google Barcode Api. As we have seen google keeps introducing APIs that eventually will replace 3rd party API's. For example Robotium getting replaced with Google's Expresso testing framework. – TerNovi Sep 15 '16 at 21:23
  • @TerNovi Your assumption is valid, but may I point out that ZXing is a Google project way back in 2007, and is still receiving regular updates. Google Barcode Api is just as fast and accurate as the ZXing library but has a long way to go. – RamithDR Sep 16 '16 at 04:28
  • @RamithDR Can you send me sample code for Both generating and scanning bar code , actually I am new to android – Ramkesh Yadav Oct 03 '17 at 06:28