Initialize the SDK

Messaging.initialize(context, new InitLivePersonProperties(caoApplcationID, caoProviderID, appID,
  new InitMessagingCallBack() {
   public void onInitSucceed() {
   public void onInitFailed(Exception e) {
[table “241” not found /]

Once initialization is completed (onInitSucceed), call Messaging class methods.

The SDK supports two operation modes: Activity and Fragment. For more information about each mode, refer to Step 3: Code integration for basic deployment.

To start the Activity mode:

Messaging.showConversation(Activity activity, referenceID, name, , initialUserText);

To start Fragment mode: (Attach the returned fragment to a container in your activity) :

Messaging.getConversationFragment(referenceID, name, initialUserText);