Search code examples
androidzxing

how to import zxing library project for android app in eclipse


check out zxing from Svn reository

then in zxing folder i found several folders ,i don't know which one is used to integrate zxing library in android app,here i am placing the zxing folder after checkout. Zxing folder with several folders


Solution

  • Checkout Integrating the ZXing library directly into my Android application question and answers on Embed Zxing library without using Barcode Scanner app question.

    I'm quoting the answer of Sean Owen, one of the author's of Zxing library from this answer:

    • " The complete source code is available from the ZXing project. You want to build core.jar from core/ and put it in your Android lib/ folder to include the core decoder in your app. You do not want to include javase. You can look to the code in android/ as it is the source to Barcode Scanner, but as the authors we'd suggest you not just copy and paste it."

    Hope this helps.