Initializing an Application

Initialize an application.

Syntax

public static void initialize(android.content.Content context, String appID) throws com.sybase.mo.MessagingClientException

Parameters

  • context – Name of the application context.
  • appID – Name of the registered application.

Examples

  • Initialize an application and set the server details
    LiteUserManager.initInstance(getApplicationContext(), "SampleUserProcessing");
          LiteUserManager lurm = LiteUserManager.getInstance();