Skip to content

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

Closed
Xi-Zhang1 wants to merge 1 commit intoSwati4star:masterfrom
Xi-Zhang1:1011-add-ScanQRCodeFromSavedPicture-feature
Closed

[#1101]Add Scan QR code from saved picture feature#1150
Xi-Zhang1 wants to merge 1 commit intoSwati4star:masterfrom
Xi-Zhang1:1011-add-ScanQRCodeFromSavedPicture-feature

Conversation

@Xi-Zhang1
Copy link
Copy Markdown

@Xi-Zhang1 Xi-Zhang1 commented Oct 29, 2023

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.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

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

  • ./gradlew assembleDebug assembleRelease
  • ./gradlew checkstyle

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings

@qlty-cloud-legacy
Copy link
Copy Markdown

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

Here's the issue category breakdown:

Category Count
Complexity 3

View more on Code Climate.

@Swati4star
Copy link
Copy Markdown
Owner

thank you for your contribution, but this feature is already implemented with #1143

@Swati4star Swati4star closed this Nov 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Scan QR code from saved picture

2 participants