No longer maintained, instead consider using BarWal
ClubCode is an app to store and show various types of barcodes. Leave your club cards at home. With this app you can collect all your barcode based club cards and show them to the scanner or cashier.
Currently supported barcode types:
CodeReader (to be found in the Jolla Store) can be used to scan codes and paste them via the clipboard (if the barcode type is supported of course).
Version >= 0.3-1 will break the old barcode database!
Now that more barcode types are supported, I need to add a barcode type, which breaks the datamodel.
Please note your codes before upgrading!
License: GPL-3.0
Original repo: github
Forked repo: github
Attachment | Size | Date |
---|---|---|
harbour-clubcode-0.5-1.aarch64.rpm | 106.98 KB | 30/05/2021 - 18:48 |
harbour-clubcode-0.5-1.armv7hl.rpm | 98.96 KB | 30/05/2021 - 18:48 |
harbour-clubcode-0.5-1.i486.rpm | 112.05 KB | 30/05/2021 - 18:48 |
Comments
naytsyrhc
Mon, 2019/03/18 - 20:27
Permalink
Thx again for this fork/app. Can confirm that it works in real life. I'd love to digitize more of my club cards. Unfortunately one of them uses UPC-E and another one ITF-14 and yet another QR-Code. The other ones are covered by already supported EAN-8 or Code39. Do you think there is a chance to support the others as well?
ade
Thu, 2019/03/21 - 21:39
Permalink
I can also confirm it works :-).
In theory, most 1D barcodes should be doable, given there is a font and a clear description of the way the barcode is constructed. 2D codes like QR-codes are a no go in this concept, as it cannot be put in a simple fontset (way too many variations in the barcodes).
Edit: UPC-E now also supported
naytsyrhc
Sun, 2019/03/24 - 22:29
Permalink
Great. Thanks for your efforts.
olf
Sat, 2019/03/09 - 18:07
Permalink
@ade, thanks for the update, including the nice, new feature to generate EAN-8 codes.
Just a visual nuisance:
When using EAN-8 barcodes, the "name" and description labels in both list and full screen view are horizontally a bit off center to the right. For Code128 they look properly centered (as before v0.3).
olf
Sat, 2019/03/09 - 18:11
Permalink
Looking more closely, it rather seems that the barcode proper of EAN-8 codes is slightly shifted to the left (in both, list and full screen view). The labels (i.e., the overlaid text) seem to be as well centered horizontally, as the labels of Code128 barcodes are.
ade
Sat, 2019/03/09 - 19:19
Permalink
@olf: I will look at the minor visual aspects later on, for now I am just a bit tired of all other changes :-)
olf
Fri, 2019/03/08 - 03:16
Permalink
BTW (after playing a bit with ClubCode), a nice and supposedly easy to implement feature in the barcodes' list view would be to also include what a barcode encodes in an additional, third, overlaid text line to each barcode.
I believe, it then makes sense to differentiate this third line by typesetting (as the name and description lines already are) and align the typesetting of the full screen view to that.
Suggestion:
The currently used font is absolutely fine: "light" in terms of typesetting (so the overlaid text does not obstruct too much of the barcode), well readable etc.
And many kudos for picking up another abandoned app!
olf
Sun, 2019/03/10 - 04:29
Permalink
Now that EAN-8 barcodes can be generated, which implicitly have a barcode's content embedded as clear text in the bar code, I alter my suggestion for displaying the content in the same way for all types of barcodes (i.e., embedded into the barcode as for EAN-8).
Consequently the second, "description" line for each barcode should stay in regular typesetting (i.e., not being altered to italic, as originally suggested).
ade
Sun, 2019/03/10 - 14:16
Permalink
As a reponse to your series of comments:
Offset of barcodes:
I don't see any real issues, but didn't use a ruler ;-)
Text in the full screen:
As this screen rotates depending on the screen orientation to always be in landscape, it's hard to play with the layout.
The EAN fonts have their code text incorporated, the others don't, so that will always look different.
I made the following changes: code in monospace font to make it look clear. And only display this code if it is not displayed in de barcode itself. The description (if entered) will be added to the name.
And on the mainpage I made the gray background barcodes a bit more transparant, so the description is more readable.
olf
Sun, 2019/03/10 - 20:14
Permalink
Thank you very much:
Still I wonder, why you cannot see the left-shifted EAN-8 barcodes in list view (in landscape orientation) and full-screen view on your device. I have tried a few EAN-8 codes and they are all well visibly left-shifted on my Jolla 1 with SFOS 2.2.1.18 in both views (both used in landscape orientation), as well as some barcodes of all other available types and none of them was off-center. I have captured some screen-shots, but the issues section at your fork at Github is currently disabled (the first place which came to my mind for uploading them). Never mind.
ade
Sun, 2019/03/10 - 20:42
Permalink
No idea why issues where disabled. Should be enabled now.
olf
Fri, 2019/03/08 - 02:56
Permalink
@ade, the description text line is missing in the full screen view of a barcode (i.e., after tapping on a barcode in the list view), although there is sufficient space for it below the "name" text line and above the barcode proper.
Tested with ClubCode 0.2-3 on a Jolla 1 phone with SFOS 2.2.1.18
objectifnul
Fri, 2019/03/08 - 01:34
Permalink
Actually the too large display (for my taste) is the one with the list of barcodes. It was smaller and more convenient until release 0.2-1.
ade
Fri, 2019/03/08 - 01:45
Permalink
I was talking about this page. So again: it now has the same dimensions as on the original version on the Jolla 1. That it was smaller on the Xperia, is only because of the higher resolution and was not intended. But of course it can be made smaller.
objectifnul
Fri, 2019/03/08 - 21:31
Permalink
It's okay, I downsized the display in HomePage.qml to have all my seven barcodes shown in one screen as before.
sdworks
Thu, 2019/03/07 - 20:40
Permalink
I see the problem and moved the database one folder higher up in the directory tree. That worked. But how come this happened?
sdworks
Thu, 2019/03/07 - 20:35
Permalink
This output I got:
-rw -rw -rw 1 nemo 590 2019-03-03 23:15 /home/nemo/.local/share/harbour-clubcode/harbour-clubcode/database
-rw -rw 1 nemo 590 2019-03-03 23:15 opt/alien/home/nemo/.local/share/harbour-clubcode/harbour-clubcode/database
ade
Thu, 2019/03/07 - 20:45
Permalink
It looks like somehow something ended up in the wrong location, which I cannot explain right now. The folder harbour-clubcode is mentioned twice.
Try:
And see if that helps.
sdworks
Thu, 2019/03/07 - 15:41
Permalink
It seems your update to 0.2-2 erased all of my stored cards&barcodes
ade
Thu, 2019/03/07 - 16:58
Permalink
Can't think of any changes that would have that effect in 0.2-2.
Maybe something is stored on another location?
Whats the output of:
on the terminal?
naytsyrhc
Wed, 2019/03/06 - 03:27
Permalink
Thanks for forking. I'll repeat my comment from initial release: would be awesome if I could also change the type of the barcode. My card has an EAN-8 code whereas all codes from this app seem to be code128. It would be even nicer, if I could just scan the existing barcode, type and value will be determined automatically and a copy of those values would be created.
ade
Sat, 2019/03/09 - 14:20
Permalink
I implemented EAN-8 in release 0.3-1. As noted in the description, it will break your current database, so make sure you have your codes somewhere.
You can enter 7 or 8 numbers. The last number is a checksum, if ommitted it will be calculated for you.
naytsyrhc
Sat, 2019/03/09 - 23:31
Permalink
Awesome. Really nice. Will test if it is now readable by club scanner after my vacation. Thanks for your efforts.
ade
Wed, 2019/03/06 - 22:20
Permalink
Had a quick look at the code. Not too easy I am afraid, but I am not familiar with the logic of the other barcode types.
Feel free to have a look at it yourself. Perhaps I will have a closer look at it later.
You can use CodeReader to get your info from existing barcodes.
naytsyrhc
Wed, 2019/03/06 - 22:54
Permalink
I know about codereader. I'd love to read the code with codereader and e.g. import the result to clubcode (or copy&paste).
objectifnul
Wed, 2019/03/06 - 00:15
Permalink
Excellent! Wish list : ability to lock it in landscape display.
ade
Wed, 2019/03/06 - 01:39
Permalink
What exactly do you mean, as the barcode is already displayed in landscape orientation.
objectifnul
Wed, 2019/03/06 - 02:10
Permalink
Maybe it's because of one of my patches, but the barcode is displayed in landscape only when the phone in vertical. It returns to portrait when the phone is horizontal (just the opposite of desired behaviour)
EDIT: it's OK if I disable the "UI Rotate Free" patch (by CodeRus). But I need it for some other apps...
ade
Wed, 2019/03/06 - 22:13
Permalink
I think release 0.2-2 should be able to handle the rotate patch.
objectifnul
Thu, 2019/03/07 - 17:45
Permalink
Perfect! Thx. (Except the main page display, now a bit too large)
Pages