Git Product home page Git Product logo

loyalty-card-locker's People

Contributors

532910 avatar brarcher avatar clonewayx avatar comradekingu avatar entze avatar krkk avatar lgasp avatar pbeckmann avatar sergiowalls avatar techwebpd avatar thelastproject avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

loyalty-card-locker's Issues

Unreadable generated barcode

The cards' barcodes shown by the app are too small to be read by a barcode scanner, that would be great to print them in a greater size or show them in fullscreen, and perhaps in landscape by default when you click on the little barcode.

German translation.

I've long waited to be able to recommend an alternative to Stocard to family and friends.
Therefore I would like to help with translating loyalty-card-locker to German.
Do I only need to copy app/src/main/res/values/strings.xml to app/src/main/res/values-ge/strings.xml and start translating?

New Feature : Possibility to lock screen rotation

I'd like to know if it's possible to add a button or something on the barcode screen to lock the screen orientation?
It is sometimes useful to avoid the screen to move when we present the phone to the barcode scanner or the cashier.
Especially when you have a cart completely full, with a lot of people looking at you, because they commonly decided they are late because of you...

file or owncloud export

Hi,

Great app! An enhancement, is it possible to add a sync to Owncloud or at least a file export?

Currently, we have to sync app' sqlite db.

Best regards

Dutch translation

Dutch translation to store in values-nl/strings.xml

<resources>
    <string name="app_name">Klantenkaartenkluis</string>
    <string name="action_add">Voeg toe</string>

    <string name="noGiftCards">Er zijn momenteel geen klantenkaarten toegevoegd. Klik de knop met "+" (plus) om te beginnen.\n\nKlantenkaartenkluis beheert klantenkaarten op een smartphone of tablet, zodat ze altijd binnen handbereik zijn.</string>

    <string name="storeName">Winkel</string>
    <string name="cardId">Kaart-ID</string>
    <string name="barcodeType">Barcodetype</string>

    <string name="cancel">Annuleer</string>
    <string name="save">Sla op</string>
    <string name="capture">Scan kaart</string>
    <string name="edit">Bewerk</string>
    <string name="delete">Verwijder</string>

    <string name="editCardTitle">Bewerk klantenkaart</string>
    <string name="addCardTitle">Voeg klantenkaart toe</string>
    <string name="viewCardTitle">Bekijk klantenkaart</string>
    <string name="scanCardBarcode">Scan barcode klantenkaart</string>

    <string name="barcodeImageDescription">Afbeelding barcode klantenkaart</string>

    <string name="noStoreError">Geen winkel toegevoegd</string>
    <string name="noCardIdError">Geen kaart-ID toegevoegd</string>

    <string name="cardIdFormat">%1$s: %2$s</string>
</resources>

Add a confirmation to deleting a card

Currently if one pushes the trash can icon from the Edit screen the loyalty card is deleted without a confirmation. Add a confirmation to avoid unintentional deletes.

Material design icon

I can design an icon (very similar to the one already used) that is material.

README improvements

Hey @brarcher, please implement the follwoing README improvements here as well:

  • Link an F-Droid button just like I added via pull request on another project called Binaural Beats.
  • Correct the sentence on your README to the following one (it should say changes, not "changed"):

If there is any interest in improving this project, kindly submit a pull request with proposed changes.

Changelog

Hi,

Is there a way to get new releases changelog ?

Best regards.

long press menu item to copy card id

Sometimes a card can be used online in addition to at a store. It would therefore be convenient if there were a way to select one of the cards and copy the card id to the clipboard.

OutOfMemoryError when creating barcode

The following crash was observed in application version 10:

java.lang.RuntimeException: 
  at android.os.AsyncTask$3.done(AsyncTask.java:318)
  at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:354)
  at java.util.concurrent.FutureTask.setException(FutureTask.java:223)
  at java.util.concurrent.FutureTask.run(FutureTask.java:242)
  at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:243)
  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
  at java.lang.Thread.run(Thread.java:762)
Caused by: java.lang.OutOfMemoryError: 
  at dalvik.system.VMRuntime.newNonMovableArray(Native Method:0)
  at android.graphics.Bitmap.nativeCreate(Native Method:0)
  at android.graphics.Bitmap.createBitmap(Bitmap.java:977)
  at android.graphics.Bitmap.createBitmap(Bitmap.java:948)
  at android.graphics.Bitmap.createBitmap(Bitmap.java:915)
  at protect.card_locker.BarcodeImageWriterTask.doInBackground(BarcodeImageWriterTask.java:78)
  at protect.card_locker.BarcodeImageWriterTask.doInBackground(BarcodeImageWriterTask.java:21)
  at android.os.AsyncTask$2.call(AsyncTask.java:304)
  at java.util.concurrent.FutureTask.run(FutureTask.java:237)

