Branden Archer
bbe6ec3741
Merge pull request #46 from brarcher/pre-v0.6
...
Update for release v0.6
v0.6
2016-05-23 09:08:06 -04:00
Branden Archer
18310fdd25
Update for release v0.6
2016-05-23 08:52:27 -04:00
Branden Archer
19bd64c48c
Merge pull request #44 from brarcher/manual-barcode-entry
...
Allow manual barcode entry
2016-05-23 08:51:28 -04:00
Branden Archer
c86819fc74
Allow user to enter a barcode manually
...
If a user is unable to scan a barcode, this commit allows a
user to enter is manually.
If the user selects to Enter Card instead of Capture Card,
the user may enter the card's id. As it may not be known which barcode
format the user expects, and the user may not know what barcode
type is what, all barcode types are generated from the user
input. Those that are valid are displayed to the user. The user
may then select the barcode image which matches what the user wants.
Italian translations provided by Michael Moroni (Airon90)
Dutch translations provided by PanderMusubi
2016-05-23 08:43:52 -04:00
Branden Archer
8edc9ce5fd
Set barcode image visibility upon completion
...
If the barcode generation succeeds set it as visible, otherwise
make it gone.
2016-05-21 22:58:08 -04:00
Branden Archer
a3a5a3a8db
Remove GlobalLayoutListener when no longer needed
2016-05-21 22:58:08 -04:00
Branden Archer
793247a48c
Remove unused context
2016-05-21 22:58:08 -04:00
Branden Archer
2f86de4c1b
Protect against unexpected failures when encoding barcodes
...
It was observed that some barcode encoders will fail if the
data passed to them is not valid for the format. For example,
the ITF encoder will throw an ArrayIndexOutOfBoundsException
on the input "this is a test".
2016-05-21 22:58:08 -04:00
Branden Archer
0aa1804258
Allow home button to back out to previous activity
2016-05-21 22:58:08 -04:00
Branden Archer
1c8ef34b8a
Remove unneeded parentActivtyName attributes
2016-05-21 22:58:08 -04:00
Branden Archer
3fd45af7d9
Add dependency on Guava
2016-05-21 22:58:08 -04:00
Branden Archer
227af54de7
Merge pull request #43 from brarcher/datamatrix-scaling
...
Datamatrix scaling
2016-05-21 18:46:57 -04:00
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