Skip to content

Commit 88dcdfb

Browse files
updated with version 3.1.7
Test application update with version 3.1.7
1 parent 9583281 commit 88dcdfb

File tree

17 files changed

+112
-16
lines changed

17 files changed

+112
-16
lines changed

java_sample/.idea/.gitignore

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

java_sample/.idea/.name

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

java_sample/.idea/compiler.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

java_sample/.idea/gradle.xml

Lines changed: 19 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

java_sample/.idea/misc.xml

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

java_sample/app/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ plugins {
44

55
android {
66
namespace 'com.extrieve.quickcapture.docappjava'
7-
compileSdk 33
7+
compileSdk 34
88

99
defaultConfig {
1010
applicationId "com.extrieve.quickcapture.docappjava"
1111
minSdk 21
12-
targetSdk 33
12+
targetSdk 34
1313
versionCode 1
14-
versionName "1.0"
14+
versionName "1.1"
1515

1616
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
1717
}
@@ -34,5 +34,5 @@ dependencies {
3434
implementation 'com.google.android.material:material:1.5.0'
3535
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
3636
/*DEV_HELP : link the preferred SDK version from maven repo by extrieve.*/
37-
implementation 'com.extrieve.quickcapture:QCv3:3.0.7'
37+
implementation 'com.extrieve.quickcapture:QCv3:3.1.7'
3838
}

java_sample/app/src/main/java/com/extrieve/quickcapture/docappjava/MainActivity.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,13 @@ private void SetConfig() {
104104

105105
//can set output file path
106106
Config.CaptureSupport.OutputPath = BuildStoragePath();
107+
108+
Config.CaptureSupport.DocumentCropping = Config.CaptureSupport.CroppingType.LiveDetection;
109+
110+
Config.CaptureSupport.EnableFlash = true;
111+
112+
Config.CaptureSupport.CropFilter = Config.CaptureSupport.CropImageFilterType.ENHANCE;
113+
107114
}
108115

109116
/*DEV_HELP : BuildStoragePath*/

java_sample/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Top-level build file where you can add configuration options common to all sub-projects/modules.
22
plugins {
3-
id 'com.android.application' version '8.0.2' apply false
4-
id 'com.android.library' version '8.0.2' apply false
3+
id 'com.android.application' version '8.1.1' apply false
4+
id 'com.android.library' version '8.1.1' apply false
55
}

kotlin_sample/.idea/.gitignore

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

kotlin_sample/.idea/.name

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

kotlin_sample/.idea/compiler.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

kotlin_sample/.idea/gradle.xml

Lines changed: 19 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

kotlin_sample/.idea/kotlinc.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

kotlin_sample/.idea/misc.xml

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

kotlin_sample/app/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ plugins {
55

66
android {
77
namespace 'com.extrieve.quickcapture.docappkotlin'
8-
compileSdk 33
8+
compileSdk 34
99

1010
defaultConfig {
1111
applicationId "com.extrieve.quickcapture.docappkotlin"
1212
minSdk 21
13-
targetSdk 33
13+
targetSdk 34
1414
versionCode 1
15-
versionName "1.0"
15+
versionName "1.1"
1616

1717
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
1818
}
@@ -38,5 +38,5 @@ dependencies {
3838
implementation 'androidx.appcompat:appcompat:1.6.1'
3939
implementation 'com.google.android.material:material:1.5.0'
4040
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
41-
implementation 'com.extrieve.quickcapture:QCv3:3.0.7'
41+
implementation 'com.extrieve.quickcapture:QCv3:3.1.7'
4242
}

kotlin_sample/app/src/main/java/com/extrieve/quickcapture/docappkotlin/MainActivity.kt

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import android.content.pm.PackageManager
66
import android.graphics.BitmapFactory
77
import android.net.Uri
88
import android.os.Build
9-
import androidx.appcompat.app.AppCompatActivity
109
import android.os.Bundle
1110
import android.util.Log
1211
import android.view.View
@@ -15,13 +14,13 @@ import android.widget.Toast
1514
import androidx.activity.result.ActivityResult
1615
import androidx.activity.result.ActivityResultLauncher
1716
import androidx.activity.result.contract.ActivityResultContracts
17+
import androidx.appcompat.app.AppCompatActivity
1818
import androidx.core.app.ActivityCompat
1919
import androidx.core.content.ContextCompat
20+
import com.extrieve.quickcapture.sdk.*
2021
import java.io.File
2122
import java.io.IOException
2223

23-
import com.extrieve.quickcapture.sdk.*;
24-
2524
class MainActivity : AppCompatActivity() {
2625
/*DEV_HELP : Declare variables for the classes from SDK*/
2726
private var cameraHelper: CameraHelper? = null
@@ -101,10 +100,16 @@ class MainActivity : AppCompatActivity() {
101100
imageHelper!!.SetDPI(200) //int dpi_val = 100, 150, 200, 300, 500, 600;
102101
//imageHelper!!.SetImageQuality(ImgHelper.ImageQuality.Document_Quality)
103102
imageHelper!!.SetImageQuality(ImgHelper.ImageQuality.Document_Quality.ordinal)
104-
103+
//val isUnlocked: Boolean = imageHelper!!.UnlockImagingLibrary(licData)
105104

106105
//can set output file path
107106
Config.CaptureSupport.OutputPath = buildStoragePath()
107+
108+
Config.CaptureSupport.DocumentCropping = Config.CaptureSupport.CroppingType.LiveDetection
109+
110+
Config.CaptureSupport.EnableFlash = true
111+
112+
Config.CaptureSupport.CropFilter = Config.CaptureSupport.CropImageFilterType.ENHANCE
108113
}
109114

110115
/*DEV_HELP : BuildStoragePath*/

kotlin_sample/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Top-level build file where you can add configuration options common to all sub-projects/modules.
22
plugins {
3-
id 'com.android.application' version '8.0.2' apply false
4-
id 'com.android.library' version '8.0.2' apply false
3+
id 'com.android.application' version '8.1.1' apply false
4+
id 'com.android.library' version '8.1.1' apply false
55
id 'org.jetbrains.kotlin.android' version '1.8.20' apply false
66
}

0 commit comments

Comments
 (0)