Clubcode [fork]

Rating: 
4.857145
Your rating: None Average: 4.9 (14 votes)

Caution! 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!

Description:

ClubCode is an app to save and show club card barcodes. Leave your club cards at home. With this app you can easily add all your barcode base club cards and easily show them to the scanner or cashier.

Currently supported barcode types:

  • Code 39
  • Code 93 ( a bit beta)
  • Code 128
  • EAN-8
  • EAN-13
  • UPC-A
  • UPC-E

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).

License: GPL-3.0

Original repo: github

Forked repo: github

Screenshots: 
Application versions: 
AttachmentSizeDate
File harbour-clubcode-0.3-5.i486.rpm41.02 KB10/03/2019 - 19:19
File harbour-clubcode-0.3-5.armv7hl.rpm37.41 KB10/03/2019 - 19:19
File harbour-clubcode-0.3-6.armv7hl.rpm37.57 KB11/03/2019 - 02:05
File harbour-clubcode-0.3-6.i486.rpm41.18 KB11/03/2019 - 02:05
File harbour-clubcode-0.3-7.i486.rpm44.02 KB17/03/2019 - 12:50
File harbour-clubcode-0.3-7.armv7hl.rpm41.13 KB17/03/2019 - 12:50
File harbour-clubcode-0.3-8.armv7hl.rpm44.92 KB21/03/2019 - 21:38
File harbour-clubcode-0.3-8.i486.rpm48.01 KB21/03/2019 - 21:38
File harbour-clubcode-0.3-9.i486.rpm48.34 KB22/03/2019 - 02:09
File harbour-clubcode-0.3-9.armv7hl.rpm45.14 KB22/03/2019 - 02:09
File harbour-clubcode-0.3-10.armv7hl.rpm47.23 KB29/03/2019 - 20:43
File harbour-clubcode-0.3-10.i486.rpm50.83 KB29/03/2019 - 20:43
File harbour-clubcode-0.3-11.i486.rpm51.33 KB30/03/2019 - 22:53
File harbour-clubcode-0.3-11.armv7hl.rpm47.72 KB30/03/2019 - 22:53
File harbour-clubcode-0.3-12.armv7hl.rpm47.77 KB05/04/2019 - 15:30
File harbour-clubcode-0.3-12.i486.rpm51.32 KB05/04/2019 - 15:30
File harbour-clubcode-0.3-13.armv7hl.rpm48.24 KB07/04/2019 - 19:51
File harbour-clubcode-0.3-13.i486.rpm51.88 KB07/04/2019 - 19:51
File harbour-clubcode-0.3-14.i486.rpm61.65 KB12/04/2019 - 23:22
File harbour-clubcode-0.3-14.armv7hl.rpm58.06 KB12/04/2019 - 23:22
File harbour-clubcode-0.3-15.i486.rpm64.5 KB16/04/2019 - 21:44
File harbour-clubcode-0.3-15.armv7hl.rpm60.94 KB16/04/2019 - 21:44
Changelog: 
  • 0.3-15 Czech translation by Malakay
  • 0.3-14 Added UPC-A support
  • 0.3-13 French translation added thanks Quenty31
  • 0.3-12 Fixed context open/close animation, slightly smaller barcode preview
  • 0.3-11
    • Updated Chinese translation
    • Small changes in about- and coverpage
  • 0.3-10
    • Chinese translation
    • Setting for orientation barcode display
  • 0.3-9 Barcodes now loaded sorted by name (thanks PawelSpoon)
  • 0.3-8 Added UPC-E support
  • 0.3-7
    • Barcodes can be made another step smaller
    • Added Code 93
  • 0.3-6 From upstream: changed enterkey to go to next field and accept the input
  • 0.3-5 Russian translation added (thanks Dikonov)
  • 0.3-4 Some minor visual changes
  • 0.3-3
    • Code 39 type added
    • About page added
    • Now 3 sizes for barcode by tapping
  • 0.3-2 EAN-13 added
  • 0.3-1
    • Added EAN-8 as barcode type
    • More compact list of barcodes
    • Resize cover icon
  • 0.2-3 Tap on barcode to toggle to half the size
  • 0.2-2
    • Better sizing for hires screens
    • Landscape support (barcode remains landscape oriented)
  • 0.2-1
    • Fixed issue of not loading barcodes at start
    • Added remorse timer for removing
    • More translatable strings
    • Fixed build issues

Comments

ade's picture

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:

cp /home/nemo/.local/share/harbour-clubcode/harbour-clubcode/database /home/nemo/.local/share/harbour-clubcode/database

And see if that helps.

sdworks's picture

It seems your update to 0.2-2 erased all of my stored cards&barcodes

ade's picture

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:

find / -name database 2>/dev/null |grep clubcode|xargs ls -l

on the terminal?

naytsyrhc's picture

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's picture

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's picture

Awesome. Really nice. Will test if it is now readable by club scanner after my vacation. Thanks for your efforts.

ade's picture

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's picture

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's picture

Excellent! Wish list : ability to lock it in landscape display.

ade's picture

What exactly do you mean, as the barcode is already displayed in landscape orientation.

objectifnul's picture

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's picture

I think release 0.2-2 should be able to handle the rotate patch.

objectifnul's picture

Perfect! Thx. (Except the main page display, now a bit too large)

ade's picture

Assuming you are using a Sony device, the sizing should now be about the same as on a Jolla 1 device (see screenshots). So I think the height of the barcode is more a matter of taste.

Pages