From 42aaedc76a79814ecc74a8a06d52efbfdc992393 Mon Sep 17 00:00:00 2001 From: NyongSS <1ss1222@naver.com> Date: Fri, 16 Sep 2022 16:57:22 +0900 Subject: [PATCH 01/12] =?UTF-8?q?camera=20setting:=20gradle=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/build.gradle | 5 +++++ settings.gradle | 3 +++ 2 files changed, 8 insertions(+) diff --git a/app/build.gradle b/app/build.gradle index a7904a6..9082a5a 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -76,4 +76,9 @@ dependencies { // If you want to additionally use the CameraX Extensions library implementation "androidx.camera:camera-extensions:${camerax_version}" + //카메라, 바코드 + implementation 'com.dynamsoft:dynamsoftbarcodereader:9.2.10@aar' + // Remove the following line if you want to use Android Camera sdk or your own sdk to control camera. + implementation 'com.dynamsoft:dynamsoftcameraenhancer:2.3.2@aar' + } \ No newline at end of file diff --git a/settings.gradle b/settings.gradle index 218bc05..aae32eb 100644 --- a/settings.gradle +++ b/settings.gradle @@ -10,6 +10,9 @@ dependencyResolutionManagement { repositories { google() mavenCentral() + maven { + url "https://download2.dynamsoft.com/maven/aar" + } } } rootProject.name = "Whipping" From 650429be53a45e17791ec6f351d8e02a47f93e5f Mon Sep 17 00:00:00 2001 From: NyongSS <1ss1222@naver.com> Date: Thu, 22 Sep 2022 19:35:17 +0900 Subject: [PATCH 02/12] barcode scan --- .idea/misc.xml | 3 +- app/src/main/AndroidManifest.xml | 3 + .../scan/barcordscan/BarcodeScanActivity.java | 55 +++++- .../scan/barcordscan/CameraActivity.java | 161 ++++++++++++++++++ app/src/main/res/layout/activity_camera.xml | 47 +++++ 5 files changed, 266 insertions(+), 3 deletions(-) create mode 100644 app/src/main/java/kr/co/whipping/scan/barcordscan/CameraActivity.java create mode 100644 app/src/main/res/layout/activity_camera.xml diff --git a/.idea/misc.xml b/.idea/misc.xml index 923a1a0..a6a1b33 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -3,8 +3,9 @@