Device information:
Android version: Android 7.0
Device: Galaxy S6 (zerofltevzw)
Manufacturer:Samsung
RAM (MB): 3072
Screen size: 1440 ร— 2560
Screen density (dpi): 640
Native platform: armeabi-v7a
OpenGL ES version: 3.1
CPU make: Samsung CPU
model: Exynos 7420

New Feature : Possibility to have a full screen barcode

Hello.
I'm currently using your app and i can tell it's a very optimal answer to the other alternatives.
It has a lightweight memory footprint and is very robust.
I just want to know if it could be possible to make the barcode full screen when we click on it ?
When I say full screen, I mean barcode alone on the screen with its width adapted to the border of the screen, depending on phone orientation, with a margin on each side to avoid confusion with screen border lines.
I hope my explanations are clear enough...
I'd like to help, but my coding knowledge are very outdated...!?
Thank you for your attention.

Feature: Manually add card barcodes

Not sure if it is due to my camera app being broken or because your app causes an error, but I cannot add a card via scanning it. Would you please implement that users can manually add card barcodes? Thanks!

Screenshots

Hi,
can you please add screenshots to the README.md?
Thank you very much.

New feature: Copy the card ID

  1. I select the saved card from the initial screen.
  2. Now I can see all the details. But I can't copy.
    • I wish I could tap on the card ID and it would copy it.
    • To improve the user feedback, upon copying it should display a message (toaster) saying the id was copied.
    • To increase the discoverability of this feature, a copy icon can be added next to the card id.

This feature is specially useful for airline mileage numbers, or any number that can be used during online purchases.

It might be worth also implementing this "copy" feature to the "Note" field.

Cannot scan barcodes on an Acer Iconia One 8

I tried putting one of them in clear view of the back camera and it still didn't pick it up. They are small cards with the barcode on them. One was the Membership Card for Baptist East Milestone Wellness & Fitness Center and the other is a Rewards Card for The Vitamin Shoppe.

6.01 - Crash when accessing camera

The app must be given permission to use the camera in Settings -> Apps -> Loyalty Card -> Permissions. If not the app crashes when scanning in a new card via camera.

I wasn't sure if this was by design, but I wanted to report it for others.

Remove 'locker' from application name

The Icon of the application has been changed to better reflect what it is. Now the name 'locker' is confusing, as there is no locker anywhere. Remove this part of the application's name to reduce confusion.

Import/export feature

Yes, me again.
For users without root access, it would be great to beable to export and import the cards to the SD card, or anywhere else.

Add possibility to reorder the cards

I looked for a way to reorder the card list, to have the most important and used cards, first.

Maybe it's possible by esporting the cards and reordering them in the CSV file, and reimporting them.

Is it possible to add a "reordering cards" feature?

Thanks

Add to play store

Unless I am mistaken you have the only open source app for this thing. OK I got fdroid but for better exposure why not add it to play store?

translation

Hi Brarcher
love your app - keep it simple and private
I can see you need help with interface; not too much of a grphic designer myself but I can help with French translation if you want...
Thanks

Extra field for client

Please add a field under Store naned Client. For some stores people have multiple cards, each as a different client of that store, e.g. when working for multiple organisations.

This would be an optional field and can be shown in the over behing the name of the store, separates by a space, hyphen and space.

enhancement - accept code from sharing menu

I'm an user of your app, so, thank you for the effort.

As it is now, when I want to enter e new card, I scan it with barcode scanner (or something like it), then copy the resulting code to clipboard, and finally paste it in a new entry in Loyalty Card Locker.

Would it be possible to insert a new code in the app using the Android sharing menu from a barcode scanning app?

Resizing Using nearest neighbour causes barcodes to be come blury

Due to the resizing method that android uses on barcodes in this app, the barcodes become blury and do not look nice. This problem does not effect image scanning through zxings barcode scanner, but I have not tested it in the shops that use these barcodes. This issue may only be aesthetic.
screenshot_2016-05-12-15-23-02

Improve UX, UI

So, this is a feature request (might possibly work on this myself). My mother has a ton of loyalty cards, so she wants to use an app like this. However the only ones user friendly enough to use are proprietary (her preferred is Stocard). I've introduced her to free software and she wants to stop using proprietary software as much as possible. The problem with this app is that, as opposed to stocard, there are no logos, no searchable stores to easy add cards, you have to choose what form of barcode is the right one, the colours are bland, the list is one big scrolling hell if you have a ton of cards (no searching)

So, to recap, it would be nice to see the following:

  • colours
  • searching
  • directory for know stores, search for one to add it easily (if legally possible with image preloaded in app for known stores, if not make it possible to import these images easily so that they can be loaded from third party not affiliated with this project)
  • two panes, one for most used stores (with a tile ui showing the logos with their names on the bottom of the tile), one for an alphabetical list. Maybe a manual pinning of stores too?

