bors[bot] a8082748ad Merge #920
920: Crash on clicking "Add from image" button in scan activity #856 r=TheLastProject a=alajemba-vik

This PR contains a fix for issue #856, which concerns a crash that occurs when no activity can handle the intent to pick an image file.

### The simplest way to reproduce
* Disable all the gallery apps (e.g., Google Photos)
* Go to the ScanActivity by clicking the FAB on the home screen
* The app crashes when you click the button "Select image from gallery"

### Expected behavior
Clicking that button should have launched a gallery app, or displayed a disambiguation dialog if there is more than one app that can handle the intent being invoked.

### Solution
Wrapped the call to launch in a try-catch block.

Co-authored-by: Alajemba <alajemba.dev@gmail.com>
2022-07-03 17:18:36 +00:00
2021-10-26 19:23:39 +02:00
2022-07-03 17:18:36 +00:00
2021-08-22 16:16:27 +02:00
2020-10-29 18:30:52 +00:00
2021-10-14 19:44:36 +02:00
2021-12-09 02:19:09 +00:00
2021-09-02 19:00:07 +02:00
2022-01-24 22:21:21 +01:00
2020-11-02 18:00:43 +01:00
2022-06-08 18:49:46 +02:00
2020-12-26 19:04:48 -05:00
2020-12-23 19:47:27 -05:00
2020-12-23 19:47:27 -05:00
2016-01-24 11:13:32 -05:00
2021-04-18 13:47:51 +02:00
2016-01-30 20:50:30 -05:00

Catima

Copylefted libre software (GPLv3+) card management app.

GitHub Version F-Droid Version IzzyOnDroid Version Google Play Store Version

Android CI Translation status

Get it on F-Droid Get it on IzzyOnDroid Get it on Google Play

Logo

Logo by Rose (TangentFoxy)

Stores your store loyalty and membership cards on your device, instead of having to carry them around.

Supported barcodes:

  • AZTEC
  • CODABAR
  • CODE_39
  • CODE_93
  • CODE_128
  • DATA_MATRIX
  • EAN_8
  • EAN_13
  • ITF
  • PDF_417
  • QR_CODE
  • UPC_A
  • UPC_E

Screenshots

Moving data from other apps

Within the app you can import cards and codes from files, Catima, FidMe, Loyalty Card Keychain, Voucher Vault, and Stocard. For FidMe you need to select the barcode type for each entry afterwards.

Building

Use the Gradle wrapper scripts provided in the top level directory of the project. To compile the app and run all unit tests:

Linux|GNU, Unix-like, macOS:

./gradlew build

Windows:

./gradlew.bat build

Translating

Translation status

Help translate the app to your language from our Hosted Weblate page.

Developer Note

This app is based on the great (but no longer developed) Loyalty Card Keychain by Branden Archer.

Description
No description provided
Readme GPL-3.0 48 MiB
Languages
Java 74.4%
Kotlin 23.9%
Shell 0.9%
Python 0.7%
Ruby 0.1%