Package Index

These are the API packages. See all API classes.

android

Contains resource classes used by applications included in the platform and defines application permissions for system features.

android.accessibilityservice

The classes in this package are used for development of accessibility service that provide alternative or augmented feedback to the user.

android.accounts
android.adservices
android.adservices.adid
android.adservices.adselection
android.adservices.appsetid
android.adservices.common
android.adservices.customaudience
android.adservices.exceptions
android.adservices.measurement
android.adservices.topics
android.animation

These classes provide functionality for the property animation system, which allows you to animate object properties of any type. int, float, and hexadecimal color values are supported by default. You can animate any other type by telling the system how to calculate the values for that given type with a custom TypeEvaluator.

For more information, see the Animation guide.

android.annotation
android.app

Contains high-level classes encapsulating the overall Android application model.

android.app.admin

Provides device administration features at the system level, allowing you to create security-aware applications that are useful in enterprise settings, in which IT professionals require rich control over employee devices.

For more information, see the Device Administration guide.

android.app.appsearch
android.app.appsearch.exceptions
android.app.appsearch.observer
android.app.appsearch.util
android.app.assist
android.app.backup

Contains the backup and restore functionality available to applications. If a user wipes the data on their device or upgrades to a new Android-powered device, all applications that have enabled backup can restore the user's previous data when the application is reinstalled.

For more information, see the Data Backup guide.

android.app.blob
android.app.job
android.app.people
android.app.role
android.app.sdksandbox
android.app.sdksandbox.sdkprovider
android.app.slice
android.app.usage
android.appwidget

Contains the components necessary to create "app widgets", which users can embed in other applications (such as the home screen) to quickly access application data and services without launching a new activity.

For more information, see the App Widgets guide.

android.bluetooth
android.bluetooth.le
android.companion
android.companion.virtual
android.content

Contains classes for accessing and publishing data on a device.

android.content.om
android.content.pm

Contains classes for accessing information about an application package, including information about its activities, permissions, services, signatures, and providers.

android.content.pm.verify.domain
android.content.res

Contains classes for accessing application resources, such as raw asset files, colors, drawables, media, or other files in the package, plus important device configuration details (orientation, input types, etc.) that affect how the application may behave.

For more information, see the Application Resources guide.

android.content.res.loader
android.credentials
android.database Contains classes to explore data returned through a content provider.
android.database.sqlite Contains the SQLite database management classes that an application would use to manage its own private database.
android.devicelock
android.drm

Provides classes for managing DRM content and determining the capabilities of DRM plugins (agents).

android.gesture Provides classes to create, recognize, load and save gestures.
android.graphics Provides low level graphics tools such as canvases, color filters, points, and rectangles that let you handle drawing to the screen directly.
android.graphics.drawable

Provides classes to manage a variety of visual elements that are intended for display only, such as bitmaps and gradients.

android.graphics.drawable.shapes Contains classes for drawing geometric shapes.
android.graphics.fonts
android.graphics.pdf Contains classes for manipulation of PDF content.
android.graphics.text
android.hardware

Provides support for hardware features, such as the camera and other sensors.

android.hardware.biometrics
android.hardware.camera2

The android.hardware.camera2 package provides an interface to individual camera devices connected to an Android device.

android.hardware.camera2.params
android.hardware.display
android.hardware.fingerprint
android.hardware.input
android.hardware.lights
android.hardware.usb

Provides support to communicate with USB hardware peripherals that are connected to Android-powered devices.

For more information, see the USB guide.

android.health.connect
android.health.connect.changelog
android.health.connect.datatypes
android.health.connect.datatypes.units
android.icu.lang
android.icu.math
android.icu.number
android.icu.text
android.icu.util
android.inputmethodservice Base classes for writing input methods (such as software keyboards).
android.location

Contains framework API classes for accessing a variety of location related services.

android.location.altitude
android.location.provider
android.media Provides classes that manage various media interfaces in audio and video.
android.media.audiofx Provides classes that manage audio effects implemented in the media framework.
android.media.browse
android.media.effect

Provides classes that allow you to apply a variety of visual effects to images and videos.

android.media.metrics
android.media.midi

Provides classes for sending and receiving messages using the standard MIDI event protocol over USB, Bluetooth LE, and virtual (inter-app) transports.

android.media.projection
android.media.session
android.media.tv
android.media.tv.interactive
android.mtp

Provides APIs that let you interact directly with connected cameras and other devices, using the PTP (Picture Transfer Protocol) subset of the MTP (Media Transfer Protocol) specification.

android.net Classes that help with network access, beyond the normal java.net.* APIs.
android.net.eap
android.net.http
android.net.ipsec.ike
android.net.ipsec.ike.exceptions
android.net.nsd
android.net.rtp
android.net.sip
android.net.ssl
android.net.vcn
android.net.wifi
android.net.wifi.aware
android.net.wifi.hotspot2
android.net.wifi.hotspot2.omadm
android.net.wifi.hotspot2.pps
android.net.wifi.p2p
android.net.wifi.p2p.nsd
android.net.wifi.rtt
android.nfc

Provides access to Near Field Communication (NFC) functionality, allowing applications to read NDEF message in NFC tags. A "tag" may actually be another device that appears as a tag.

For more information, see the Near Field Communication guide.

android.nfc.cardemulation
android.nfc.tech

These classes provide access to a tag technology's features, which vary by the type of tag that is scanned.

android.opengl

Provides an OpenGL ES static interface and utilities.

