...
armeabi-v7a
arm64-v8a
Integrating the SDK
...
Adding the dependencies using Maven
Specify the repositories in settings.gradle
(or in build.gradle
, if you are using an older version of Android Gradle plugin):
Code Block | ||
---|---|---|
| ||
dependencyResolutionManagement {
repositories {
google()
mavenCentral()
maven {
url 'https://maven.navmii.com/artifactory/navmii-public'
credentials {
username "public"
password "public1&"
}
}
maven {
url 'https://repository.apache.org/content/repositories/snapshots/'
}
}
} |
...
Code Block | ||
---|---|---|
| ||
dependencies { implementation 'com.navmii.android:dashcam-sdk:1.+' } |
Adding the dependencies as .aar files
To integrate the Dashcam SDK via AAR, ensure all required dependencies are included in your build.gradle file. The SDK does not bundle dependencies, so you must manually declare each.
Place the following AAR files in your libs/ folder and include them:
Code Block | ||
---|---|---|
| ||
implementation(name: 'dashcamsdk-jio-release-Jio-1.0.0', ext: 'aar')
implementation(name: 'pathwayPro-jioSit-2.13.0.583', ext: 'aar')
implementation(name: 'recognizer-1.13.1', ext: 'aar') |
The list of all the required dependencies:
Code Block | ||
---|---|---|
| ||
implementation(name: 'dashcamsdk-jio-release-Jio-1.0.0', ext: 'aar')
implementation(name: 'pathwayPro-jioSit-2.13.0.583', ext: 'aar')
implementation(name: 'recognizer-1.13.1', ext: 'aar')
// Apache Commons Imaging
implementation 'org.apache.commons:commons-imaging:1.0-SNAPSHOT'
// JCodec
implementation 'org.jcodec:jcodec:0.2.1'
// OkHttp
implementation 'com.squareup.okhttp3:okhttp:4.9.2'
// Gson
implementation 'com.google.code.gson:gson:2.9.0'
// Room
implementation "androidx.room:room-runtime:2.5.0"
annotationProcessor "androidx.room:room-compiler:2.5.0"
// AutoValue
compileOnly "com.google.auto.value:auto-value-annotations:1.7"
annotationProcessor "com.google.auto.value:auto-value:1.7"
annotationProcessor 'com.ryanharter.auto.value:auto-value-parcel:0.2.6'
annotationProcessor "com.ryanharter.auto.value:auto-value-gson-extension:1.3.1"
implementation "com.ryanharter.auto.value:auto-value-gson-runtime:1.3.1"// Optional @GsonTypeAdapterFactory support
annotationProcessor "com.ryanharter.auto.value:auto-value-gson-factory:1.3.1"
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
api "androidx.documentfile:documentfile:1.0.1"
implementation "androidx.media:media:1.6.0"
implementation 'com.github.anastr:speedviewlib:1.5.4'
implementation 'com.jakewharton.timber:timber:5.0.1'
// region glide (for thumbnails)
implementation 'com.github.bumptech.glide:glide:4.14.2'
annotationProcessor 'com.github.bumptech.glide:compiler:4.14.2' |
Adding API Key to the Manifest
...