All Projects → EddyVerbruggen → barcodescanner-lib-aar

EddyVerbruggen / barcodescanner-lib-aar

Licence: MIT license
Project which compiles barcodescanner sources to an aar for use in Android projects

Programming Languages

java
68154 projects - #9 most used programming language
HTML
75241 projects

Steps to build a new .aar

  • Clone this repo
  • Open it in Android Studio
  • Update any source files as needed (current version is: https://github.com/zxing/zxing/releases/tag/BS-4.7.6):
    • Copy all files from core
    • From the android folder grab the src/.../android folder and paste that to the appropriate package
    • Same for android-core
    • Note that R.java is generated when building and is supposed to be in build/generated/source/r/debug/barcodescanner/xservices/nl/barcodescanner/R
    • Re-add the 'flip camera' feature and the 'portrait scan' feature I added before!
    • Make sure no app_name tag is active in the res/values*/string.xml files
  • (Finder/Explorer): Clean barcodescanner > build > outputs
  • Open the Gradle toolwindow
  • Run barcodescanner > Tasks > other > build
  • The (release) .aar will be generated in barcodescanner > build > outputs
  • Commit and push any changes made!

The generated .aar is used in:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].