Skip to content

Install the SDK

Configure dependency

To begin development of an application with OTA Service, add the SDK as a dependency into the project.

Below is a sample configuration in the project build file. Replace the user name and password with the download credentials sent by Telenav.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
repositories {
    ...

    maven {
        url "https://telenav.jfrog.io/artifactory/telenav-maven-releases/"
        credentials {
            username '#REPO_USER_NAME#'
            password '#REPO_PASSWD#'
        }
    }
}

dependencies {
    implementation("com.telenav.sdk:telenav-android-ota-r15c:${version}")
}


Tip

The SDK depends on several open source libraries (like okhttp, okio, common-lang.. etc). If you're using Gradle or Maven to download the SDK, these dependencies will be downloaded automatically. If you're downloading it manually, you will also need to add the SDK's dependecies to your project (refer to SDK's POM file).