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
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
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
213d1f64a6
Update for release v0.5
2016-05-16 21:06:29 -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
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
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
2b058ee766
Update for release v0.4
2016-04-09 22:21:23 -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
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
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
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
075a440e4f
update version for next release
2016-02-11 01:30:12 -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
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
Branden Archer
e6241b5a47
Update to using latest zxing library release, 3.2.1
2016-02-10 21:42:57 -05:00
Branden Archer
35c778eadc
Update version information for release
2016-02-07 21:56:02 -05:00
Branden Archer
9820bca315
declare usage of the auto focus feature for the camera
...
The zxing library will attempt to use auto focus on the camera,
if available.
2016-02-07 15:38:07 -05:00
Branden Archer
2e457dc06e
Add permission for using camera
...
The zxing library will need this permission to work
correctly.
2016-02-07 15:37:40 -05:00
Branden Archer
8bfd0f1215
Use multiple lines to declare features and permissions
...
This is for readability.
2016-02-07 15:37:15 -05:00
Branden Archer
96c665a539
Support scanning all types of 1D barcodes
...
There are loyalty cards which are not product codes but are 1D
barcodes. Enabling support for all types of 1D barcodes to
enable more types of loyalty cards.
2016-02-03 15:09:54 -05:00
Michael Moroni
59a7976ad5
Update strings.xml
...
fix
2016-01-31 14:35:16 +01:00
Michael Moroni
281fc30418
Create strings.xml
...
Added Italian translation
2016-01-31 14:09:37 +01:00
Branden Archer
265d24c95d
Initial commit of application
2016-01-30 20:50:30 -05:00