android.os Provides basic operating system services, message passing, and inter-process communication on the device.
android.os.ext
android.os.health The android.os.health package contains a set of classes to provide data to track the system resources of applications.
android.os.storage

Contains classes for the system storage service, which manages binary asset filesystems known as Opaque Binary Blobs (OBBs).

android.os.strictmode
android.preference These classes are deprecated.
android.print

Overview

Provides classes for implementing print support in applications and also contains all base classes and abstractions involved in printing.

android.print.pdf
android.printservice

Provides classes for implementing print services.

android.provider

Provides convenience classes to access the content providers supplied by Android.

android.renderscript

Renderscript is deprecated since API level 31. Please refer to the migration guide for alternatives.

android.sax A framework that makes it easy to write efficient and robust SAX handlers.
android.se.omapi
android.security

Provides access to a few facilities of the Android security subsystems.

android.security.identity
android.security.keystore
android.service.assist.classification
android.service.autofill
android.service.carrier
android.service.chooser
android.service.controls
android.service.controls.actions
android.service.controls.templates
android.service.credentials
android.service.dreams
android.service.media
android.service.notification
android.service.quickaccesswallet
android.service.quicksettings
android.service.restrictions
android.service.textservice

Provides classes that allow you to create spell checkers in a manner similar to the input method framework (for IMEs).

android.service.voice
android.service.vr
android.service.wallpaper
android.speech
android.speech.tts
android.system
android.telecom The Android Telecom framework is responsible for managing calls on an Android device.
android.telephony Provides APIs for monitoring the basic phone information, such as the network type and connection state, plus utilities for manipulating phone number strings.
android.telephony.cdma Provides APIs for utilizing CDMA-specific telephony features.
android.telephony.data
android.telephony.emergency
android.telephony.euicc
android.telephony.gsm Provides APIs for utilizing GSM-specific telephony features, such as text/data/PDU SMS messages.
android.telephony.ims
android.telephony.ims.feature
android.telephony.ims.stub
android.telephony.mbms
android.test

A framework for writing Android test cases and suites.

For more information, see the Testing developer guide.

android.test.mock

Utility classes providing stubs or mocks of various Android framework building blocks.

For more information, see the Testing guide.

android.test.suitebuilder Utility classes supporting the test runner classes.
android.test.suitebuilder.annotation Utility classes supporting the test runner classes.
android.text

Provides classes used to render or track text and text spans on the screen.

android.text.format This package contains alternative classes for some text formatting classes defined in java.util and java.text.
android.text.method

Provides classes that monitor or modify keypad input.

android.text.style

Provides classes used to view or change the style of a span of text in a View object.

android.text.util Utilities for converting identifiable text strings into clickable links and creating RFC 822-type message (SMTP) tokens.
android.transition

The classes in this package enable "scenes & transitions" functionality for view hiearchies.

android.util Provides common utility methods such as date/time manipulation, base64 encoders and decoders, string and number conversion methods, and XML utilities.
android.util.proto Provides utility classes to export protocol buffers from the system.
android.view Provides classes that expose basic user interface classes that handle screen layout and interaction with the user.
android.view.accessibility

The classes in this package are used to represent screen content and changes to it as well as APIs for querying the global accessibility state of the system.

android.view.animation

Provides classes that handle tweened animations.

android.view.autofill
android.view.contentcapture
android.view.displayhash
android.view.inputmethod Framework classes for interaction between views and input methods (such as soft keyboards).
android.view.inspector
android.view.textclassifier
android.view.textservice
android.view.translation
android.webkit

Provides tools for browsing the web.

android.widget

The widget package contains (mostly visual) UI elements to use on your Application screen.

android.widget.inline
android.window
dalvik.annotation
dalvik.annotation.optimization
dalvik.bytecode
dalvik.system
java.awt.font
java.beans
java.io
java.lang
java.lang.annotation
java.lang.invoke
java.lang.ref
java.lang.reflect
java.lang.runtime
java.math
java.net
java.nio
java.nio.channels
java.nio.channels.spi
java.nio.charset
java.nio.charset.spi
java.nio.file
java.nio.file.attribute
java.nio.file.spi
java.security
java.security.acl
java.security.cert
java.security.interfaces
java.security.spec
java.sql
java.text
java.time
java.time.chrono
java.time.format
java.time.temporal
java.time.zone
java.util
java.util.concurrent
java.util.concurrent.atomic
java.util.concurrent.locks
java.util.function
java.util.jar
java.util.logging
java.util.prefs
java.util.regex
java.util.stream
java.util.zip
javax.annotation.processing
javax.crypto
javax.crypto.interfaces
javax.crypto.spec
javax.microedition.khronos.egl
javax.microedition.khronos.opengles

Provides a standard OpenGL interface.

javax.net
javax.net.ssl
javax.security.auth
javax.security.auth.callback
javax.security.auth.login
javax.security.auth.x500
javax.security.cert
javax.sql
javax.xml
javax.xml.datatype
javax.xml.namespace
javax.xml.parsers
javax.xml.transform
javax.xml.transform.dom
javax.xml.transform.sax
javax.xml.transform.stream
javax.xml.validation
javax.xml.xpath
junit.framework
junit.runner Utility classes supporting the junit test framework.
org.apache.http.conn
org.apache.http.conn.scheme
org.apache.http.conn.ssl TLS/SSL specific parts of the HttpConn API.
org.apache.http.params
org.json
org.w3c.dom
org.w3c.dom.ls
org.xml.sax
org.xml.sax.ext
org.xml.sax.helpers
org.xmlpull.v1
org.xmlpull.v1.sax2