BookmarkSubscribeRSS Feed

Installing the SAS Customer Intelligence 360 Mobile SDK on an Android Application

Started ‎02-29-2024 by
Modified ‎02-29-2024 by
Views 142

In an earlier article I introduced the SAS Customer Intelligence 360 Mobile SDK. In that blog I talked about what the Mobile SDK is and talked about the necessary collaboration between a mobile app developer and a marketer. The purpose of this blog is to build upon my previous blog and provide step by step instructions on how the mobile app developer can install and initialize the mobile SDK in an Android application. Future blogs will discuss other topics such as how to set up mobile messages, how to configure events, and how to prepare the mobile application to show spots.


The first step in installing the Mobile SDK is obtaining it from SAS Customer Intelligence 360.


To download the mobile SDK, in SAS Customer Intelligence 360 navigate to CONFIGURATION and select General Settings. Next, under Content Delivery, select Mobile Applications, and click the select button:



Select any image to see a larger version.
Mobile users: To view the images, select the "Full" version at the bottom of the page.


Next, select the app that you want to download the SDK for. And click the Download button:




This downloads a ZIP package, which is nothing but the SDK bundle. This file needs to be added to the app, libs folder:




Next, in Android Studio in the app’s build.gradle file, make sure to include an implementation file tree that includes the lib folder for the jar and ensure that there is gson file dependency in the application-level gradle file:




If you are using the Maven repository to install the mobile SDK, add the following to the project’s top-level build.gradle file:




Next, add the mobile SDK as a dependency in the app build.gradle file  The version number can be found in SAS Customer Intelligence 360:




Regardless of the method that you are using, the following steps need to be accomplished. The (part of the mobile SDK download) file needs to be added to the app, src, main, assets folder:




In the apps AndroidManifest file, include the android permission internet and add the SAS Collector Intent Service Definition:






There are then three ways to initialize the mobile SDK. First, in the AndroidManifest.xml file, specify as the name attribute of the application:




 Second, if a custom application class is already defined, update it to extend




Third, if you are already using a third-party application class, add a SASCollector.getInstance.Initialize call as well as a SASCollector.GetInstance.OnconfigurationChanged call:




For additional information see SAS Help Center: Installing the Android Mobile SDK or Installing the Android Mobile SDK | Customer Intelligence 360 - Customer Intelligence - SAS Video Po....





Version history
Last update:
‎02-29-2024 01:31 PM
Updated by:


Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.


Register now!

Free course: Data Literacy Essentials

Data Literacy is for all, even absolute beginners. Jump on board with this free e-learning  and boost your career prospects.

Get Started

Article Tags