Branden Archer
b89c5eb91c
Change padding of card list on main screen
...
The entire space for the ListView was not being used, which
appeared odd.
2016-05-21 18:32:29 -04:00
Branden Archer
cecec15762
Scale barcodes to ImageView's size without filtering
...
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.
2016-05-21 18:32:29 -04:00
Branden Archer
dc4a41088c
Generate barcode after ImageView size is known
...
The size of the ImageView may not yet be known when the
barcode generation is needed. If this is the case, wait
until the final layout is complete then start the
barcode generation.
2016-05-21 18:32:29 -04:00
Branden Archer
b91d4c934a
Generate barcode in an AsyncTask
...
This change moves the generation of the barcode into its
own async task. In addition, the size of the ImageView is
used to determine the barcode size to use.
There will be cases when the size of the ImageView will not
be known when the barcode generation starts. This will be resolved
in a future commit.
2016-05-21 18:32:29 -04:00
Branden Archer
b8d4eaacad
Merge pull request #42 from brarcher/min-sdk-11
...
Reduce min SDK version to 11
2016-05-17 18:23:11 -04:00
Branden Archer
0a7d5d89cf
Reduce min SDK version to 11
...
The selection of SDK 17 was arbitrarily based on the version
available on my device at the time. As no APIs are being used
at that level, a lower SDK version can be targeted.
According to the current distribution of Android device versions,
99.9% of devices are at SDK 11+. Changing to this for the min SDK
for now.
2016-05-17 14:30:40 -04:00
Branden Archer
7bbcc52ba6
Remove usage of emulator in Travis-CI
...
The emulator was never used, no reason to download it on every build
2016-05-16 23:26:31 -04:00
Branden Archer
14972c9cc9
Merge pull request #40 from brarcher/pre-v0.5
...
Update for release v0.5
v0.5
2016-05-16 21:15:18 -04:00
Branden Archer
213d1f64a6
Update for release v0.5
2016-05-16 21:06:29 -04:00
Branden Archer
f4f22055fc
Merge pull request #38 from brarcher/import-export
...
Add support for backing up cards to CSV file on external storage
2016-05-16 21:00:38 -04:00
Branden Archer
b99704a3d8
Add an About page
...
This about page layout is borrowed from K-9 Mail:
https://github.com/k9mail
Italian translations provided by Airon90.
Dutch translations provided by PanderMusubi.
2016-05-16 20:51:59 -04:00
Branden Archer
715d726ea3
Update Gradle to 2.10
2016-05-16 20:51:59 -04:00
Branden Archer
8b887a2ee9
Update Gradle Android plugin to 2.0.0
2016-05-16 20:51:59 -04:00
Branden Archer
0248df532a
Use gradle wrapper script on Travis-CI
2016-05-16 20:51:59 -04:00
Branden Archer
8c83b85cea
Request external storage permission if necessary
...
Starting on Android 6.0 permissions may be requested at
runtime. To allow import/exporting on 6.0+, request permission
to external storage.
2016-05-16 20:51:59 -04:00
Branden Archer
b8f3d891ea
Allow user to import/export cards to/from CSV on external storage
...
Italian translations provided by Airon90.
Dutch translations provided by PanderMusubi
2016-05-16 20:51:59 -04:00
Branden Archer
20338eb09b
Add task for importing/exporting
2016-05-16 20:51:59 -04:00
Branden Archer
ce272fe7f1
Add ability to import/export cards to/from CSV
2016-05-16 20:51:59 -04:00
Branden Archer
fb34fb7451
Add call for writing card entry to specific id
...
This will be necessary when importing card entries later
2016-05-16 20:51:59 -04:00
Branden Archer
7b2d022e92
Merge pull request #35 from brarcher/gradle-wrappers
...
Add wrapper scripts and instructions for building
2016-04-22 09:27:49 -04:00
Branden Archer
283858a6e3
Add wrapper scripts and instructions for building
2016-04-22 08:58:38 -04:00
Branden Archer
d46b3c0810
Merge pull request #31 from brarcher/note-translation
...
Update Italian translation for note
2016-04-12 09:04:54 -04:00
Branden Archer
a2ff1a9e05
Update Italian translation for note
...
Airon90 mentioned that although "Nota" is Italian for "Note", it would be better to use the plural
form "Note" here.
2016-04-12 08:58:05 -04:00
Branden Archer
b2e333c379
Merge pull request #30 from brarcher/pre-v0.4
...
Update for release v0.4
v0.4
2016-04-09 22:26:30 -04:00
Branden Archer
2b058ee766
Update for release v0.4
2016-04-09 22:21:23 -04:00
Branden Archer
fc3302219e
Merge pull request #29 from brarcher/note-field
...
Add a note field
2016-04-09 22:18:35 -04:00
Branden Archer
e0a77e9628
display store and note on card summary view
...
Dutch translation provided by PanderMusubi
Related issues:
https://github.com/brarcher/loyalty-card-locker/issues/23
https://github.com/brarcher/loyalty-card-locker/issues/24
2016-04-09 22:11:20 -04:00
Branden Archer
f6f749de1c
Use multi exception catch for idential exceptions
2016-03-20 18:05:51 -04:00
Branden Archer
61dec10e74
Do not overwrite store field when capturing barcode
2016-03-20 18:05:51 -04:00
Branden Archer
9306e1a3d9
Add ability to store a note with loyalty card
2016-03-20 18:05:51 -04:00
Branden Archer
62e4fa402c
split parts of test into separate methods
...
in the future additional tests will be added, and this will
allow for more reuse
2016-03-20 18:05:51 -04:00
Branden Archer
d12edd06a4
Merge pull request #28 from brarcher/dutch
...
Add Dutch translations
2016-03-16 23:02:28 -04:00
Branden Archer
4a8bc4744d
Add Dutch translations
...
These are provided by PanderMusubi
https://github.com/brarcher/loyalty-card-locker/issues/27
2016-03-16 22:54:31 -04:00
Branden Archer
34faf18deb
Merge pull request #26 from brarcher/edit-name
...
Edit name
2016-03-12 21:26:18 -05:00
Branden Archer
8c371751a7
Allow store name to be editable after creation
2016-03-11 21:53:38 -05:00
Branden Archer
c21c81f2c7
Correct names of unit tests
...
Some of the tests mentioned "Gift" cards, but should mention
"Loyalty" cards instead. Additionally, made one unit test's
intention more clear.
2016-03-11 21:53:38 -05:00
Branden Archer
77afaf1a3d
Merge pull request #22 from brarcher/findbugs
...
enable findbugs in travis-ci build
2016-02-20 16:29:24 -05:00
Branden Archer
eb61f81b52
cat unit test failure report if failures found
2016-02-20 13:47:30 -05:00
Branden Archer
0289720c09
enable findbugs during travis-ci build
2016-02-20 13:46:53 -05:00
Branden Archer
5f2e3a5e1d
Change inner class to be static
2016-02-20 13:31:34 -05:00
Branden Archer
5bc992f7f8
Merge pull request #15 from brarcher/readme
...
mention barcode types in README.md
v0.3
2016-02-11 06:32:17 -05:00
Branden Archer
a2ab434d01
Merge branch 'master' into readme
2016-02-11 01:36:03 -05:00
Branden Archer
9593b94a2b
Merge pull request #16 from brarcher/pre-v0.3
...
update version for next release
2016-02-11 01:35:56 -05:00
Branden Archer
075a440e4f
update version for next release
2016-02-11 01:30:12 -05:00
Branden Archer
c6967f6a3f
mention barcode types in README.md
2016-02-11 01:29:30 -05:00
Branden Archer
a8ca5470c7
Merge pull request #14 from brarcher/update-zxing-android-embedded
...
update zxing-android-embedded to latest release
2016-02-11 01:22:41 -05:00
Branden Archer
4d277eff51
update zxing-android-embedded to latest release
...
there was an issue with requesting camera permission
for Android 6 which was resolved in release 3.2.0.
2016-02-11 01:00:02 -05:00
Branden Archer
c51531e367
Merge pull request #13 from brarcher/all-barcodes
...
All barcodes
2016-02-10 21:49:21 -05:00
Branden Archer
5e57d66daa
Do not bring up keyboard in view activity
...
Typically one will open the view activity to bring up a
barcode, and the keyboard is not expected. Disable the
keyboard until an editable field is selected.
2016-02-10 21:42:57 -05:00
Branden Archer
73aff4aeb8
Support all barcodes zxing can generate
2016-02-10 21:42:57 -05:00