Code example for Instrumentation

Methods: callActivityOnPausecallActivityOnResume