Skip to content

Install the SDK

Configure dependency

To begin development of an application using the Data Connector Service, add the SDK as a dependency into the project.

The Data Connector Service contains one main component - Data Connector.

Below is a sample configuration in the project build file. Replace the username and password with the repository credentials provided by Telenav.

Configure DataConnector

 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-dataconnector-core:${version}")
}


Tip

The SDK depends on several open source libraries (like okttp, 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).