Skip to content

Commit c3b7f18

Browse files
Extrieve SplicerAi java sample codes
SplicerAi document extraction, document identification
1 parent 871d197 commit c3b7f18

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+2220
-0
lines changed

java_sample/app/build.gradle

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
plugins {
2+
id 'com.android.application'
3+
}
4+
5+
android {
6+
signingConfigs {
7+
release {
8+
storeFile file('D:\\SVN\\techcomponents\\Capture\\MobileApp\\SDK\\SplicerAi\\android\\v2.0\\AndroidAppKeyStore\\SplicerAiTest.jks')
9+
storePassword 'admin324'
10+
keyAlias 'key0'
11+
keyPassword 'admin324'
12+
}
13+
}
14+
namespace 'com.extrieve.splicerai'
15+
compileSdk 32
16+
17+
defaultConfig {
18+
applicationId "com.extrieve.splicerai"
19+
minSdk 21
20+
targetSdk 34
21+
versionCode 1
22+
versionName '2.0.0'
23+
24+
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
25+
multiDexEnabled true
26+
}
27+
28+
buildTypes {
29+
release {
30+
minifyEnabled true
31+
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
32+
jniDebuggable false
33+
multiDexEnabled true
34+
debuggable false
35+
shrinkResources true
36+
signingConfig signingConfigs.release
37+
}
38+
debug {
39+
jniDebuggable true
40+
}
41+
}
42+
43+
44+
compileOptions {
45+
sourceCompatibility JavaVersion.VERSION_1_8
46+
targetCompatibility JavaVersion.VERSION_1_8
47+
}
48+
}
49+
50+
dependencies {
51+
implementation 'androidx.appcompat:appcompat:1.4.2'
52+
implementation 'com.google.android.material:material:1.5.0'
53+
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
54+
implementation 'androidx.navigation:navigation-fragment:2.5.0'
55+
implementation 'androidx.navigation:navigation-ui:2.5.0'
56+
testImplementation 'junit:junit:4.13.2'
57+
androidTestImplementation 'androidx.test.ext:junit:1.2.1'
58+
androidTestImplementation 'androidx.test.espresso:espresso-core:3.6.1'
59+
60+
/*DEV_HELP : link the preferred SDK version from maven repo by extrieve.*/
61+
implementation 'com.extrieve.splicer.aisdk:SplicerAIv2:2.0.7'
62+
}

java_sample/app/proguard-rules.pro

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Add project specific ProGuard rules here.
2+
# You can control the set of applied configuration files using the
3+
# proguardFiles setting in build.gradle.
4+
#
5+
# For more details, see
6+
# http://developer.android.com/guide/developing/tools/proguard.html
7+
8+
# If your project uses WebView with JS, uncomment the following
9+
# and specify the fully qualified class name to the JavaScript interface
10+
# class:
11+
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12+
# public *;
13+
#}
14+
15+
# Uncomment this to preserve the line number information for
16+
# debugging stack traces.
17+
#-keepattributes SourceFile,LineNumberTable
18+
19+
# If you keep the line number information, uncomment this to
20+
# hide the original source file name.
21+
#-renamesourcefileattribute SourceFile

0 commit comments

Comments
 (0)