mirror of
https://github.com/CatimaLoyalty/Android.git
synced 2026-01-10 07:57:55 -05:00
cecec15762b4054fc53bf2c69bcafbac2f4ce9b1
It turns out that the library used to create datamatrix barcodes returns the smallest image necessary to contain the barcode. That is, the size passed into the barcode writer. If the ImageView scales the tiny image itself into the full size it will use bi-linear filtering, which results in a blurry barcode. To avoid this, if scaling is needed do so without using filtering.
Loyalty Card Locker
Stores all of your store loyalty cards on your phone, removing the need to carry them around. Currently the following barcode types are supported:
- AZTEC
- CODABAR
- CODE_39
- CODE_128
- DATA_MATRIX
- EAN_8
- EAN_13
- ITF
- PDF_417
- QR_CODE
- UPC_A
If there is any interest in improving this project, kindly submit a pull request with proposed changes.
Building
To build, use the gradle wrapper scripts provided in the top level directory of the project. The following will compile the application and run all unit tests:
GNU/Linux, OSX, UNIX:
./gradlew build
Windows:
./gradlew.bat build
Thanks
App icon originals by Freepik and distributed under the CC BY 3.0 license, and formatted using Android Asset Studio.
Languages
Java
74.2%
Kotlin
24.1%
Shell
0.9%
Python
0.7%
Ruby
0.1%