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