setApplicationContext

Sets the Android application context, which is required before calling thestartConnection, registerApplication or unregisterApplication methods. This method must be called in an user interface thread, not a background thread.

Syntax

public void setApplicationContext(android.content.Context context)

Returns

None.

Examples

  • Set the Application Context
    setApplicationContext(android.content.Context context)