OCX Mobile Android SDK
This guide will walk you through the initial setup process to integrate the Oracle CX Mobile SDK with your project.
In this topic:
Step 1 - Download and Add the SDK
Note: If your app is already using the OCX Responsys Mobile SDK, then update to the latest SDK by downloading and replacing the new OCX Responsys Mobile SDK and Oracle.json.
- Download the Oracle CX Mobile SDK for Android.
-
Extract the downloaded zip and place the OracleCXResponsys-x.xx.aar file into your project's
libs
folder.
Note: The SDK has already been configured with default values for all the parameters except for the ora_dc_account_guid parameter
which is your unique identifier on the data collection server under which all your collected data from all your mobile apps is stored. You could configure the ora_dc_account_guid
parameter using the process shared here.
Step 2 – Import Oracle.json
Similarly, drag-and-drop the Oracle.json to your project. In the Oracle.json, it is important to add your Oracle Infinity Account GUID to the attribute ora_dc_account_guid
.
-
You can find your account GUID at https://app.oracleinfinity.com under the account/profile menu at the top-right of the screen.
-
You may choose to leave the other attributes as-is. A description of the attributes and their purpose is available here.
Step 3 – Load the Configurations
Add the following code to the first-screen or class of your app,.
ORABaseDataCollector.setApplication(getApplication());
ORACoreDataContainer container = new ORACoreDataContainer(getApplicationContext());
container.loadFromConfigFile();
Next steps
See the step-by-step guide on how to integrate the OCX Responsys Android SDK here.