Overview

Skill Level: Any

Prerequisites

Not what you’re looking for? Check out all our available tutorials for mobile app messaging here.

Step-by-step

  1. If the SDK is built on your Android app, use the following code to generate information about the SDK.

    // Detecting if IMC SDK is installed 
    try {
        Class.forName("com.ibm.mce.sdk.api.MceSdk");
        System.out.println("IMC SDK installed");
    } catch (ClassNotFoundException e) {
      System.out.println("IMC SDK not installed");
    }
    
  2. After you know that the SDK is on your Android app, you can query for its version.

    String versionNum = MceSdk.getSdkVerNumber(); 
    System.out.println("IMC SDK Version: " + versionNum); 
    

Expected outcome

Next, you can check the registration details. For information about obtaining registration details, see How to access registration details (Android).

Need more help? Check out all of our available tutorials for mobile app messaging here.

Join The Discussion

Your email address will not be published. Required fields are marked *