How to Integrate the Device Data Collector into Android Applications using the Library JAR

Provide native support for your Kount solution by integrating the Kount SDK into your Android application. This allows you to use Kount services without having to create API calls. Software for this integration can be found in the GitHub repository.

Integrating Android Library JAR

  1. Download the latest SDK from GitHub, and then extract the contents of the file.
  2. In Android Studio, copy the JAR file extracted from the SDK into the libs folder “Project Path”\app\libs of your application.
  3. In the Project viewer, right-click the JAR, and then click Add as library.
  4. In the Gradle file for your app, add the following dependencies:
        dependencies {
              implementation ''
              implementation ''           
              implementation group: '', name: 'volley', version: '1.2.1'
              implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.3.72'
              implementation ""
  5. To enable Location Collection support to detect devices in suspicious locations, add the following permissions to your application’s xml under the <manifest> tag:
        <uses-permission android:name="android.permission.INTERNET" />
        <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
        <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
        <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
        <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
    Note: The Kotlin library is only necessary if your application is written in Java. If your application uses Support libraries, then it must be migrated to Android X libraries. Refer to How to Integrate the Device Data Collector into Mobile Apps using Android Gradle for steps on migrating to Android X libraries.
  6. Once you have integrated the Library JAR, proceed to step two to invoke the Device Data Collector.
Was this article helpful?
0 out of 0 found this helpful