From 099746292aa52a52fee8bbeaa34d8d77750c14a6 Mon Sep 17 00:00:00 2001 From: cebgcontract <99630598+cebgcontract@users.noreply.github.com> Date: Tue, 8 Nov 2022 19:08:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=89=AB=E7=A0=81=E7=AD=89?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/misc.xml | 3 + app/AndroidManifest.xml | 3 + app/build.gradle | 1 + .../com/fitchgc/jcwallet/MainActivity.java | 57 ++++++++++++----- .../activity/CustomCaptureActivity.java | 46 ++++++++++++++ .../jcwallet/dialog/QRCodeActivity.java | 10 +-- app/src/com/jc/jcfw/JcSDK.java | 19 +++++- .../res/layout/custom_capture_activity.xml | 58 ++++++++++++++++++ app/src/main/res/layout/qrcode_view.xml | 5 +- res/drawable/flash_off.png | Bin 0 -> 1756 bytes res/drawable/flash_on.png | Bin 0 -> 1552 bytes res/drawable/flash_selected_selector.xml | 5 ++ res/drawable/qr_background.xml | 10 +++ res/values/strings.xml | 1 + res/values/styles.xml | 6 +- 15 files changed, 197 insertions(+), 27 deletions(-) create mode 100644 app/src/com/fitchgc/jcwallet/activity/CustomCaptureActivity.java create mode 100644 app/src/main/res/layout/custom_capture_activity.xml create mode 100644 res/drawable/flash_off.png create mode 100644 res/drawable/flash_on.png create mode 100644 res/drawable/flash_selected_selector.xml create mode 100644 res/drawable/qr_background.xml diff --git a/.idea/misc.xml b/.idea/misc.xml index fee5c17..5df0807 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -3,9 +3,12 @@ diff --git a/app/AndroidManifest.xml b/app/AndroidManifest.xml index 5426f1b..113250b 100644 --- a/app/AndroidManifest.xml +++ b/app/AndroidManifest.xml @@ -29,6 +29,9 @@ +