The Acoustic Analytics Developer Hub

Welcome to the Acoustic Analytics developer hub. You'll find comprehensive guides and documentation to help you start working with Acoustic Analytics as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started    

Simplify Tealeaf Android SDK Instrumentation via Plugin

Overview

Skill Level: Intermediate

Introduction to our new CXA Plugin module that will provide seamless integration of CXA SDK into Android Projects

Ingredients

Android Studio

Java

Step-by-step

  1. Open Android Studio and click Preferences

    Open your Android mobile application project in Android Studio (Here is a link to download latest version of Android Studio ) and click Preferences

    Picture1

  2. Select Plugin

    Click on Plugins and click on “Browse repositories…

    Picture2

  3. Install Plugin

    A list of available plugins are displayed. Type “CXA” & click on green install button

    Picture3

    Picture4

    Alternatively, you can also visit https://plugins.jetbrains.com/androidstudio; Search for CXA Plugin and download the latest version of the CXA Plugin jar and install it

    Picture5

  4. Restart Android Studio

    Click Restart Android Studio

    Picture6

  5. Instrument

    Once you restart Android Studio, you will see a new menu item called CXA. This means the plugin was installed sucessfully!

    Go to the new menu item CXA – Click on “Start Instrumentation” (You will notice CXA assets under assets folder)Picture7

  6. View Replay

    It is very easy to use the SDK to post data to our cloud Replay Server. Open the TealeafBasic Config file (under assets folder) and provide the below two items:

    Appkey (Please provide a valid app key) and PostMessageUrl (Example of US Data center url) used below:

    Picture8

    Compile and Run you project. If you see a POSTTASK ID generated then your data got posted successfully:

    Picture9

Updated 5 months ago


Simplify Tealeaf Android SDK Instrumentation via Plugin


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.