public class

InstrumentedActivity

extends Activity
java.lang.Object
   ↳ android.content.Context
     ↳ android.content.ContextWrapper
       ↳ android.view.ContextThemeWrapper
         ↳ android.app.Activity
           ↳ com.urbanairship.analytics.InstrumentedActivity

This class is deprecated.
Marked to be removed in 7.0.0. Instrumentation is only required for applications that still build for Android Gingerbread and older. Those application should call activityStarted(Activity) and activityStopped(Activity) directly in the ``onStart`` and ``onStop`` activity methods.

Class Overview

This class is a simple extension of an Activity, suitable for subclassing, that automates calling activityStarted and activityStopped in Analytics. It is recommended that you subclass this Activity, or InstrumentedListActivity, unless you are already using a specialized Activity that falls outside the scope of these classes.

Summary

[Expand]
Inherited Constants
From class android.app.Activity
From class android.content.Context
From interface android.content.ComponentCallbacks2
[Expand]
Inherited Fields
From class android.app.Activity
Public Constructors
InstrumentedActivity()
Public Methods
void onStart()
void onStop()
Protected Methods
void onCreate(Bundle savedInstanceState)
[Expand]
Inherited Methods
From class android.app.Activity
From class android.view.ContextThemeWrapper
From class android.content.ContextWrapper
From class android.content.Context
From class java.lang.Object
From interface android.content.ComponentCallbacks
From interface android.content.ComponentCallbacks2
From interface android.view.KeyEvent.Callback
From interface android.view.LayoutInflater.Factory
From interface android.view.LayoutInflater.Factory2
From interface android.view.View.OnCreateContextMenuListener
From interface android.view.Window.Callback

Public Constructors

public InstrumentedActivity ()

Public Methods

public void onStart ()

public void onStop ()

Protected Methods

protected void onCreate (Bundle savedInstanceState)