Swati4star / Images-to-PDF

An app to convert images to PDF file!
GNU General Public License v3.0
1.19k stars 806 forks source link

[#1101]Add Scan QR code from saved picture feature #1150

Closed Xi-Zhang1 closed 10 months ago

Xi-Zhang1 commented 11 months ago

Description

Add Scan QR code from saved picture feature, enabling users to import QR code images from the system gallery.

Change Summary: In the constructed XML layout, a CardView element was instantiated. An interaction listener was configured to incite image selection from the system gallery upon user engagement. One method was delineated to spawn an intent for invoking the system gallery. One method was formulated to facilitate the decoding process of the QR code, utilizing the ZXing library, and subsequently rendering the output in PDF format.

Dependencies: ZXing library for QR code decoding.

Changed UI

1698543454146

Fixes #1101

Type of change

Just put an x in the [] which are valid.

How Has This Been Tested?

Please describe the tests that you ran to verify your changes.

Checklist:

codeclimate[bot] commented 11 months ago

Code Climate has analyzed commit 38022863 and detected 3 issues on this pull request.

Here's the issue category breakdown:

Category Count
Complexity 3

View more on Code Climate.

Swati4star commented 10 months ago

thank you for your contribution, but this feature is already implemented with https://github.com/Swati4star/Images-to-PDF/pull/1143