android.app
Interfaces
| OnMenuVisibilityListener |
Listener for receiving events when action bar menus are shown or hidden. |
| OnNavigationListener |
Listener interface for ActionBar navigation events. |
| TabListener |
Callback interface invoked when a tab is focused, unfocused, added, or removed. |
| ScreenCaptureCallback |
Interface for observing screen captures of an |
| OnAlarmListener |
Direct-notification alarms: the requester must be running continuously from the time the alarm is set to the time it is delivered, or delivery will fail. |
| ActivityLifecycleCallbacks | |
| OnProvideAssistDataListener |
Callback interface for use with |
| OnOpActiveChangedListener |
Callback for notification of changes to operation active state. |
| OnOpChangedListener |
Callback for notification of changes to operation state. |
| OnDateSetListener |
The listener used to indicate the user has finished selecting a date. |
| OnBreadCrumbClickListener |
Interface to intercept clicks on the bread crumbs. |
| BackStackEntry |
Representation of an entry on the fragment back stack, as created with |
| OnBackStackChangedListener |
Interface to watch for changes to the back stack. |
| DeviceLockedStateListener |
Listener for device locked state changes. |
| KeyguardLockedStateListener |
Listener for keyguard locked state changes. |
| OnKeyguardExitResult |
Callback passed to |
| LoaderCallbacks |
Callback interface for a client to interact with the manager. |
| Extender |
Extender interface for use with |
| OnFinished |
Callback interface for discovering when a send operation has completed. |
| OnCancelListener |
See |
| OnDismissListener |
See |
| OnSharedElementsReadyListener |
Listener to be called after |
| OnTimeSetListener |
The callback interface used to indicate the user is done filling in the time (e.g. they clicked on the 'OK' button). |
| AccessibilityEventFilter |
Listener for filtering accessibility events. |
| OnAccessibilityEventListener |
Listener for observing the |
| ContrastChangeListener |
Listener for the UI contrast. |
| OnColorsChangedListener |
Interface definition for a callback to be invoked when colors change on a wallpaper. |
| ZygotePreload |
This is the interface to be implemented for the class that is specified by the |
Classes
| ActionBar |
A primary toolbar within the activity that may display the activity title, application-level navigation affordances, and other interactive items. |
| Activity |
An activity is a single, focused thing that the user can do. |
| ActivityGroup |
A screen that contains and runs multiple embedded activities. |
| ActivityManager |
This class gives information about, and interacts with, activities, services, and the containing process. |
| ActivityOptions |
Helper class for building an options Bundle that can be used with |
| AlarmManager |
This class provides access to the system alarm services. |
| AlertDialog |
A subclass of Dialog that can display one, two or three buttons. |
| AliasActivity |
Stub activity that launches another activity (and then finishes itself) based on information in its component's manifest meta-data. |
| AppComponentFactory |
Interface used to control the instantiation of manifest elements. |
| Application |
Base class for maintaining global application state. |
| ApplicationErrorReport |
Describes an application error. |
| ApplicationExitInfo |
Describes the information of an application process's death. |
| ApplicationStartInfo |
Describes information related to an application process's startup. |
| AppOpsManager |
App-ops are used for two purposes: Access control and tracking. |
| AsyncNotedAppOp |
When an |
| AutomaticZenRule |
Rule instance information for a zen (aka DND or Attention Management) mode. |
| BroadcastOptions |
Helper class for building an options Bundle that can be used with |
| ComponentCaller |
Represents the app that launched the component. |
| DatePickerDialog |
A simple dialog containing an |
| Dialog |
Base class for Dialogs. |
| DialogFragment |
A fragment that displays a dialog window, floating on top of its activity's window. |
| DirectAction |
Represents an abstract action that can be perform on this app. |
| DownloadManager |
The download manager is a system service that handles long-running HTTP downloads. |
| ExpandableListActivity |
An activity that displays an expandable list of items by binding to a data source implementing the ExpandableListAdapter, and exposes event handlers when the user selects an item. |
| Fragment |
A Fragment is a piece of an application's user interface or behavior that can be placed in an |
| FragmentBreadCrumbs |
Helper class for showing "bread crumbs" representing the fragment stack in an activity. |
| FragmentContainer |
Callbacks to a |
| FragmentController |
Provides integration points with a |
| FragmentHostCallback |
Integration points with the Fragment host. |
| FragmentManager |
Interface for interacting with |
| FragmentManagerNonConfig |
FragmentManagerNonConfig stores the retained instance fragments across activity recreation events. |
| FragmentTransaction |
API for performing a set of Fragment operations. |
| GameManager |
The GameManager allows system apps to modify and query the game mode of apps. |
| GameState |
State of the game passed to the GameManager. |
| GrammaticalInflectionManager |
This class allow applications to control granular grammatical inflection settings (such as per-app grammatical gender). |
| Instrumentation |
Base class for implementing application instrumentation code. |
| IntentService |
IntentService is an extension of the |
| KeyguardManager |
Class to manage and query the state of the lock screen (also known as Keyguard). |
| LauncherActivity |
Displays a list of all activities which can be performed for a given intent. |
| ListActivity |
An activity that displays a list of items by binding to a data source such as an array or Cursor, and exposes event handlers when the user selects an item. |
| ListFragment |
A fragment that displays a list of items by binding to a data source such as an array or Cursor, and exposes event handlers when the user selects an item. |
| LoaderManager |
Interface associated with an |
| LocalActivityManager |
Helper class for managing multiple running embedded activities in the same process. |
| LocaleConfig |
The LocaleConfig of an application. |
| LocaleManager |
This class gives access to system locale services. |
| MediaRouteActionProvider |
The media route action provider displays a |
| MediaRouteButton | |
| NativeActivity |
Convenience for implementing an activity that will be implemented purely in native code. |
| Notification |
A class that represents how a persistent notification is to be presented to the user using the |
| NotificationChannel |
A representation of settings that apply to a collection of similarly themed notifications. |
| NotificationChannelGroup |
A grouping of related notification channels. |
| NotificationManager |
Class to notify the user of events that happen. |
| PendingIntent |
A description of an Intent and target action to perform with it. |
| Person |
Provides an immutable reference to an entity that appears repeatedly on different surfaces of the platform. |
| PictureInPictureParams |
Represents a set of parameters used to initialize and update an Activity in picture-in-picture mode. |
| PictureInPictureUiState |
Used by |
| Presentation |
Base class for presentations. |
| ProgressDialog |
A dialog showing a progress indicator and an optional text message or view. |
| RemoteAction |
Represents a remote action that can be called from another process. |
| RemoteInput |
A |
| SearchableInfo |
Searchability meta-data for an activity. |
| SearchManager |
This class provides access to the system search services. |
| Service |
A Service is an application component representing either an application's desire to perform a longer-running operation while not interacting with the user or to supply functionality for other applications to use. |
| SharedElementCallback |
Listener provided in |
| StatusBarManager |
Allows an app to control the status bar. |
| SyncNotedAppOp |
Description of an app-op that was noted for the current process. |
| TabActivity |
For apps developing against |
| TaskInfo |
Stores information about a particular Task. |
| TaskStackBuilder |
Utility class for constructing synthetic back stacks for cross-task navigation on Android 3. |
| TimePickerDialog |
A dialog that prompts the user for the time of day using a |
| UiAutomation |
Class for interacting with the device's UI by simulation user actions and introspection of the screen content. |
| UiModeManager |
This class provides access to the system uimode services. |
| VoiceInteractor |
Interface for an |
| WallpaperColors |
Provides information about the colors of a wallpaper. |
| WallpaperInfo |
This class is used to specify meta information of a wallpaper service. |
| WallpaperManager |
Provides access to the system wallpaper. |
Exceptions
| AuthenticationRequiredException |
Specialization of |
| BackgroundServiceStartNotAllowedException |
Exception thrown when an app tries to start a background |
| ForegroundServiceStartNotAllowedException |
Exception thrown when an app tries to start a foreground |
| ForegroundServiceTypeException |
Base exception thrown when an app tries to start a foreground |
| InvalidForegroundServiceTypeException |
Exception thrown when an app tries to start a foreground |
| MissingForegroundServiceTypeException |
Exception thrown when an app tries to start a foreground |
| RecoverableSecurityException |
Specialization of |
| ServiceStartNotAllowedException |
Exception thrown when an app tries to start a |
| StartForegroundCalledOnStoppedServiceException |
Exception thrown when android. |