This guide details how to integrate the AdFalcon Android SDK 4.0.0 into applications, covering project configuration, manifest settings, Proguard rules, and…
The document serves as a developer's guide for integrating the AdFalcon Android SDK version 4.0.0. It outlines prerequisites such as Android API v14 or above and provides step-by-step instructions for adding the SDK to an Android project via Maven or AAR files.
Key sections cover configuring the AndroidManifest.xml, handling permissions like location and calendar access, enabling hardware acceleration for HTML5 video ads, and setting up Proguard rules. The guide also includes detailed code snippets for implementing banner ads with and without XML layouts, as well as tracking ad lifecycle events using the ADFListener interface.
| Minimum Android API version | v14 or above |
|---|---|
| Required Android Studio version | 2.0.0 or above |
| Required Gradle version | 3.0.0 or above |
| Required Google Play Services Ads version | 8.0.0 or above |
Add the property android:hardwareAccelerated="true" to your application tag or each activity containing AdFalcon banners.
The guide requires Android API v14 or above.
You must use Gradle version 3.0.0 or above.
Add android:configChanges with the value "keyboard|keyboardHidden|orientation|uiMode|screenLayout|screenSize|smallestScreenSize".