Initializing the SDK
Adspostx partners can use the Android SDK to display overlay or embedded placements. The Android SDK is deployed using Maven and Gradle.
All use cases of the SDK follow the same initial steps to integrate and initialize the SDK. At a high level, these steps are:
Add the Adspostx Android SDK module
Initialize the Adspostx Android SDK
Following these steps, the execute
method of the SDK can then be used in various ways to suit the required use case.
Before you begin
This guide assumes that you are familiar with Gradle and know how to install a plugin for Android development.
Setting up the Android SDK
Add the Jitpack plugin repository URL in the
build.gradle
file for the project.
2. Add the Adspostx Android SDK module to build.gradle
for the module.
3. Initialize the Adspostx SDK prior to using it in any activity.
Last updated