simple-dynamsoft-mcp 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +138 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanMultipleBarcodes/build.gradle +36 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanMultipleBarcodes/proguard-rules.pro +21 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanMultipleBarcodes/src/main/AndroidManifest.xml +23 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanMultipleBarcodes/src/main/java/com/dynamsoft/scanmultiplebarcodes/MainActivity.java +68 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanMultipleBarcodes/src/main/res/drawable/dbr_icon.xml +21 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanMultipleBarcodes/src/main/res/layout/activity_main.xml +27 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanMultipleBarcodes/src/main/res/values/colors.xml +5 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanMultipleBarcodes/src/main/res/values/strings.xml +3 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanMultipleBarcodes/src/main/res/values/themes.xml +5 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanSingleBarcode/build.gradle +36 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanSingleBarcode/proguard-rules.pro +21 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanSingleBarcode/src/main/AndroidManifest.xml +24 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanSingleBarcode/src/main/java/com/dynamsoft/scansinglebarcode/MainActivity.java +76 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanSingleBarcode/src/main/res/drawable/dbr_icon.xml +21 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanSingleBarcode/src/main/res/layout/activity_main.xml +27 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanSingleBarcode/src/main/res/values/colors.xml +5 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanSingleBarcode/src/main/res/values/strings.xml +3 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanSingleBarcode/src/main/res/values/themes.xml +5 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanSingleBarcodeKt/build.gradle +43 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanSingleBarcodeKt/proguard-rules.pro +21 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanSingleBarcodeKt/src/main/AndroidManifest.xml +22 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanSingleBarcodeKt/src/main/java/com/dynamsoft/scansinglebarcodekt/MainActivity.kt +73 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanSingleBarcodeKt/src/main/res/drawable/dbr_icon.xml +21 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanSingleBarcodeKt/src/main/res/layout/activity_main.xml +27 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanSingleBarcodeKt/src/main/res/values/colors.xml +5 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanSingleBarcodeKt/src/main/res/values/strings.xml +3 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanSingleBarcodeKt/src/main/res/values/themes.xml +5 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/build.gradle +37 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/proguard-rules.pro +21 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/AndroidManifest.xml +27 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/assets/Templates/ReadAztec.json +91 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/assets/Templates/ReadCommon2D.json +185 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/assets/Templates/ReadDPM.json +138 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/assets/Templates/ReadDataMatrix.json +178 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/assets/Templates/ReadDenseBarcodes.json +138 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/assets/Templates/ReadDotCode.json +130 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/assets/Templates/ReadOneDIndustrial.json +155 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/assets/Templates/ReadOneDRetail.json +148 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/assets/Templates/ReadQR.json +150 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/java/com/dynamsoft/scenarioorientedsamples/HomeActivity.java +86 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/java/com/dynamsoft/scenarioorientedsamples/ResultActivity.java +45 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/java/com/dynamsoft/scenarioorientedsamples/ui/HomeItemAdapter.java +77 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/java/com/dynamsoft/scenarioorientedsamples/ui/HomeItemsRecyclerView.java +75 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/java/com/dynamsoft/scenarioorientedsamples/ui/ModeInfo.java +41 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable/dbr_icon.xml +21 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable/dynamsoft_logo.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable/icon_attention.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable/scan_barcode_icon.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable/setting.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable/shape_home_item1.xml +7 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable/shape_home_item2.xml +7 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-hdpi/any_codes.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-hdpi/aztec_code.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-hdpi/common_2d.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-hdpi/data_matrix.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-hdpi/dot_code.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-hdpi/dpm.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-hdpi/high_density.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-hdpi/industrial.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-hdpi/qr_code.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-hdpi/retail.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-ldpi/any_codes.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-ldpi/aztec_code.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-ldpi/common_2d.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-ldpi/data_matrix.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-ldpi/dot_code.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-ldpi/dpm.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-ldpi/high_density.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-ldpi/industrial.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-ldpi/qr_code.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-ldpi/retail.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-mdpi/any_codes.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-mdpi/aztec_code.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-mdpi/common_2d.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-mdpi/data_matrix.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-mdpi/dot_code.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-mdpi/dpm.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-mdpi/high_density.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-mdpi/industrial.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-mdpi/qr_code.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-mdpi/retail.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xhdpi/any_codes.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xhdpi/aztec_code.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xhdpi/common_2d.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xhdpi/data_matrix.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xhdpi/dot_code.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xhdpi/dpm.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xhdpi/high_density.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xhdpi/industrial.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xhdpi/qr_code.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xhdpi/retail.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xxhdpi/any_codes.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xxhdpi/aztec_code.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xxhdpi/common_2d.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xxhdpi/data_matrix.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xxhdpi/dot_code.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xxhdpi/dpm.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xxhdpi/high_density.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xxhdpi/industrial.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xxhdpi/qr_code.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xxhdpi/retail.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xxxhdpi/any_codes.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xxxhdpi/aztec_code.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xxxhdpi/common_2d.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xxxhdpi/data_matrix.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xxxhdpi/dot_code.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xxxhdpi/dpm.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xxxhdpi/high_density.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xxxhdpi/industrial.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xxxhdpi/qr_code.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xxxhdpi/retail.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/layout/activity_home.xml +96 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/layout/activity_result.xml +17 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/layout/layout_home_item.xml +55 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/values/attr_HomeItemsRecyclerView.xml +9 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/values/colors.xml +16 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/values/dimens.xml +8 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/values/strings.xml +23 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/values/themes.xml +5 -0
- package/code-snippet/android/BarcodeScannerAPISamples/build.gradle +45 -0
- package/code-snippet/android/BarcodeScannerAPISamples/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/gradle/wrapper/gradle-wrapper.properties +6 -0
- package/code-snippet/android/BarcodeScannerAPISamples/gradle.properties +21 -0
- package/code-snippet/android/BarcodeScannerAPISamples/gradlew +185 -0
- package/code-snippet/android/BarcodeScannerAPISamples/gradlew.bat +89 -0
- package/code-snippet/android/BarcodeScannerAPISamples/settings.gradle +19 -0
- package/code-snippet/android/FoundationalAPISamples/Debug/build.gradle +38 -0
- package/code-snippet/android/FoundationalAPISamples/Debug/proguard-rules.pro +21 -0
- package/code-snippet/android/FoundationalAPISamples/Debug/src/main/AndroidManifest.xml +32 -0
- package/code-snippet/android/FoundationalAPISamples/Debug/src/main/java/com/dynamsoft/debug/CaptureActivity.java +256 -0
- package/code-snippet/android/FoundationalAPISamples/Debug/src/main/java/com/dynamsoft/debug/HomeActivity.java +28 -0
- package/code-snippet/android/FoundationalAPISamples/Debug/src/main/java/com/dynamsoft/debug/settings/PreferencesConstants.java +12 -0
- package/code-snippet/android/FoundationalAPISamples/Debug/src/main/java/com/dynamsoft/debug/settings/SettingsActivity.java +47 -0
- package/code-snippet/android/FoundationalAPISamples/Debug/src/main/res/drawable/arrow_back_24.xml +5 -0
- package/code-snippet/android/FoundationalAPISamples/Debug/src/main/res/drawable/dbr_icon.xml +21 -0
- package/code-snippet/android/FoundationalAPISamples/Debug/src/main/res/drawable/dynamsoft_logo.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/Debug/src/main/res/drawable/icon_attention.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/Debug/src/main/res/drawable/setting.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/Debug/src/main/res/layout/activity_capture.xml +54 -0
- package/code-snippet/android/FoundationalAPISamples/Debug/src/main/res/layout/activity_home.xml +84 -0
- package/code-snippet/android/FoundationalAPISamples/Debug/src/main/res/layout/activity_settings.xml +17 -0
- package/code-snippet/android/FoundationalAPISamples/Debug/src/main/res/layout/layout_appbar.xml +19 -0
- package/code-snippet/android/FoundationalAPISamples/Debug/src/main/res/menu/main_menu.xml +11 -0
- package/code-snippet/android/FoundationalAPISamples/Debug/src/main/res/values/arrays.xml +20 -0
- package/code-snippet/android/FoundationalAPISamples/Debug/src/main/res/values/colors.xml +11 -0
- package/code-snippet/android/FoundationalAPISamples/Debug/src/main/res/values/strings.xml +17 -0
- package/code-snippet/android/FoundationalAPISamples/Debug/src/main/res/values/themes.xml +19 -0
- package/code-snippet/android/FoundationalAPISamples/Debug/src/main/res/xml/root_preferences.xml +28 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/build.gradle +41 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/proguard-rules.pro +21 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/AndroidManifest.xml +38 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/assets/Templates/ReadFromAnImage.json +118 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/assets/image/AllSupportedBarcodeTypes.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/assets/image/BarcodeColorMode.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/assets/image/DamagedBarcodes.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/assets/image/batch-scan.jpg +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/assets/image/blurryEffect_DPM.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/java/com/dynamsoft/dbr/decodefromanimage/MainActivity.java +199 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/java/com/dynamsoft/dbr/decodefromanimage/ui/ThumbnailsRecyclerView.java +219 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/java/com/dynamsoft/dbr/decodefromanimage/ui/resultsview/CustomizedResultsDisplayView.java +142 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/java/com/dynamsoft/dbr/decodefromanimage/ui/resultsview/ResultsRecyclerView.java +91 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/java/com/dynamsoft/dbr/decodefromanimage/utils/BitmapUtils.java +74 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/java/com/dynamsoft/dbr/decodefromanimage/utils/UriUtils.java +116 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable/boundary.xml +7 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable/dashed_border.xml +10 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable/dbr_icon.xml +21 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable/image_button_state.xml +19 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-hdpi/arrow.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-hdpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-hdpi/gallery_import.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-hdpi/take_photo.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-ldpi/arrow.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-ldpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-ldpi/gallery_import.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-ldpi/take_photo.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-mdpi/arrow.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-mdpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-mdpi/gallery_import.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-mdpi/take_photo.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-xhdpi/arrow.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-xhdpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-xhdpi/gallery_import.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-xhdpi/take_photo.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-xxhdpi/arrow.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-xxhdpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-xxhdpi/gallery_import.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-xxhdpi/take_photo.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-xxxhdpi/arrow.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-xxxhdpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-xxxhdpi/gallery_import.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-xxxhdpi/take_photo.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/layout/activity_main.xml +155 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/layout/item_result.xml +41 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/layout/item_thumbnail.xml +23 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/layout/results_view.xml +60 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/values/attr_customized.xml +7 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/values/colors.xml +11 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/values/strings.xml +19 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/values/themes.xml +12 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/xml/dynamsoft_file_paths.xml +6 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/build.gradle +38 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/proguard-rules.pro +21 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/AndroidManifest.xml +29 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/java/com/dynamsoft/dbr/decodewithcameraenhancer/HomeActivity.java +17 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/java/com/dynamsoft/dbr/decodewithcameraenhancer/MainActivity.java +111 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/java/com/dynamsoft/dbr/decodewithcameraenhancer/ui/resultsview/CustomizedResultsDisplayView.java +80 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/java/com/dynamsoft/dbr/decodewithcameraenhancer/ui/resultsview/ResultsRecyclerView.java +91 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/res/drawable/dbr_icon.xml +21 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/res/drawable/dynamsoft_logo.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/res/drawable-hdpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/res/drawable-ldpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/res/drawable-mdpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/res/drawable-xhdpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/res/drawable-xxhdpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/res/drawable-xxxhdpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/res/layout/activity_home.xml +84 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/res/layout/activity_main.xml +22 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/res/layout/item_result.xml +41 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/res/layout/results_view.xml +48 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/res/values/attr_customized.xml +7 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/res/values/colors.xml +8 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/res/values/strings.xml +11 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/res/values/themes.xml +18 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/res/xml/backup_rules.xml +13 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/res/xml/data_extraction_rules.xml +19 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/build.gradle +44 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/proguard-rules.pro +21 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/AndroidManifest.xml +31 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/java/com/dynamsoft/dbr/decodewithcamerax/CameraXImageSourceAdapter.java +64 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/java/com/dynamsoft/dbr/decodewithcamerax/HomeActivity.java +16 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/java/com/dynamsoft/dbr/decodewithcamerax/MainActivity.java +134 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/java/com/dynamsoft/dbr/decodewithcamerax/ui/PreviewWithDrawingQuads.java +94 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/java/com/dynamsoft/dbr/decodewithcamerax/ui/resultsview/CustomizedResultsDisplayView.java +80 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/java/com/dynamsoft/dbr/decodewithcamerax/ui/resultsview/ResultsRecyclerView.java +91 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/res/drawable/dbr_icon.xml +21 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/res/drawable/dynamsoft_logo.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/res/drawable-hdpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/res/drawable-ldpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/res/drawable-mdpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/res/drawable-xhdpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/res/drawable-xxhdpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/res/drawable-xxxhdpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/res/layout/activity_home.xml +84 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/res/layout/activity_main.xml +23 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/res/layout/item_result.xml +41 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/res/layout/results_view.xml +48 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/res/values/attr_customized.xml +7 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/res/values/colors.xml +8 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/res/values/strings.xml +10 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/res/values/themes.xml +18 -0
- package/code-snippet/android/FoundationalAPISamples/DriversLicenseScanner/build.gradle +35 -0
- package/code-snippet/android/FoundationalAPISamples/DriversLicenseScanner/proguard-rules.pro +21 -0
- package/code-snippet/android/FoundationalAPISamples/DriversLicenseScanner/src/main/AndroidManifest.xml +30 -0
- package/code-snippet/android/FoundationalAPISamples/DriversLicenseScanner/src/main/java/com/dynamsoft/dcv/driverslicensescanner/HomeActivity.java +17 -0
- package/code-snippet/android/FoundationalAPISamples/DriversLicenseScanner/src/main/java/com/dynamsoft/dcv/driverslicensescanner/MainActivity.java +133 -0
- package/code-snippet/android/FoundationalAPISamples/DriversLicenseScanner/src/main/java/com/dynamsoft/dcv/driverslicensescanner/ParseUtil.java +107 -0
- package/code-snippet/android/FoundationalAPISamples/DriversLicenseScanner/src/main/java/com/dynamsoft/dcv/driverslicensescanner/ResultActivity.java +46 -0
- package/code-snippet/android/FoundationalAPISamples/DriversLicenseScanner/src/main/res/drawable/dbr_icon.xml +21 -0
- package/code-snippet/android/FoundationalAPISamples/DriversLicenseScanner/src/main/res/drawable/dynamsoft_logo.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DriversLicenseScanner/src/main/res/layout/activity_home.xml +84 -0
- package/code-snippet/android/FoundationalAPISamples/DriversLicenseScanner/src/main/res/layout/activity_main.xml +32 -0
- package/code-snippet/android/FoundationalAPISamples/DriversLicenseScanner/src/main/res/layout/activity_result.xml +15 -0
- package/code-snippet/android/FoundationalAPISamples/DriversLicenseScanner/src/main/res/values/colors.xml +8 -0
- package/code-snippet/android/FoundationalAPISamples/DriversLicenseScanner/src/main/res/values/strings.xml +7 -0
- package/code-snippet/android/FoundationalAPISamples/DriversLicenseScanner/src/main/res/values/themes.xml +12 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/build.gradle +47 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/proguard-rules.pro +21 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/AndroidManifest.xml +37 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/home/HomeActivity.java +37 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/models/CameraSettings.java +45 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/models/DecodeSettings.java +279 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/models/MultiFrameCrossFilterSettings.java +59 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/models/ResultFeedbackSettings.java +31 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/models/SettingsCache.java +49 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/scanner/ScannerActivity.java +225 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/scanner/ScannerViewModel.java +67 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/settings/OnItemClickListener.java +5 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/settings/SettingsActivity.java +37 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/settings/SettingsFragment.java +160 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/settings/SettingsViewModel.java +49 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/settings/barcodeformat/BarcodeFormatsFragment.java +65 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/settings/barcodeformat/BarcodeFormatsViewModel.java +61 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/settings/simplifiedsettings/SimplifiedSettingsFragment.java +60 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/settings/simplifiedsettings/SimplifiedSettingsViewModel.java +24 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/ui/CustomResultDisplayView.java +56 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/ui/ExpandLinearLayout.java +220 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/ui/Extension.java +27 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/ui/RadioGroupWithTitle.java +145 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/ui/ResultsRecyclerView.java +91 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/ui/SingleLineLayout.java +302 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/ui/formatselection/BarcodeFormatConstants.java +80 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/ui/formatselection/FormatSelectionAdapter.java +122 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/ui/formatselection/FormatSelectionView.java +98 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/ui/modeselection/ItemTouchHelperInter.java +7 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/ui/modeselection/ModeSelectionAdapter.java +174 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/ui/modeselection/ModeSelectionView.java +98 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/ui/modeselection/ModesMapConstant.java +55 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/ui/modeselection/MyTouchHelperCallBack.java +45 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/anim/enter_pop_slide.xml +12 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/anim/enter_slide.xml +12 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/anim/exit_pop_slide.xml +12 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/anim/exit_slide.xml +12 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable/arrow_back_24.xml +5 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable/dbr_icon.xml +21 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable/dynamsoft_logo.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable/icon_right_transparent.xml +4 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable/selector_checkbox.xml +6 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable/selector_checkbox2.xml +5 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable/selector_checktext_textcolor.xml +5 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable/selector_radiobutton_selected.xml +13 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable/selector_radiobutton_textcolor.xml +5 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable/selector_switch_track.xml +20 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable/setting.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable/shape_circle_conner_dialog.xml +8 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable/shape_radio_group.xml +8 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-hdpi/arrow_circle_down.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-hdpi/arrow_circle_up.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-hdpi/arrow_orange_right.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-hdpi/arrow_orange_up.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-hdpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-hdpi/icon_info.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-hdpi/icon_right.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-hdpi/icon_right_grey.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-ldpi/arrow_circle_down.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-ldpi/arrow_circle_up.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-ldpi/arrow_orange_right.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-ldpi/arrow_orange_up.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-ldpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-ldpi/icon_info.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-ldpi/icon_right.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-ldpi/icon_right_grey.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-mdpi/arrow_circle_down.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-mdpi/arrow_circle_up.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-mdpi/arrow_orange_right.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-mdpi/arrow_orange_up.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-mdpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-mdpi/icon_info.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-mdpi/icon_right.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-mdpi/icon_right_grey.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xhdpi/arrow_circle_down.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xhdpi/arrow_circle_up.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xhdpi/arrow_orange_right.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xhdpi/arrow_orange_up.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xhdpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xhdpi/icon_info.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xhdpi/icon_right.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xhdpi/icon_right_grey.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xxhdpi/arrow_circle_down.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xxhdpi/arrow_circle_up.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xxhdpi/arrow_orange_right.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xxhdpi/arrow_orange_up.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xxhdpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xxhdpi/icon_info.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xxhdpi/icon_right.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xxhdpi/icon_right_grey.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xxxhdpi/arrow_circle_down.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xxxhdpi/arrow_circle_up.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xxxhdpi/arrow_orange_right.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xxxhdpi/arrow_orange_up.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xxxhdpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xxxhdpi/icon_info.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xxxhdpi/icon_right.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xxxhdpi/icon_right_grey.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/layout/activity_home.xml +84 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/layout/activity_main.xml +41 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/layout/activity_settings.xml +20 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/layout/dialog_import_template.xml +44 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/layout/format_selection.xml +8 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/layout/fragment_barcode_format.xml +101 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/layout/fragment_settings.xml +305 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/layout/fragment_simplified_settings.xml +149 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/layout/item_result.xml +42 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/layout/layout_appbar.xml +19 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/layout/layout_expand_arrow_and_switch.xml +58 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/layout/layout_expand_arrow_only.xml +45 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/layout/layout_expand_switch_only.xml +44 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/layout/layout_radio_group_with_title.xml +46 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/layout/layout_single_line.xml +33 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/layout/modes_selection_spinner_item.xml +17 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/layout/modes_selection_spinner_text.xml +13 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/layout/results_view.xml +48 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/menu/menu_main.xml +11 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/values/array.xml +14 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/values/attrs_customized.xml +65 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/values/colors.xml +23 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/values/dimens.xml +20 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/values/spinner_items.xml +10 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/values/strings.xml +112 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/values/themes.xml +29 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/xml/backup_rules.xml +13 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/xml/data_extraction_rules.xml +19 -0
- package/code-snippet/android/FoundationalAPISamples/LocateAnItemWithBarcode/build.gradle +39 -0
- package/code-snippet/android/FoundationalAPISamples/LocateAnItemWithBarcode/proguard-rules.pro +21 -0
- package/code-snippet/android/FoundationalAPISamples/LocateAnItemWithBarcode/src/main/AndroidManifest.xml +28 -0
- package/code-snippet/android/FoundationalAPISamples/LocateAnItemWithBarcode/src/main/assets/Templates/ReadMultipleBarcodes.json +116 -0
- package/code-snippet/android/FoundationalAPISamples/LocateAnItemWithBarcode/src/main/java/com/dynamsoft/dbr/locateanitemwithbarcode/LocateGrabCodeActivity.java +87 -0
- package/code-snippet/android/FoundationalAPISamples/LocateAnItemWithBarcode/src/main/java/com/dynamsoft/dbr/locateanitemwithbarcode/LocateScanActivity.java +162 -0
- package/code-snippet/android/FoundationalAPISamples/LocateAnItemWithBarcode/src/main/java/com/dynamsoft/dbr/locateanitemwithbarcode/LocateStartActivity.java +53 -0
- package/code-snippet/android/FoundationalAPISamples/LocateAnItemWithBarcode/src/main/res/drawable/arrow_back_24.xml +5 -0
- package/code-snippet/android/FoundationalAPISamples/LocateAnItemWithBarcode/src/main/res/drawable/dbr_icon.xml +21 -0
- package/code-snippet/android/FoundationalAPISamples/LocateAnItemWithBarcode/src/main/res/drawable/dynamsoft_logo.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/LocateAnItemWithBarcode/src/main/res/drawable/ic_launcher_background.xml +170 -0
- package/code-snippet/android/FoundationalAPISamples/LocateAnItemWithBarcode/src/main/res/drawable/scan_barcode_icon.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/LocateAnItemWithBarcode/src/main/res/layout/activity_grab_code.xml +23 -0
- package/code-snippet/android/FoundationalAPISamples/LocateAnItemWithBarcode/src/main/res/layout/activity_locate_start.xml +94 -0
- package/code-snippet/android/FoundationalAPISamples/LocateAnItemWithBarcode/src/main/res/layout/activity_scanner.xml +34 -0
- package/code-snippet/android/FoundationalAPISamples/LocateAnItemWithBarcode/src/main/res/values/colors.xml +35 -0
- package/code-snippet/android/FoundationalAPISamples/LocateAnItemWithBarcode/src/main/res/values/strings.xml +10 -0
- package/code-snippet/android/FoundationalAPISamples/LocateAnItemWithBarcode/src/main/res/values/themes.xml +8 -0
- package/code-snippet/android/FoundationalAPISamples/ReadGS1AI/build.gradle +34 -0
- package/code-snippet/android/FoundationalAPISamples/ReadGS1AI/proguard-rules.pro +21 -0
- package/code-snippet/android/FoundationalAPISamples/ReadGS1AI/src/main/AndroidManifest.xml +27 -0
- package/code-snippet/android/FoundationalAPISamples/ReadGS1AI/src/main/assets/Templates/ReadGS1AIBarcode.json +135 -0
- package/code-snippet/android/FoundationalAPISamples/ReadGS1AI/src/main/java/com/dynamsoft/readgs1ai/HomeActivity.java +17 -0
- package/code-snippet/android/FoundationalAPISamples/ReadGS1AI/src/main/java/com/dynamsoft/readgs1ai/MainActivity.java +178 -0
- package/code-snippet/android/FoundationalAPISamples/ReadGS1AI/src/main/res/drawable/dbr_icon.xml +21 -0
- package/code-snippet/android/FoundationalAPISamples/ReadGS1AI/src/main/res/drawable/dynamsoft_logo.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/ReadGS1AI/src/main/res/layout/activity_home.xml +84 -0
- package/code-snippet/android/FoundationalAPISamples/ReadGS1AI/src/main/res/layout/activity_main.xml +19 -0
- package/code-snippet/android/FoundationalAPISamples/ReadGS1AI/src/main/res/values/colors.xml +8 -0
- package/code-snippet/android/FoundationalAPISamples/ReadGS1AI/src/main/res/values/strings.xml +7 -0
- package/code-snippet/android/FoundationalAPISamples/ReadGS1AI/src/main/res/values/themes.xml +11 -0
- package/code-snippet/android/FoundationalAPISamples/TinyBarcodeDecoding/build.gradle +39 -0
- package/code-snippet/android/FoundationalAPISamples/TinyBarcodeDecoding/proguard-rules.pro +21 -0
- package/code-snippet/android/FoundationalAPISamples/TinyBarcodeDecoding/src/main/AndroidManifest.xml +32 -0
- package/code-snippet/android/FoundationalAPISamples/TinyBarcodeDecoding/src/main/java/com/dynamsoft/dbr/tinybarcodedecoding/HomeActivity.java +17 -0
- package/code-snippet/android/FoundationalAPISamples/TinyBarcodeDecoding/src/main/java/com/dynamsoft/dbr/tinybarcodedecoding/MainActivity.java +257 -0
- package/code-snippet/android/FoundationalAPISamples/TinyBarcodeDecoding/src/main/java/com/dynamsoft/dbr/tinybarcodedecoding/UIHandler.java +14 -0
- package/code-snippet/android/FoundationalAPISamples/TinyBarcodeDecoding/src/main/java/com/dynamsoft/dbr/tinybarcodedecoding/ZoomSeekbarView.java +191 -0
- package/code-snippet/android/FoundationalAPISamples/TinyBarcodeDecoding/src/main/res/drawable/dbr_icon.xml +21 -0
- package/code-snippet/android/FoundationalAPISamples/TinyBarcodeDecoding/src/main/res/drawable/dynamsoft_logo.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/TinyBarcodeDecoding/src/main/res/drawable/ic_baseline_shape.xml +5 -0
- package/code-snippet/android/FoundationalAPISamples/TinyBarcodeDecoding/src/main/res/drawable/shape_circle_bg.xml +16 -0
- package/code-snippet/android/FoundationalAPISamples/TinyBarcodeDecoding/src/main/res/layout/activity_home.xml +84 -0
- package/code-snippet/android/FoundationalAPISamples/TinyBarcodeDecoding/src/main/res/layout/activity_main.xml +77 -0
- package/code-snippet/android/FoundationalAPISamples/TinyBarcodeDecoding/src/main/res/values/colors.xml +8 -0
- package/code-snippet/android/FoundationalAPISamples/TinyBarcodeDecoding/src/main/res/values/strings.xml +10 -0
- package/code-snippet/android/FoundationalAPISamples/TinyBarcodeDecoding/src/main/res/values/themes.xml +12 -0
- package/code-snippet/android/FoundationalAPISamples/TinyBarcodeDecoding/src/main/res/xml/backup_rules.xml +13 -0
- package/code-snippet/android/FoundationalAPISamples/TinyBarcodeDecoding/src/main/res/xml/data_extraction_rules.xml +19 -0
- package/code-snippet/android/FoundationalAPISamples/build.gradle +42 -0
- package/code-snippet/android/FoundationalAPISamples/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/code-snippet/android/FoundationalAPISamples/gradle/wrapper/gradle-wrapper.properties +6 -0
- package/code-snippet/android/FoundationalAPISamples/gradle.properties +21 -0
- package/code-snippet/android/FoundationalAPISamples/gradlew +185 -0
- package/code-snippet/android/FoundationalAPISamples/gradlew.bat +89 -0
- package/code-snippet/android/FoundationalAPISamples/settings.gradle +18 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanMultipleBarcodes/ScanMultipleBarcodes/AppDelegate.swift +35 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanMultipleBarcodes/ScanMultipleBarcodes/Assets.xcassets/AccentColor.colorset/Contents.json +11 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanMultipleBarcodes/ScanMultipleBarcodes/Assets.xcassets/AppIcon.appiconset/Contents.json +36 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanMultipleBarcodes/ScanMultipleBarcodes/Assets.xcassets/AppIcon.appiconset/dbr.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanMultipleBarcodes/ScanMultipleBarcodes/Assets.xcassets/Contents.json +6 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanMultipleBarcodes/ScanMultipleBarcodes/Base.lproj/LaunchScreen.storyboard +25 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanMultipleBarcodes/ScanMultipleBarcodes/Base.lproj/Main.storyboard +52 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanMultipleBarcodes/ScanMultipleBarcodes/DynamsoftResources.bundle/Templates/ReadMultipleBarcodes.json +139 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanMultipleBarcodes/ScanMultipleBarcodes/Info.plist +25 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanMultipleBarcodes/ScanMultipleBarcodes/SceneDelegate.swift +51 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanMultipleBarcodes/ScanMultipleBarcodes/ViewController.swift +161 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanMultipleBarcodes/ScanMultipleBarcodes.xcodeproj/project.pbxproj +422 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcode/ScanSingleBarcode/AppDelegate.swift +35 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcode/ScanSingleBarcode/Assets.xcassets/AccentColor.colorset/Contents.json +11 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcode/ScanSingleBarcode/Assets.xcassets/AppIcon.appiconset/Contents.json +36 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcode/ScanSingleBarcode/Assets.xcassets/AppIcon.appiconset/dbr.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcode/ScanSingleBarcode/Assets.xcassets/Contents.json +6 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcode/ScanSingleBarcode/Base.lproj/LaunchScreen.storyboard +25 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcode/ScanSingleBarcode/Base.lproj/Main.storyboard +52 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcode/ScanSingleBarcode/DynamsoftResources.bundle/Templates/ReadSingleBarcode.json +105 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcode/ScanSingleBarcode/Info.plist +25 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcode/ScanSingleBarcode/SceneDelegate.swift +51 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcode/ScanSingleBarcode/ViewController.swift +115 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcode/ScanSingleBarcode.xcodeproj/project.pbxproj +422 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeObjc/ScanSingleBarcodeObjc/AppDelegate.h +13 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeObjc/ScanSingleBarcodeObjc/AppDelegate.m +39 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeObjc/ScanSingleBarcodeObjc/Assets.xcassets/AccentColor.colorset/Contents.json +11 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeObjc/ScanSingleBarcodeObjc/Assets.xcassets/AppIcon.appiconset/Contents.json +36 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeObjc/ScanSingleBarcodeObjc/Assets.xcassets/AppIcon.appiconset/dbr.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeObjc/ScanSingleBarcodeObjc/Assets.xcassets/Contents.json +6 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeObjc/ScanSingleBarcodeObjc/Base.lproj/LaunchScreen.storyboard +25 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeObjc/ScanSingleBarcodeObjc/Base.lproj/Main.storyboard +52 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeObjc/ScanSingleBarcodeObjc/DynamsoftResources.bundle/Templates/ReadSingleBarcode.json +105 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeObjc/ScanSingleBarcodeObjc/Info.plist +25 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeObjc/ScanSingleBarcodeObjc/SceneDelegate.h +14 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeObjc/ScanSingleBarcodeObjc/SceneDelegate.m +56 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeObjc/ScanSingleBarcodeObjc/ViewController.h +13 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeObjc/ScanSingleBarcodeObjc/ViewController.m +127 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeObjc/ScanSingleBarcodeObjc/main.m +17 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeObjc/ScanSingleBarcodeObjc.xcodeproj/project.pbxproj +426 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeSwiftUI/ScanSingleBarcodeSwiftUI/Assets.xcassets/AccentColor.colorset/Contents.json +11 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeSwiftUI/ScanSingleBarcodeSwiftUI/Assets.xcassets/AppIcon.appiconset/Contents.json +14 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeSwiftUI/ScanSingleBarcodeSwiftUI/Assets.xcassets/AppIcon.appiconset/dbr.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeSwiftUI/ScanSingleBarcodeSwiftUI/Assets.xcassets/Contents.json +6 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeSwiftUI/ScanSingleBarcodeSwiftUI/BarcodeScannerView.swift +66 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeSwiftUI/ScanSingleBarcodeSwiftUI/ContentView.swift +47 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeSwiftUI/ScanSingleBarcodeSwiftUI/Preview Content/Preview Assets.xcassets/Contents.json +6 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeSwiftUI/ScanSingleBarcodeSwiftUI/ScanSingleBarcodeSwiftUIApp.swift +16 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeSwiftUI/ScanSingleBarcodeSwiftUI.xcodeproj/project.pbxproj +377 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/AppDelegate.swift +35 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/AccentColor.colorset/Contents.json +11 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/AppIcon.appiconset/Contents.json +14 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/AppIcon.appiconset/dbr.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/Contents.json +6 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/dynamsoft-logo.imageset/Contents.json +23 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/dynamsoft-logo.imageset/dynamsoft-logo.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/dynamsoft-logo.imageset/dynamsoft-logo@2x.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/dynamsoft-logo.imageset/dynamsoft-logo@3x.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/1d_industrial.imageset/1d_industrial.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/1d_industrial.imageset/1d_industrial@2x.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/1d_industrial.imageset/1d_industrial@3x.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/1d_industrial.imageset/Contents.json +23 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/1d_retail.imageset/1d_retail.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/1d_retail.imageset/1d_retail@2x.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/1d_retail.imageset/1d_retail@3x.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/1d_retail.imageset/Contents.json +23 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/Contents.json +6 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/any_codes.imageset/Contents.json +23 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/any_codes.imageset/common_2d_1d.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/any_codes.imageset/common_2d_1d@2x.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/any_codes.imageset/common_2d_1d@3x.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/aztec_code.imageset/Contents.json +23 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/aztec_code.imageset/aztec_code.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/aztec_code.imageset/aztec_code@2x.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/aztec_code.imageset/aztec_code@3x.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/common_2d.imageset/Contents.json +23 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/common_2d.imageset/common_2d.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/common_2d.imageset/common_2d@2x.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/common_2d.imageset/common_2d@3x.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/data_matrix.imageset/Contents.json +23 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/data_matrix.imageset/data_matrix.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/data_matrix.imageset/data_matrix@2x.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/data_matrix.imageset/data_matrix@3x.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/dot_code.imageset/Contents.json +23 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/dot_code.imageset/dot_code.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/dot_code.imageset/dot_code@2x.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/dot_code.imageset/dot_code@3x.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/dpm_code.imageset/Contents.json +23 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/dpm_code.imageset/dpm.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/dpm_code.imageset/dpm@2x.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/dpm_code.imageset/dpm@3x.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/high_density.imageset/Contents.json +23 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/high_density.imageset/high_density.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/high_density.imageset/high_density@2x.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/high_density.imageset/high_density@3x.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/qr_code.imageset/Contents.json +23 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/qr_code.imageset/qr_code.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/qr_code.imageset/qr_code@2x.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/qr_code.imageset/qr_code@3x.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Base.lproj/LaunchScreen.storyboard +25 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Base.lproj/Main.storyboard +24 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/DynamsoftResources.bundle/Templates/ReadAztec.json +91 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/DynamsoftResources.bundle/Templates/ReadCommon1DAnd2D.json +272 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/DynamsoftResources.bundle/Templates/ReadCommon2D.json +185 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/DynamsoftResources.bundle/Templates/ReadDPM.json +138 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/DynamsoftResources.bundle/Templates/ReadDataMatrix.json +178 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/DynamsoftResources.bundle/Templates/ReadDenseBarcodes.json +138 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/DynamsoftResources.bundle/Templates/ReadDotCode.json +130 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/DynamsoftResources.bundle/Templates/ReadOneDIndustrial.json +155 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/DynamsoftResources.bundle/Templates/ReadOneDRetail.json +148 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/DynamsoftResources.bundle/Templates/ReadQR.json +150 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Info.plist +25 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/ResultViewController.swift +43 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/SceneDelegate.swift +57 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/ViewController.swift +271 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples.xcodeproj/project.pbxproj +426 -0
- package/code-snippet/ios/FoundationalAPISamples/Debug/Debug/AppDelegate.swift +35 -0
- package/code-snippet/ios/FoundationalAPISamples/Debug/Debug/Assets.xcassets/AccentColor.colorset/Contents.json +11 -0
- package/code-snippet/ios/FoundationalAPISamples/Debug/Debug/Assets.xcassets/AppIcon.appiconset/Contents.json +14 -0
- package/code-snippet/ios/FoundationalAPISamples/Debug/Debug/Assets.xcassets/AppIcon.appiconset/dbr.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/Debug/Debug/Assets.xcassets/Contents.json +6 -0
- package/code-snippet/ios/FoundationalAPISamples/Debug/Debug/Assets.xcassets/dynamsoft.imageset/Contents.json +23 -0
- package/code-snippet/ios/FoundationalAPISamples/Debug/Debug/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/Debug/Debug/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo@2x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/Debug/Debug/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo@3x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/Debug/Debug/Base.lproj/LaunchScreen.storyboard +25 -0
- package/code-snippet/ios/FoundationalAPISamples/Debug/Debug/Base.lproj/Main.storyboard +24 -0
- package/code-snippet/ios/FoundationalAPISamples/Debug/Debug/CameraViewController.swift +256 -0
- package/code-snippet/ios/FoundationalAPISamples/Debug/Debug/Info.plist +25 -0
- package/code-snippet/ios/FoundationalAPISamples/Debug/Debug/SceneDelegate.swift +57 -0
- package/code-snippet/ios/FoundationalAPISamples/Debug/Debug/SettingsViewController.swift +234 -0
- package/code-snippet/ios/FoundationalAPISamples/Debug/Debug/ViewController.swift +111 -0
- package/code-snippet/ios/FoundationalAPISamples/Debug/Debug.xcodeproj/project.pbxproj +387 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/AppDelegate.swift +35 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/AccentColor.colorset/Contents.json +11 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/AppIcon.appiconset/Contents.json +35 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/Buttons/Contents.json +6 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/Buttons/bigGallery.imageset/Contents.json +23 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/Buttons/bigGallery.imageset/gallery-import.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/Buttons/bigGallery.imageset/gallery-import@2x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/Buttons/bigGallery.imageset/gallery-import@3x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/Buttons/bigTakePhoto.imageset/Contents.json +23 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/Buttons/bigTakePhoto.imageset/take-photos.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/Buttons/bigTakePhoto.imageset/take-photos@2x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/Buttons/bigTakePhoto.imageset/take-photos@3x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/Buttons/gallery.imageset/Contents.json +23 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/Buttons/gallery.imageset/btn-gallery-import.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/Buttons/gallery.imageset/btn-gallery-import@2x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/Buttons/gallery.imageset/btn-gallery-import@3x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/Buttons/takePhoto.imageset/Contents.json +23 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/Buttons/takePhoto.imageset/btn-take-photos 1.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/Buttons/takePhoto.imageset/btn-take-photos@2x 1.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/Buttons/takePhoto.imageset/btn-take-photos@3x 1.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/Contents.json +6 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/dynamsoft.imageset/Contents.json +23 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo@2x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo@3x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Base.lproj/LaunchScreen.storyboard +25 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Base.lproj/Main.storyboard +52 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Info.plist +25 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Resource/AllSupportedBarcodeTypes.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Resource/BarcodeColorMode.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Resource/DamagedBarcodes.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Resource/ReadFromAnImage.json +118 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Resource/batch-scan.jpg +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Resource/blurryEffect_DPM.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/SceneDelegate.swift +51 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/ViewController.swift +457 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage.xcodeproj/project.pbxproj +389 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithAVCaptureSession/DecodeWithAVCaptureSession/AppDelegate.swift +33 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithAVCaptureSession/DecodeWithAVCaptureSession/Assets.xcassets/AccentColor.colorset/Contents.json +11 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithAVCaptureSession/DecodeWithAVCaptureSession/Assets.xcassets/AppIcon.appiconset/Contents.json +14 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithAVCaptureSession/DecodeWithAVCaptureSession/Assets.xcassets/AppIcon.appiconset/dbr.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithAVCaptureSession/DecodeWithAVCaptureSession/Assets.xcassets/Contents.json +6 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithAVCaptureSession/DecodeWithAVCaptureSession/Assets.xcassets/dynamsoft.imageset/Contents.json +23 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithAVCaptureSession/DecodeWithAVCaptureSession/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithAVCaptureSession/DecodeWithAVCaptureSession/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo@2x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithAVCaptureSession/DecodeWithAVCaptureSession/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo@3x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithAVCaptureSession/DecodeWithAVCaptureSession/Base.lproj/LaunchScreen.storyboard +25 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithAVCaptureSession/DecodeWithAVCaptureSession/Base.lproj/Main.storyboard +24 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithAVCaptureSession/DecodeWithAVCaptureSession/CaptureEnhancer.swift +102 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithAVCaptureSession/DecodeWithAVCaptureSession/CaptureViewController.swift +191 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithAVCaptureSession/DecodeWithAVCaptureSession/Info.plist +25 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithAVCaptureSession/DecodeWithAVCaptureSession/SceneDelegate.swift +57 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithAVCaptureSession/DecodeWithAVCaptureSession/ViewController.swift +111 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithAVCaptureSession/DecodeWithAVCaptureSession.xcodeproj/project.pbxproj +423 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithCameraEnhancer/DecodeWithCameraEnhancer/AppDelegate.swift +33 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithCameraEnhancer/DecodeWithCameraEnhancer/Assets.xcassets/AccentColor.colorset/Contents.json +11 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithCameraEnhancer/DecodeWithCameraEnhancer/Assets.xcassets/AppIcon.appiconset/Contents.json +14 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithCameraEnhancer/DecodeWithCameraEnhancer/Assets.xcassets/AppIcon.appiconset/dbr.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithCameraEnhancer/DecodeWithCameraEnhancer/Assets.xcassets/Contents.json +6 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithCameraEnhancer/DecodeWithCameraEnhancer/Assets.xcassets/dynamsoft.imageset/Contents.json +23 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithCameraEnhancer/DecodeWithCameraEnhancer/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithCameraEnhancer/DecodeWithCameraEnhancer/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo@2x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithCameraEnhancer/DecodeWithCameraEnhancer/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo@3x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithCameraEnhancer/DecodeWithCameraEnhancer/Base.lproj/LaunchScreen.storyboard +25 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithCameraEnhancer/DecodeWithCameraEnhancer/Base.lproj/Main.storyboard +32 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithCameraEnhancer/DecodeWithCameraEnhancer/CameraViewController.swift +170 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithCameraEnhancer/DecodeWithCameraEnhancer/Info.plist +25 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithCameraEnhancer/DecodeWithCameraEnhancer/SceneDelegate.swift +57 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithCameraEnhancer/DecodeWithCameraEnhancer/ViewController.swift +111 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithCameraEnhancer/DecodeWithCameraEnhancer.xcodeproj/project.pbxproj +419 -0
- package/code-snippet/ios/FoundationalAPISamples/DriversLicenseScanner/DriversLicenseScanner/AppDelegate.swift +29 -0
- package/code-snippet/ios/FoundationalAPISamples/DriversLicenseScanner/DriversLicenseScanner/Assets.xcassets/AccentColor.colorset/Contents.json +11 -0
- package/code-snippet/ios/FoundationalAPISamples/DriversLicenseScanner/DriversLicenseScanner/Assets.xcassets/AppIcon.appiconset/Contents.json +14 -0
- package/code-snippet/ios/FoundationalAPISamples/DriversLicenseScanner/DriversLicenseScanner/Assets.xcassets/AppIcon.appiconset/dcv-01.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DriversLicenseScanner/DriversLicenseScanner/Assets.xcassets/Contents.json +6 -0
- package/code-snippet/ios/FoundationalAPISamples/DriversLicenseScanner/DriversLicenseScanner/Assets.xcassets/dynamsoft.imageset/Contents.json +23 -0
- package/code-snippet/ios/FoundationalAPISamples/DriversLicenseScanner/DriversLicenseScanner/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DriversLicenseScanner/DriversLicenseScanner/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo@2x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DriversLicenseScanner/DriversLicenseScanner/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo@3x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DriversLicenseScanner/DriversLicenseScanner/Base.lproj/LaunchScreen.storyboard +25 -0
- package/code-snippet/ios/FoundationalAPISamples/DriversLicenseScanner/DriversLicenseScanner/Base.lproj/Main.storyboard +52 -0
- package/code-snippet/ios/FoundationalAPISamples/DriversLicenseScanner/DriversLicenseScanner/CameraViewController.swift +231 -0
- package/code-snippet/ios/FoundationalAPISamples/DriversLicenseScanner/DriversLicenseScanner/Category/UIDevice+Addition.swift +59 -0
- package/code-snippet/ios/FoundationalAPISamples/DriversLicenseScanner/DriversLicenseScanner/Category/UIView+Frame.swift +80 -0
- package/code-snippet/ios/FoundationalAPISamples/DriversLicenseScanner/DriversLicenseScanner/DriverLicenseResultViewController.swift +168 -0
- package/code-snippet/ios/FoundationalAPISamples/DriversLicenseScanner/DriversLicenseScanner/Info.plist +8 -0
- package/code-snippet/ios/FoundationalAPISamples/DriversLicenseScanner/DriversLicenseScanner/Utils/Dynamsoft.swift +27 -0
- package/code-snippet/ios/FoundationalAPISamples/DriversLicenseScanner/DriversLicenseScanner/ViewController.swift +111 -0
- package/code-snippet/ios/FoundationalAPISamples/DriversLicenseScanner/DriversLicenseScanner.xcodeproj/project.pbxproj +447 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/AppDelegate.swift +35 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/Assets.xcassets/AccentColor.colorset/Contents.json +11 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/Assets.xcassets/AppIcon.appiconset/Contents.json +14 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/Assets.xcassets/AppIcon.appiconset/dbr.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/Assets.xcassets/Contents.json +6 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/Assets.xcassets/arrow-circle/Contents.json +6 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/Assets.xcassets/arrow-circle/arrow-circle-down.imageset/Contents.json +23 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/Assets.xcassets/arrow-circle/arrow-circle-down.imageset/arrow-circle-down.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/Assets.xcassets/arrow-circle/arrow-circle-down.imageset/arrow-circle-down@2x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/Assets.xcassets/arrow-circle/arrow-circle-down.imageset/arrow-circle-down@3x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/Assets.xcassets/arrow-circle/arrow-circle-up.imageset/Contents.json +23 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/Assets.xcassets/arrow-circle/arrow-circle-up.imageset/arrow-circle-up.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/Assets.xcassets/arrow-circle/arrow-circle-up.imageset/arrow-circle-up@2x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/Assets.xcassets/arrow-circle/arrow-circle-up.imageset/arrow-circle-up@3x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/Assets.xcassets/dynamsoft.imageset/Contents.json +23 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo@2x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo@3x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/BarcodeFormatViewController.swift +249 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/Base.lproj/LaunchScreen.storyboard +25 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/Base.lproj/Main.storyboard +24 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/CameraViewController.swift +305 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/DataModel/CustomTableViewCell.swift +234 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/DataModel/Mode+Extension.swift +129 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/DataModel/PickerPopupView.swift +145 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/DataModel/SettingRow.swift +332 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/DataModel/UIColor+Extension.swift +19 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/Info.plist +25 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/SceneDelegate.swift +57 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/SettingsViewController.swift +589 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/SimplifiedSettingsViewController.swift +532 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/ViewController.swift +111 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings.xcodeproj/project.pbxproj +387 -0
- package/code-snippet/ios/FoundationalAPISamples/LocateAnItemWithBarcode/LocateAnItemWithBarcode/AppDelegate.swift +45 -0
- package/code-snippet/ios/FoundationalAPISamples/LocateAnItemWithBarcode/LocateAnItemWithBarcode/Assets.xcassets/AccentColor.colorset/Contents.json +11 -0
- package/code-snippet/ios/FoundationalAPISamples/LocateAnItemWithBarcode/LocateAnItemWithBarcode/Assets.xcassets/AppIcon.appiconset/Contents.json +14 -0
- package/code-snippet/ios/FoundationalAPISamples/LocateAnItemWithBarcode/LocateAnItemWithBarcode/Assets.xcassets/AppIcon.appiconset/dbr.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/LocateAnItemWithBarcode/LocateAnItemWithBarcode/Assets.xcassets/Contents.json +6 -0
- package/code-snippet/ios/FoundationalAPISamples/LocateAnItemWithBarcode/LocateAnItemWithBarcode/Assets.xcassets/dynamsoft.imageset/Contents.json +23 -0
- package/code-snippet/ios/FoundationalAPISamples/LocateAnItemWithBarcode/LocateAnItemWithBarcode/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/LocateAnItemWithBarcode/LocateAnItemWithBarcode/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo@2x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/LocateAnItemWithBarcode/LocateAnItemWithBarcode/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo@3x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/LocateAnItemWithBarcode/LocateAnItemWithBarcode/Assets.xcassets/scan.imageset/Contents.json +23 -0
- package/code-snippet/ios/FoundationalAPISamples/LocateAnItemWithBarcode/LocateAnItemWithBarcode/Assets.xcassets/scan.imageset/scan-barcodes.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/LocateAnItemWithBarcode/LocateAnItemWithBarcode/Assets.xcassets/scan.imageset/scan-barcodes@2x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/LocateAnItemWithBarcode/LocateAnItemWithBarcode/Assets.xcassets/scan.imageset/scan-barcodes@3x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/LocateAnItemWithBarcode/LocateAnItemWithBarcode/Base.lproj/LaunchScreen.storyboard +25 -0
- package/code-snippet/ios/FoundationalAPISamples/LocateAnItemWithBarcode/LocateAnItemWithBarcode/Base.lproj/Main.storyboard +145 -0
- package/code-snippet/ios/FoundationalAPISamples/LocateAnItemWithBarcode/LocateAnItemWithBarcode/CameraViewController.swift +187 -0
- package/code-snippet/ios/FoundationalAPISamples/LocateAnItemWithBarcode/LocateAnItemWithBarcode/Info.plist +25 -0
- package/code-snippet/ios/FoundationalAPISamples/LocateAnItemWithBarcode/LocateAnItemWithBarcode/ReadMultipleBarcodes.json +116 -0
- package/code-snippet/ios/FoundationalAPISamples/LocateAnItemWithBarcode/LocateAnItemWithBarcode/SceneDelegate.swift +51 -0
- package/code-snippet/ios/FoundationalAPISamples/LocateAnItemWithBarcode/LocateAnItemWithBarcode/ViewController.swift +55 -0
- package/code-snippet/ios/FoundationalAPISamples/LocateAnItemWithBarcode/LocateAnItemWithBarcode.xcodeproj/project.pbxproj +429 -0
- package/code-snippet/ios/FoundationalAPISamples/ReadGS1AI/ReadGS1AI/AppDelegate.swift +35 -0
- package/code-snippet/ios/FoundationalAPISamples/ReadGS1AI/ReadGS1AI/Assets.xcassets/AccentColor.colorset/Contents.json +11 -0
- package/code-snippet/ios/FoundationalAPISamples/ReadGS1AI/ReadGS1AI/Assets.xcassets/AppIcon.appiconset/Contents.json +14 -0
- package/code-snippet/ios/FoundationalAPISamples/ReadGS1AI/ReadGS1AI/Assets.xcassets/AppIcon.appiconset/dbr.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/ReadGS1AI/ReadGS1AI/Assets.xcassets/Contents.json +6 -0
- package/code-snippet/ios/FoundationalAPISamples/ReadGS1AI/ReadGS1AI/Assets.xcassets/dynamsoft.imageset/Contents.json +23 -0
- package/code-snippet/ios/FoundationalAPISamples/ReadGS1AI/ReadGS1AI/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/ReadGS1AI/ReadGS1AI/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo@2x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/ReadGS1AI/ReadGS1AI/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo@3x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/ReadGS1AI/ReadGS1AI/Base.lproj/LaunchScreen.storyboard +25 -0
- package/code-snippet/ios/FoundationalAPISamples/ReadGS1AI/ReadGS1AI/Base.lproj/Main.storyboard +24 -0
- package/code-snippet/ios/FoundationalAPISamples/ReadGS1AI/ReadGS1AI/CameraViewController.swift +114 -0
- package/code-snippet/ios/FoundationalAPISamples/ReadGS1AI/ReadGS1AI/DynamsoftResources.bundle/Root.plist +61 -0
- package/code-snippet/ios/FoundationalAPISamples/ReadGS1AI/ReadGS1AI/DynamsoftResources.bundle/Templates/ReadGS1AI.json +135 -0
- package/code-snippet/ios/FoundationalAPISamples/ReadGS1AI/ReadGS1AI/DynamsoftResources.bundle/en.lproj/Root.strings +0 -0
- package/code-snippet/ios/FoundationalAPISamples/ReadGS1AI/ReadGS1AI/Info.plist +25 -0
- package/code-snippet/ios/FoundationalAPISamples/ReadGS1AI/ReadGS1AI/SceneDelegate.swift +57 -0
- package/code-snippet/ios/FoundationalAPISamples/ReadGS1AI/ReadGS1AI/ViewController.swift +111 -0
- package/code-snippet/ios/FoundationalAPISamples/ReadGS1AI/ReadGS1AI.xcodeproj/project.pbxproj +389 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/AppDelegate.swift +20 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/Assets.xcassets/AccentColor.colorset/Contents.json +11 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/Assets.xcassets/AppIcon.appiconset/Contents.json +14 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/Assets.xcassets/AppIcon.appiconset/dbr.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/Assets.xcassets/Contents.json +6 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/Assets.xcassets/dynamsoft.imageset/Contents.json +23 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo@2x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo@3x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/Assets.xcassets/icon_arrow_camera_zoom_close.imageset/Contents.json +22 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/Assets.xcassets/icon_arrow_camera_zoom_close.imageset/icon_arrow_camera_zoom_close@2x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/Assets.xcassets/icon_arrow_camera_zoom_close.imageset/icon_arrow_camera_zoom_close@3x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/Base.lproj/LaunchScreen.storyboard +25 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/Base.lproj/Main.storyboard +52 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/CameraViewController.swift +231 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/Category/UIDevice+Addition.swift +58 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/Category/UIView+Frame.swift +60 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/Info.plist +8 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/TinyBarcodeDecoding-Bridging-Header.h +4 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/Utils/Dynamsoft.swift +53 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/ViewController.swift +111 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/Views/CameraSettingView.swift +71 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/Views/CameraZoomFloatingButton.swift +56 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/Views/CameraZoomSlider.swift +104 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding.xcodeproj/project.pbxproj +473 -0
- package/data/dynamsoft_sdks.json +118 -0
- package/package.json +32 -0
- package/src/index.js +832 -0
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
package com.dynamsoft.dbr.decodefromanimage;
|
|
2
|
+
|
|
3
|
+
import android.content.pm.PackageManager;
|
|
4
|
+
import android.graphics.Bitmap;
|
|
5
|
+
import android.graphics.drawable.BitmapDrawable;
|
|
6
|
+
import android.graphics.drawable.Drawable;
|
|
7
|
+
import android.net.Uri;
|
|
8
|
+
import android.os.Bundle;
|
|
9
|
+
import android.util.Log;
|
|
10
|
+
import android.view.View;
|
|
11
|
+
import android.widget.ImageView;
|
|
12
|
+
|
|
13
|
+
import androidx.activity.result.ActivityResultLauncher;
|
|
14
|
+
import androidx.activity.result.contract.ActivityResultContracts;
|
|
15
|
+
import androidx.annotation.MainThread;
|
|
16
|
+
import androidx.annotation.NonNull;
|
|
17
|
+
import androidx.appcompat.app.AlertDialog;
|
|
18
|
+
import androidx.appcompat.app.AppCompatActivity;
|
|
19
|
+
import androidx.core.app.ActivityCompat;
|
|
20
|
+
import androidx.core.graphics.Insets;
|
|
21
|
+
import androidx.core.view.ViewCompat;
|
|
22
|
+
import androidx.core.view.WindowInsetsCompat;
|
|
23
|
+
|
|
24
|
+
import com.bumptech.glide.Glide;
|
|
25
|
+
import com.dynamsoft.core.basic_structures.EnumErrorCode;
|
|
26
|
+
import com.dynamsoft.cvr.CaptureVisionRouter;
|
|
27
|
+
import com.dynamsoft.cvr.CaptureVisionRouterException;
|
|
28
|
+
import com.dynamsoft.cvr.CapturedResult;
|
|
29
|
+
import com.dynamsoft.cvr.EnumPresetTemplate;
|
|
30
|
+
import com.dynamsoft.dbr.DecodedBarcodesResult;
|
|
31
|
+
import com.dynamsoft.dbr.decodefromanimage.databinding.ActivityMainBinding;
|
|
32
|
+
import com.dynamsoft.dbr.decodefromanimage.ui.ThumbnailsRecyclerView;
|
|
33
|
+
import com.dynamsoft.dbr.decodefromanimage.utils.BitmapUtils;
|
|
34
|
+
import com.dynamsoft.dbr.decodefromanimage.utils.UriUtils;
|
|
35
|
+
import com.dynamsoft.license.LicenseManager;
|
|
36
|
+
|
|
37
|
+
import java.util.Arrays;
|
|
38
|
+
import java.util.Locale;
|
|
39
|
+
import java.util.Objects;
|
|
40
|
+
import java.util.concurrent.ExecutorService;
|
|
41
|
+
import java.util.concurrent.Executors;
|
|
42
|
+
|
|
43
|
+
public class MainActivity extends AppCompatActivity implements ThumbnailsRecyclerView.OnItemSelectedListener {
|
|
44
|
+
private static final String TAG = "MainActivity";
|
|
45
|
+
private static final int REQUEST_CAMERA_CODE = 1024;
|
|
46
|
+
private ActivityMainBinding binding;
|
|
47
|
+
private CaptureVisionRouter mRouter;
|
|
48
|
+
private final ExecutorService mDecodeThreadExecutor = Executors.newSingleThreadExecutor();
|
|
49
|
+
|
|
50
|
+
private final ActivityResultLauncher<String> galleryLauncher
|
|
51
|
+
= registerForActivityResult(new ActivityResultContracts.GetContent(), uri -> {
|
|
52
|
+
if (uri != null) {
|
|
53
|
+
binding.thumbnailsView.addUriAndSelect(uri);
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
|
|
57
|
+
private Uri mCameraPhotoUri = null;
|
|
58
|
+
private final ActivityResultLauncher<Uri> takePhotoLauncher
|
|
59
|
+
= registerForActivityResult(new ActivityResultContracts.TakePicture(), isPhotoTaken -> {
|
|
60
|
+
if (isPhotoTaken) {
|
|
61
|
+
binding.thumbnailsView.addUriAndSelect(mCameraPhotoUri);
|
|
62
|
+
}
|
|
63
|
+
});
|
|
64
|
+
|
|
65
|
+
@Override
|
|
66
|
+
protected void onCreate(Bundle savedInstanceState) {
|
|
67
|
+
super.onCreate(savedInstanceState);
|
|
68
|
+
binding = ActivityMainBinding.inflate(getLayoutInflater());
|
|
69
|
+
setContentView(binding.getRoot());
|
|
70
|
+
|
|
71
|
+
ViewCompat.setOnApplyWindowInsetsListener(binding.getRoot(), (v, insets) -> {
|
|
72
|
+
Insets systemBars = insets.getInsets(WindowInsetsCompat.Type.systemBars());
|
|
73
|
+
v.setPadding(systemBars.left, systemBars.top, systemBars.right, systemBars.bottom);
|
|
74
|
+
return insets;
|
|
75
|
+
});
|
|
76
|
+
|
|
77
|
+
if (savedInstanceState == null) {
|
|
78
|
+
// Initialize the license.
|
|
79
|
+
// The license string here is a trial license. Note that network connection is required for this license to work.
|
|
80
|
+
// You can request an extension via the following link: https://www.dynamsoft.com/customer/license/trialLicense?product=dbr&utm_source=samples&package=android
|
|
81
|
+
LicenseManager.initLicense("DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9", (isSuccess, error) -> {
|
|
82
|
+
if (!isSuccess) {
|
|
83
|
+
error.printStackTrace();
|
|
84
|
+
runOnUiThread(() -> binding.tvLicenseError.setText("License initialization failed: " + error.getMessage()));
|
|
85
|
+
}
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
mRouter = new CaptureVisionRouter();
|
|
90
|
+
try {
|
|
91
|
+
//See template file in assets/Templates.
|
|
92
|
+
mRouter.initSettingsFromFile("ReadFromAnImage.json");
|
|
93
|
+
} catch (CaptureVisionRouterException e) {
|
|
94
|
+
e.printStackTrace();
|
|
95
|
+
}
|
|
96
|
+
//See specific decoding methods in decodeSelectedUri(Uri uri).
|
|
97
|
+
|
|
98
|
+
initView();
|
|
99
|
+
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
@Override
|
|
103
|
+
public void onRequestPermissionsResult(int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) {
|
|
104
|
+
super.onRequestPermissionsResult(requestCode, permissions, grantResults);
|
|
105
|
+
if (requestCode == REQUEST_CAMERA_CODE && grantResults.length > 0 && grantResults[0] == PackageManager.PERMISSION_GRANTED) {
|
|
106
|
+
takePhoto();
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
private void decodeSelectedUri(Uri uri) {
|
|
112
|
+
binding.pbDecoding.setVisibility(View.VISIBLE);
|
|
113
|
+
mDecodeThreadExecutor.submit(() -> {
|
|
114
|
+
|
|
115
|
+
byte[] selectedImageBytes = UriUtils.toBytes(this, uri);
|
|
116
|
+
// Decode barcodes from the file byte.
|
|
117
|
+
// The method returns a CapturedResult object that contains an array of CapturedResultItems.
|
|
118
|
+
// CapturedResultItem is the basic unit from which you can get the basic info of the barcode like the barcode text and barcode format.
|
|
119
|
+
CapturedResult capturedResult = mRouter.capture(selectedImageBytes, "ReadFromAnImage");
|
|
120
|
+
|
|
121
|
+
runOnUiThread(() -> showBarcodeResult(capturedResult, uri));
|
|
122
|
+
});
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
@Override
|
|
126
|
+
public void onItemSelected(@NonNull Uri uri) {
|
|
127
|
+
binding.btnTakePhotoTop.setVisibility(View.VISIBLE);
|
|
128
|
+
binding.btnGalleryTop.setVisibility(View.VISIBLE);
|
|
129
|
+
binding.btnTakePhotoCenter.setVisibility(View.GONE);
|
|
130
|
+
binding.btnGalleryCenter.setVisibility(View.GONE);
|
|
131
|
+
binding.tvSelectTip.setVisibility(View.GONE);
|
|
132
|
+
|
|
133
|
+
Glide.with(MainActivity.this)
|
|
134
|
+
.asBitmap()
|
|
135
|
+
.skipMemoryCache(true)
|
|
136
|
+
.load(uri)
|
|
137
|
+
.into(binding.imageView);
|
|
138
|
+
binding.resultsView.updateResults(null); //Reset resultsView
|
|
139
|
+
decodeSelectedUri(uri);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
private void initView() {
|
|
143
|
+
binding.btnGalleryCenter.setOnClickListener(v -> loadGalleryImage());
|
|
144
|
+
binding.btnGalleryTop.setOnClickListener(v -> loadGalleryImage());
|
|
145
|
+
binding.btnTakePhotoCenter.setOnClickListener(v -> ActivityCompat.requestPermissions(this, new String[]{android.Manifest.permission.CAMERA}, REQUEST_CAMERA_CODE));
|
|
146
|
+
binding.btnTakePhotoTop.setOnClickListener(v -> ActivityCompat.requestPermissions(this, new String[]{android.Manifest.permission.CAMERA}, REQUEST_CAMERA_CODE));
|
|
147
|
+
|
|
148
|
+
binding.thumbnailsView.setOnItemSelectedListener(this);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
private void loadGalleryImage() {
|
|
152
|
+
galleryLauncher.launch("image/*");
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
private void takePhoto() {
|
|
156
|
+
String cameraPath = Objects.requireNonNull(getExternalCacheDir()).getAbsolutePath() + "/Dysnamsoft/" + System.currentTimeMillis() + ".jpg";
|
|
157
|
+
mCameraPhotoUri = UriUtils.getUriFromFile(this, cameraPath);
|
|
158
|
+
takePhotoLauncher.launch(mCameraPhotoUri);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
@MainThread
|
|
162
|
+
// This is the method that extract the barcodes info from the CapturedResult.
|
|
163
|
+
private void showBarcodeResult(CapturedResult result, Uri uri) {
|
|
164
|
+
binding.pbDecoding.setVisibility(View.GONE);
|
|
165
|
+
if (result == null) {
|
|
166
|
+
binding.resultsView.updateResults(null);
|
|
167
|
+
binding.resultsView.setVisibility(View.VISIBLE);
|
|
168
|
+
return;
|
|
169
|
+
}
|
|
170
|
+
if(result.getErrorCode() != 0) {
|
|
171
|
+
new AlertDialog.Builder(this)
|
|
172
|
+
.setMessage(String.format(Locale.getDefault(), "ErrorCode: %d %nErrorMessage: %s", result.getErrorCode(), result.getErrorMessage()))
|
|
173
|
+
.show();
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
DecodedBarcodesResult decodedBarcodesResult = result.getDecodedBarcodesResult();
|
|
177
|
+
if (result.getErrorCode() == 0 || result.getErrorCode() == EnumErrorCode.EC_TIMEOUT) {
|
|
178
|
+
binding.resultsView.updateResults(decodedBarcodesResult != null ? decodedBarcodesResult.getItems() : null);
|
|
179
|
+
binding.resultsView.setVisibility(View.VISIBLE);
|
|
180
|
+
} else {
|
|
181
|
+
Log.e(TAG, "errorCode: "+result.getErrorCode()+", errorMessage: "+result.getErrorMessage());
|
|
182
|
+
}
|
|
183
|
+
getBitmapAndDraw(binding.imageView, uri, decodedBarcodesResult);
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
private void getBitmapAndDraw(ImageView imageView, Uri uri, DecodedBarcodesResult decodedBarcodesResult) {
|
|
187
|
+
Drawable drawable = imageView.getDrawable();
|
|
188
|
+
if (drawable != null) {
|
|
189
|
+
if(!(drawable instanceof BitmapDrawable)) {
|
|
190
|
+
return;
|
|
191
|
+
}
|
|
192
|
+
Bitmap bitmap = ((BitmapDrawable) drawable).getBitmap();
|
|
193
|
+
float scale = (float) UriUtils.getRotatedSize(this, uri).getWidth() / (float) bitmap.getWidth();
|
|
194
|
+
BitmapUtils.drawResultsOnBitmap(this, bitmap, decodedBarcodesResult, scale);
|
|
195
|
+
} else {
|
|
196
|
+
imageView.postDelayed(() -> getBitmapAndDraw(imageView, uri, decodedBarcodesResult), 200);
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
}
|
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
package com.dynamsoft.dbr.decodefromanimage.ui;
|
|
2
|
+
|
|
3
|
+
import android.content.Context;
|
|
4
|
+
import android.content.res.TypedArray;
|
|
5
|
+
import android.net.Uri;
|
|
6
|
+
import android.util.AttributeSet;
|
|
7
|
+
import android.view.LayoutInflater;
|
|
8
|
+
import android.view.View;
|
|
9
|
+
import android.view.ViewGroup;
|
|
10
|
+
import android.widget.ImageView;
|
|
11
|
+
|
|
12
|
+
import androidx.annotation.NonNull;
|
|
13
|
+
import androidx.annotation.Nullable;
|
|
14
|
+
import androidx.recyclerview.widget.LinearLayoutManager;
|
|
15
|
+
import androidx.recyclerview.widget.RecyclerView;
|
|
16
|
+
|
|
17
|
+
import com.bumptech.glide.Glide;
|
|
18
|
+
import com.dynamsoft.dbr.decodefromanimage.R;
|
|
19
|
+
import com.dynamsoft.dbr.decodefromanimage.utils.UriUtils;
|
|
20
|
+
|
|
21
|
+
import java.util.ArrayList;
|
|
22
|
+
import java.util.List;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* ThumbnailsRecyclerView is a custom RecyclerView implementation that displays a list of image thumbnails.
|
|
26
|
+
* It initializes with images from a specified assets directory and supports dynamic addition and selection of images.
|
|
27
|
+
*/
|
|
28
|
+
public class ThumbnailsRecyclerView extends RecyclerView {
|
|
29
|
+
|
|
30
|
+
private final static String INIT_ASSETS_IMAGES_DIR = "image"; // Default assets directory for images.
|
|
31
|
+
private OnItemSelectedListener onItemSelectedListener; // Listener for thumbnail selection events.
|
|
32
|
+
private final ThumbnailAdapter thumbnailAdapter; // Adapter for managing and displaying thumbnails.
|
|
33
|
+
|
|
34
|
+
public ThumbnailsRecyclerView(Context context) {
|
|
35
|
+
this(context, null);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
public ThumbnailsRecyclerView(Context context, @Nullable AttributeSet attrs) {
|
|
39
|
+
this(context, attrs, 0);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
public ThumbnailsRecyclerView(Context context, @Nullable AttributeSet attrs, int defStyleAttr) {
|
|
43
|
+
super(context, attrs, defStyleAttr);
|
|
44
|
+
|
|
45
|
+
// Determine the orientation from XML attributes or default to HORIZONTAL.
|
|
46
|
+
int orientation = HORIZONTAL;
|
|
47
|
+
if (attrs != null) {
|
|
48
|
+
TypedArray ta = context.obtainStyledAttributes(attrs, new int[]{android.R.attr.orientation});
|
|
49
|
+
orientation = ta.getInt(0, HORIZONTAL);
|
|
50
|
+
ta.recycle();
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
setLayoutManager(new LinearLayoutManager(context, orientation, false));
|
|
54
|
+
setItemAnimator(null);
|
|
55
|
+
|
|
56
|
+
// Initialize the adapter with image URIs from the assets directory.
|
|
57
|
+
List<Uri> initUrls = UriUtils.getImageUrisFromAssetsDir(context, INIT_ASSETS_IMAGES_DIR);
|
|
58
|
+
thumbnailAdapter = new ThumbnailAdapter(initUrls, uri -> {
|
|
59
|
+
if (onItemSelectedListener != null) {
|
|
60
|
+
onItemSelectedListener.onItemSelected(uri);
|
|
61
|
+
}
|
|
62
|
+
});
|
|
63
|
+
setAdapter(thumbnailAdapter);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Sets the listener for thumbnail selection.
|
|
68
|
+
* When a thumbnail is clicked, the listener callback will be
|
|
69
|
+
* triggered with the corresponding URI.
|
|
70
|
+
*
|
|
71
|
+
* @param listener Listener to handle selection events.
|
|
72
|
+
*/
|
|
73
|
+
public void setOnItemSelectedListener(OnItemSelectedListener listener) {
|
|
74
|
+
this.onItemSelectedListener = listener;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* Adds a URI to the list, selects it, and scrolls to its position.
|
|
79
|
+
*
|
|
80
|
+
* @param uri The URI of the image to add.
|
|
81
|
+
* @return The position of the added URI.
|
|
82
|
+
*/
|
|
83
|
+
public int addUriAndSelect(Uri uri) {
|
|
84
|
+
int position = thumbnailAdapter.addUriAndSelect(uri);
|
|
85
|
+
scrollToPosition(position);
|
|
86
|
+
return position;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Retrieves the currently selected URI.
|
|
91
|
+
*
|
|
92
|
+
* @return The URI of the selected image, or null if no selection exists.
|
|
93
|
+
*/
|
|
94
|
+
public Uri getSelectedUri() {
|
|
95
|
+
return thumbnailAdapter.getSelectedUri();
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* Selects a thumbnail by its position.
|
|
100
|
+
*
|
|
101
|
+
* @param position The position of the thumbnail to select.
|
|
102
|
+
*/
|
|
103
|
+
public void selectItem(int position) {
|
|
104
|
+
thumbnailAdapter.selectItem(position);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Listener interface for handling thumbnail selection events.
|
|
109
|
+
*/
|
|
110
|
+
public interface OnItemSelectedListener {
|
|
111
|
+
void onItemSelected(@NonNull Uri uri);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* ThumbnailAdapter manages the display and selection of thumbnails.
|
|
116
|
+
*/
|
|
117
|
+
private static class ThumbnailAdapter extends Adapter<ThumbnailAdapter.ViewHolder> {
|
|
118
|
+
private int selectedPosition = RecyclerView.NO_POSITION;
|
|
119
|
+
private final List<Uri> uriList;
|
|
120
|
+
private final OnItemSelectedListener onItemSelectedListener;
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* Constructor for ThumbnailAdapter.
|
|
124
|
+
*
|
|
125
|
+
* @param uriList Initial list of URIs to display.
|
|
126
|
+
* @param onItemSelectedListener Listener for selection events.
|
|
127
|
+
*/
|
|
128
|
+
public ThumbnailAdapter(List<Uri> uriList, OnItemSelectedListener onItemSelectedListener) {
|
|
129
|
+
this.uriList = new ArrayList<>(uriList);
|
|
130
|
+
this.onItemSelectedListener = onItemSelectedListener;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
@NonNull
|
|
134
|
+
@Override
|
|
135
|
+
public ViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) {
|
|
136
|
+
View view = LayoutInflater.from(parent.getContext()).inflate(R.layout.item_thumbnail, parent, false);
|
|
137
|
+
return new ViewHolder(view);
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
@Override
|
|
141
|
+
public void onBindViewHolder(@NonNull ViewHolder holder, int position) {
|
|
142
|
+
Uri uri = uriList.get(position);
|
|
143
|
+
|
|
144
|
+
// Load the image using Glide with a fixed small size.
|
|
145
|
+
Glide.with(holder.imageView.getContext())
|
|
146
|
+
.load(uri)
|
|
147
|
+
.override(200, 200)
|
|
148
|
+
.into(holder.imageView);
|
|
149
|
+
|
|
150
|
+
// Highlight the selected thumbnail.
|
|
151
|
+
holder.boundary.setVisibility(position == selectedPosition ? View.VISIBLE : View.GONE);
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
@Override
|
|
155
|
+
public int getItemCount() {
|
|
156
|
+
return uriList.size();
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* Adds a URI to the list, selects it, and notifies the adapter.
|
|
161
|
+
*
|
|
162
|
+
* @param uri The URI to add.
|
|
163
|
+
* @return The position of the added or selected URI.
|
|
164
|
+
*/
|
|
165
|
+
public int addUriAndSelect(Uri uri) {
|
|
166
|
+
if (!uriList.contains(uri)) {
|
|
167
|
+
uriList.add(uri);
|
|
168
|
+
notifyItemInserted(uriList.size() - 1);
|
|
169
|
+
selectItem(uriList.size() - 1);
|
|
170
|
+
return uriList.size() - 1;
|
|
171
|
+
} else {
|
|
172
|
+
selectItem(uriList.indexOf(uri));
|
|
173
|
+
return uriList.indexOf(uri);
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* Retrieves the currently selected URI.
|
|
179
|
+
*
|
|
180
|
+
* @return The URI of the selected thumbnail, or the first URI if none is selected.
|
|
181
|
+
*/
|
|
182
|
+
public Uri getSelectedUri() {
|
|
183
|
+
if (selectedPosition >= 0 && selectedPosition < uriList.size()) {
|
|
184
|
+
return uriList.get(selectedPosition);
|
|
185
|
+
} else if (!uriList.isEmpty()) {
|
|
186
|
+
return uriList.get(0);
|
|
187
|
+
} else {
|
|
188
|
+
return null;
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* Selects an item and notifies the adapter of changes.
|
|
194
|
+
*
|
|
195
|
+
* @param position The position of the item to select.
|
|
196
|
+
*/
|
|
197
|
+
public void selectItem(int position) {
|
|
198
|
+
if (position >= 0 && position < uriList.size()) {
|
|
199
|
+
int previousPosition = selectedPosition;
|
|
200
|
+
selectedPosition = position;
|
|
201
|
+
notifyItemChanged(previousPosition);
|
|
202
|
+
notifyItemChanged(selectedPosition);
|
|
203
|
+
onItemSelectedListener.onItemSelected(uriList.get(position));
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
class ViewHolder extends RecyclerView.ViewHolder {
|
|
208
|
+
ImageView imageView; // ImageView for displaying the thumbnail.
|
|
209
|
+
View boundary; // View for highlighting the selected thumbnail.
|
|
210
|
+
|
|
211
|
+
public ViewHolder(@NonNull View itemView) {
|
|
212
|
+
super(itemView);
|
|
213
|
+
imageView = itemView.findViewById(R.id.imageView);
|
|
214
|
+
boundary = itemView.findViewById(R.id.boundary);
|
|
215
|
+
itemView.setOnClickListener(v -> selectItem(getAdapterPosition()));
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
}
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
package com.dynamsoft.dbr.decodefromanimage.ui.resultsview;
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
import android.animation.ObjectAnimator;
|
|
5
|
+
import android.annotation.SuppressLint;
|
|
6
|
+
import android.content.Context;
|
|
7
|
+
import android.content.res.TypedArray;
|
|
8
|
+
import android.util.AttributeSet;
|
|
9
|
+
import android.view.LayoutInflater;
|
|
10
|
+
import android.widget.Button;
|
|
11
|
+
import android.widget.LinearLayout;
|
|
12
|
+
import android.widget.TextView;
|
|
13
|
+
|
|
14
|
+
import androidx.annotation.Nullable;
|
|
15
|
+
|
|
16
|
+
import com.dynamsoft.dbr.BarcodeResultItem;
|
|
17
|
+
import com.dynamsoft.dbr.decodefromanimage.R;
|
|
18
|
+
|
|
19
|
+
import java.util.Locale;
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* A custom view for displaying barcode scanning results.
|
|
23
|
+
* This view contains a RecyclerView to list the results,
|
|
24
|
+
* a TextView to show the total count,
|
|
25
|
+
* and another TextView to allow hiding the rvResults when clicked,
|
|
26
|
+
* and an optional export button for exporting results.
|
|
27
|
+
*/
|
|
28
|
+
public class CustomizedResultsDisplayView extends LinearLayout {
|
|
29
|
+
|
|
30
|
+
// RecyclerView to display the list of results.
|
|
31
|
+
private final ResultsRecyclerView rvResults;
|
|
32
|
+
|
|
33
|
+
// TextView to display the total count of results.
|
|
34
|
+
private final TextView tvTotal;
|
|
35
|
+
|
|
36
|
+
// TextView to allow hiding the rvResults when clicked.
|
|
37
|
+
private final TextView tvShowAndHide;
|
|
38
|
+
|
|
39
|
+
// Button for exporting the results, visibility is configurable.
|
|
40
|
+
private final Button btnExport;
|
|
41
|
+
private float animPercent = 1f;
|
|
42
|
+
private boolean isOpen = true;
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
public CustomizedResultsDisplayView(Context context) {
|
|
46
|
+
this(context, null);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
public CustomizedResultsDisplayView(Context context, @Nullable AttributeSet attrs) {
|
|
50
|
+
this(context, attrs, 0);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
public CustomizedResultsDisplayView(Context context, @Nullable AttributeSet attrs, int defStyleAttr) {
|
|
54
|
+
super(context, attrs, defStyleAttr);
|
|
55
|
+
TypedArray typedArray = context.obtainStyledAttributes(attrs, R.styleable.CustomizedResultsDisplayView, defStyleAttr, 0);
|
|
56
|
+
boolean needBtnExport = typedArray.getBoolean(R.styleable.CustomizedResultsDisplayView_needBtnExport, false);
|
|
57
|
+
typedArray.recycle();
|
|
58
|
+
|
|
59
|
+
LayoutInflater.from(context).inflate(R.layout.results_view, this, true);
|
|
60
|
+
rvResults = findViewById(R.id.rv_results);
|
|
61
|
+
tvTotal = findViewById(R.id.tv_total_count);
|
|
62
|
+
btnExport = findViewById(R.id.btn_export);
|
|
63
|
+
btnExport.setVisibility(needBtnExport ? VISIBLE : GONE);
|
|
64
|
+
|
|
65
|
+
tvShowAndHide = findViewById(R.id.tv_show_and_hide);
|
|
66
|
+
tvShowAndHide.setText(isOpen ? R.string.view_less : R.string.view_more);
|
|
67
|
+
|
|
68
|
+
if (!needBtnExport) {
|
|
69
|
+
btnExport.setVisibility(GONE);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
tvTotal.setOnClickListener(v -> {
|
|
73
|
+
setOpen(!isOpen);
|
|
74
|
+
});
|
|
75
|
+
|
|
76
|
+
btnExport.setOnClickListener(v -> {
|
|
77
|
+
//TODO: Export results
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
@Override
|
|
82
|
+
protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
|
|
83
|
+
super.onMeasure(widthMeasureSpec, heightMeasureSpec);
|
|
84
|
+
int tvTotalHeight = tvTotal.getMeasuredHeight()
|
|
85
|
+
+ ((MarginLayoutParams) tvTotal.getLayoutParams()).topMargin
|
|
86
|
+
+ ((MarginLayoutParams) tvTotal.getLayoutParams()).bottomMargin
|
|
87
|
+
+ getPaddingTop() + getPaddingBottom();
|
|
88
|
+
int rvResultHeight = rvResults.getMeasuredHeight()
|
|
89
|
+
+ ((MarginLayoutParams) rvResults.getLayoutParams()).topMargin
|
|
90
|
+
+ ((MarginLayoutParams) rvResults.getLayoutParams()).bottomMargin;
|
|
91
|
+
int btnExportHeight = btnExport.getMeasuredHeight()
|
|
92
|
+
+ ((MarginLayoutParams) btnExport.getLayoutParams()).topMargin
|
|
93
|
+
+ ((MarginLayoutParams) btnExport.getLayoutParams()).bottomMargin;
|
|
94
|
+
int totalHeight = tvTotalHeight + rvResultHeight + btnExportHeight;
|
|
95
|
+
if (isOpen) {
|
|
96
|
+
setMeasuredDimension(getMeasuredWidth(), tvTotalHeight + (int) ((totalHeight - tvTotalHeight) * animPercent));
|
|
97
|
+
} else {
|
|
98
|
+
setMeasuredDimension(getMeasuredWidth(), totalHeight - (int) ((totalHeight - tvTotalHeight) * animPercent));
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Updates the results displayed in the view.
|
|
104
|
+
* <p>
|
|
105
|
+
* Description:
|
|
106
|
+
* - Displays the count of new results in the title.
|
|
107
|
+
* - Updates the RecyclerView to display the list of new results.
|
|
108
|
+
* - Resets the view if `newResultItems` is null.
|
|
109
|
+
*
|
|
110
|
+
* @param newResultItems An array of BarcodeResultItem representing the new scan results.
|
|
111
|
+
*/
|
|
112
|
+
public void updateResults(BarcodeResultItem[] newResultItems) {
|
|
113
|
+
tvTotal.setText(String.format(Locale.getDefault(),"Total: %d", newResultItems != null ? newResultItems.length : 0));
|
|
114
|
+
rvResults.updateResults(newResultItems);
|
|
115
|
+
setOpen(true);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
public void setOpen(boolean open) {
|
|
119
|
+
if(open == isOpen) {
|
|
120
|
+
return;
|
|
121
|
+
}
|
|
122
|
+
tvShowAndHide.setText(open ? R.string.view_less : R.string.view_more);
|
|
123
|
+
isOpen = open;
|
|
124
|
+
startAnim();
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
private void startAnim() {
|
|
128
|
+
ObjectAnimator animator = ObjectAnimator.ofFloat(this, "animPercent", 0f, 1f);
|
|
129
|
+
animator.setDuration(Math.max((getChildCount() - 1) * 100L, 200));
|
|
130
|
+
animator.start();
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
private float getAnimPercent() {
|
|
134
|
+
return animPercent;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
//For ObjectAnimator
|
|
138
|
+
private void setAnimPercent(float animPercent) {
|
|
139
|
+
this.animPercent = animPercent;
|
|
140
|
+
requestLayout();
|
|
141
|
+
}
|
|
142
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
package com.dynamsoft.dbr.decodefromanimage.ui.resultsview;
|
|
2
|
+
|
|
3
|
+
import android.annotation.SuppressLint;
|
|
4
|
+
import android.content.Context;
|
|
5
|
+
import android.util.AttributeSet;
|
|
6
|
+
import android.view.LayoutInflater;
|
|
7
|
+
import android.view.View;
|
|
8
|
+
import android.view.ViewGroup;
|
|
9
|
+
import android.widget.TextView;
|
|
10
|
+
|
|
11
|
+
import androidx.annotation.NonNull;
|
|
12
|
+
import androidx.annotation.Nullable;
|
|
13
|
+
import androidx.recyclerview.widget.LinearLayoutManager;
|
|
14
|
+
import androidx.recyclerview.widget.RecyclerView;
|
|
15
|
+
|
|
16
|
+
import com.dynamsoft.dbr.BarcodeResultItem;
|
|
17
|
+
import com.dynamsoft.dbr.decodefromanimage.R;
|
|
18
|
+
|
|
19
|
+
public class ResultsRecyclerView extends RecyclerView {
|
|
20
|
+
|
|
21
|
+
private BarcodeResultItem[] barcodeResultItems = new BarcodeResultItem[0];
|
|
22
|
+
private final ResultAdapter resultAdapter = new ResultAdapter(barcodeResultItems);
|
|
23
|
+
|
|
24
|
+
public ResultsRecyclerView(Context context) {
|
|
25
|
+
this(context, null);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
public ResultsRecyclerView(Context context, @Nullable AttributeSet attrs) {
|
|
29
|
+
this(context, attrs, 0);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
public ResultsRecyclerView(Context context, @Nullable AttributeSet attrs, int defStyleAttr) {
|
|
33
|
+
super(context, attrs, defStyleAttr);
|
|
34
|
+
setLayoutManager(new LinearLayoutManager(context));
|
|
35
|
+
setItemAnimator(null);
|
|
36
|
+
setAdapter(resultAdapter);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
public void updateResults(@Nullable BarcodeResultItem[] newResultItems) {
|
|
40
|
+
barcodeResultItems = newResultItems != null ? newResultItems : new BarcodeResultItem[0];
|
|
41
|
+
resultAdapter.updateResults(barcodeResultItems);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
private static class ResultAdapter extends Adapter<ResultAdapter.ViewHolder> {
|
|
45
|
+
private BarcodeResultItem[] barcodeResultItems;
|
|
46
|
+
|
|
47
|
+
public ResultAdapter(BarcodeResultItem[] barcodeResultItems) {
|
|
48
|
+
this.barcodeResultItems = barcodeResultItems;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
@NonNull
|
|
52
|
+
@Override
|
|
53
|
+
public ViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) {
|
|
54
|
+
View view = LayoutInflater.from(parent.getContext()).inflate(R.layout.item_result, parent, false);
|
|
55
|
+
return new ViewHolder(view);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
@SuppressLint("SetTextI18n")
|
|
59
|
+
@Override
|
|
60
|
+
public void onBindViewHolder(@NonNull ViewHolder holder, int position) {
|
|
61
|
+
BarcodeResultItem barcodeResultItem = barcodeResultItems[position];
|
|
62
|
+
holder.tvFormat.setText("Format: " + barcodeResultItem.getFormatString());
|
|
63
|
+
holder.tvText.setText("Text: " + barcodeResultItem.getText());
|
|
64
|
+
holder.tvIndex.setText(String.valueOf(position + 1));
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
@Override
|
|
68
|
+
public int getItemCount() {
|
|
69
|
+
return barcodeResultItems.length;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
@SuppressLint("NotifyDataSetChanged")
|
|
73
|
+
public void updateResults(@NonNull BarcodeResultItem[] newResultItems) {
|
|
74
|
+
this.barcodeResultItems = newResultItems;
|
|
75
|
+
notifyDataSetChanged();
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
static class ViewHolder extends RecyclerView.ViewHolder {
|
|
79
|
+
TextView tvFormat;
|
|
80
|
+
TextView tvText;
|
|
81
|
+
TextView tvIndex;
|
|
82
|
+
|
|
83
|
+
public ViewHolder(@NonNull View itemView) {
|
|
84
|
+
super(itemView);
|
|
85
|
+
tvFormat = itemView.findViewById(R.id.tv_code_format);
|
|
86
|
+
tvText = itemView.findViewById(R.id.tv_code_text);
|
|
87
|
+
tvIndex = itemView.findViewById(R.id.tv_index);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|