Anyways, this is a great app that fills a void on F-Droid, so I'm happy it exists. I hope we'll be able to bring it up to par with the proprietary ones

Error with import?

I have installed LoyaltyCardLocker from F-Droid (version 0.7 reported), and exported the LoyaltyCardLocker data from another device. I copied this to the phone, and tried the "IMPORT" button, but get this message:

Failed to import: /storage/emulated/0/LoyaltyCardLocker.csv

As far as I can tell, the files are identical. I only have 9 entries so it's not a huge deal to re-scan or recreate them somehow, but I'm happy to try to debug this. I don't really know where to start, since all I get is the "failed to import" message. ๐Ÿ˜„

Add About-Screen with important Informations

@brarcher, I am missing an About-Screen in all your apps containing the following Information:

  • Version of the App and License
  • Clickable link to the GitHub repo
  • Other Info about used Libraries

I consider this especially important to ensure proper bug reports and attract more developers. Thanks!

Prevent stuck partial wake lock

Google playstore analytics indicates that usually when a partial wakelock is held it is done for less than a minute. However, a few times a user did something to cause the partial wake lock to be held for 4-8 hours. The reason for this needs to be determined.

Is the partial wake lock the lock used when displaying a barcode and brightening the screen? Is that causing the phone to not sleep?

Rescale the barcode

If I hold the phone landscape and somehow the sensor turns the screen portrait, the whole entry, including the barcode are scaled to fit the screen. Which makes perfect sense. But once the screen is back in landscape mode the barcode stays tight and won't scale back. This happens when starting from portrait mode. And most barcode readers have a hard time reading it with a tight picture.

Maximize the brightness

Hello,
Will you he can add this functionality:
Maximize the brightness when selecting the card.
Or have a button that allows you to do so.
The scanners detect barcodes with improved brightness.

Thank you and good luck

Enhancement: allow editing barcode type (and also the card number)

There are some stores that provide a physical card with 1D-barcode, but they also provide the same number as a QR Code in their app (IKEA is one example). Thus, I'd like to be able to change the barcode type without having to re-enter the number.

The UI can behave like this:

  1. I click on the item on the app home screen.
  2. I click on the Edit button.
  3. In this screen, the Card ID field is disabled. I can't select (which is annoying), and I can't edit (which is also annoying). I'd like to be able to edit it in-place, without having to re-enter from scratch.
  4. In the same screen, there could be another button (or a drop-down select box) that would allow me to change the barcode type. That way, I'd be able to change from 1D barcode to a QR code.

Why is this needed? Because I can scan my physical 1D card into the app, but then I can't edit it. If I want to use a different kind (QR Codes are easier to scan, specially if the phone screen is not high-res), I have to manually type the number.

update changelog

Please update changelog to detail changes to version 0.12.

p.s. Great app - I'm enjoying it very much.

Allow custom colors for card listings

(Request submitted from Google Play user).

Allow each card to have a custom color, which is displayed on the main screen. This is similar to how Clear List works:

image

Except that the colors should not be preset options but are selectable from a wheel:

image

change location of saved cards

Please add ability to change location where card information saves, i wanna to save it on external sd or owncloud folder, because i wanna reformat my phone and backup all data

Encrypted card database

I'd like to have the card database encrypted that can be set up with a pin/password on openning the application.

Improve F-Droid Description

The following is not a real bug, just an issue of managing expectations...
I installed this purely out of interest and wondered how you would solve the issue that adding stamps to a phone screen does not make much sense. Because that is the most common kind of loyalty card I know - collect ten stamps on a card and get the eleventh order free.

There are other loyalty cards that are based on magnetic stripes or NFC that would not work with this app either.

I think your description on F-Droid should mention that this only works for bar code-based systems.

An interface button to max out the screen backlighting

Most barcode readers available in stores simply can't read the barcode at the backlighting levels I use the phone. So I have to go into the menu, max out the backlighting, scan the barcode and go back and adjust the light to a somewhat close value to what was before. Can you do a button for the interface that once pushed when the entry is opened, say next to the pencil for editing the entry, will save the backlighting value, max it up and when pushed again will restore the backlighting intensity value from before?

Create better layout for entering/displaying card info

The layout when adding a card, namely:

and when displaying a card for scanning or reading at a store, namely:

could be improved. They are functional, but could be improved to be more visually appealing and perhaps easier to use. In addition, if the application is to let a user add a thumbnail of the store, namely #86, there currently is no place to put the thumbnail.

There are a number of other applications available on Google Play. Although this application should not be a clone of them, perhaps they could be used as inspiration.

Manually add a code

Not all loyalty cards have barcodes. Please allow for adding a code manually.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.