These docs are for v0.0.1. Click to read the latest docs for v1.0.61.

Android SDK

This page describes how to get started with the Android SDK

Prerequisites to Implementing Android SDK

🚧

Download the Android SDK before proceeding

Make sure you download the Android SDK here from DevConnect before continuing through this integration guide

Android SDK

This bundle contains all the source code for the Android SDK, as well as a built version.
The structure for the bundle is as follows:

FilenameDescription
buildContains the ready to distribute binaries
build/docsAPI reference documentation in javadoc.jar format
READMEThis guide

Development / Testing

Using the pre-built aar

To test the SDK (pre-built aar) in your own application, follow the steps below to add it as a dependency in your Android app.

  1. Import core-1.0.1.aar and ui-1.0.1.aar from the build directory into your Android Studio project by going to File -> New -> New Module -> Import .JAR/.AAR.

  2. In your project's build.gradle file add the following lines:

    implementation project(':core-1.0.1')
    
    implementation 'com.google.firebase:firebase-messaging:18.0.0'
    implementation 'com.google.code.gson:gson:2.8.6'
    implementation 'com.squareup.okhttp3:okhttp:3.12.6'
    implementation 'com.squareup.retrofit2:retrofit:2.6.2'
    implementation 'com.squareup.retrofit2:converter-gson:2.6.2'
    implementation 'com.google.dagger:dagger:2.25.2'
    implementation 'com.android.support:support-annotations:28.0.0'
    
    annotationProcessor 'com.google.dagger:dagger-compiler:2.25.2'
    
    implementation project(':ui-1.0.1')
    
    implementation 'com.github.bumptech.glide:glide:4.9.0'
    implementation 'com.android.support:support-v4:28.0.0'
    implementation 'com.android.support:appcompat-v7:28.0.0'
    implementation 'com.android.support:exifinterface:28.0.0'
    implementation 'com.android.support:recyclerview-v7:28.0.0'
    implementation 'com.android.support:support-media-compat:28.0.0'
    implementation 'com.google.android.gms:play-services-location:16.0.0'
    implementation 'com.davemorrissey.labs:subsampling-scale-image-view:3.10.0'
    

You should now be able to import the libraries (import com.avaya.core, import com.avaya.ui) and start using them in your code.

Version

This is version 1.0.1 of AvMessagingSdk.