Sets the callback for the current application. It is optional, but recommended, to register a callback so the application can respond to changes in connection status, registration status, and application settings.
public void setApplicationCallback(ApplicationCallback value)
// Initialize Application settings
Application app = Application.getInstance();
// The identifier has to match the
// application ID deployed to the SUP server
app.setApplicationIdentifier("SUP101");
ApplicationCallback appCallback = new MyApplicationCallback();
app.setApplicationCallback(appCallback);