From 562034d8a54b179c5be39efa59f2b253f5ec01a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=8D=E3=82=80=E3=81=AD=E3=81=93?= Date: Wed, 20 Dec 2023 11:58:55 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=AD=E3=82=B8=E3=83=83=E3=82=AF=E5=AE=9F?= =?UTF-8?q?=E8=A3=85=20WIP?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ScannerDatabaManagerStubFragment.java | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/component/scanner/src/main/java/one/nem/lacerta/component/scanner/ScannerDatabaManagerStubFragment.java b/component/scanner/src/main/java/one/nem/lacerta/component/scanner/ScannerDatabaManagerStubFragment.java index 754265aa..9206327f 100644 --- a/component/scanner/src/main/java/one/nem/lacerta/component/scanner/ScannerDatabaManagerStubFragment.java +++ b/component/scanner/src/main/java/one/nem/lacerta/component/scanner/ScannerDatabaManagerStubFragment.java @@ -1,9 +1,15 @@ package one.nem.lacerta.component.scanner; +import android.content.Intent; +import android.graphics.Bitmap; import android.os.Bundle; +import androidx.activity.result.ActivityResultLauncher; +import androidx.activity.result.contract.ActivityResultContract; +import androidx.activity.result.contract.ActivityResultContracts; import androidx.fragment.app.Fragment; +import android.provider.MediaStore; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; @@ -15,6 +21,9 @@ import android.view.ViewGroup; */ public class ScannerDatabaManagerStubFragment extends Fragment { + // Results + private Bitmap[] imageBitmaps; + public ScannerDatabaManagerStubFragment() { // Required empty public constructor } @@ -37,4 +46,13 @@ public class ScannerDatabaManagerStubFragment extends Fragment { // Inflate the layout for this fragment return inflater.inflate(R.layout.fragment_scanner_databa_manager_stub, container, false); } + + @Override + public void onViewCreated(View view, Bundle savedInstanceState) { + super.onViewCreated(view, savedInstanceState); + + view.findViewById(R.id.button_call_camera).setOnClickListener(v -> { + + }); + } } \ No newline at end of file