Skip to main content
Essentials
Build AI experiences
Build AI-powered Android apps with Gemini APIs and more.
Get started
Get started
Create your first app. Use Compose for UI and adaptive app development to support multiple device form factors.
Hello, world!
Developer Verification
Adaptive apps
Compose for UI
AI-powered IDE
Training
Monetization with Play ↗️
Optimize by form factor
Build apps that optimize the user experience on phones, tablets, foldables, cars, XR, and more.
Phones, tablets, foldables
Android for Cars
Android TV
Android XR
Googlebook
ChromeOS
Wear OS
Build by category
Learn to build for your use case by following Google's prescriptive and opinionated guidance.
Games
Camera & media
Social & messaging
Health & fitness
Productivity
Enterprise apps
Get the latest
Stay in touch with the latest releases throughout the year, join our preview programs, and give us your feedback.
Latest updates
Experimental updates
Android Studio preview
Jetpack & Compose libraries
Wear OS releases
Privacy Sandbox ↗️
Design & Plan
Excellent Experiences
Build the best experiences for your best users.
Learn more
UI Design
Design a beautiful user interface using Android best practices.
Design for Android
Mobile
Desktop experiences
XR Headsets & XR Glasses
AI Glasses
Widgets
Wear OS
Android TV
Android for Cars
Architecture
Design robust, testable, and maintainable app logic and services.
Introduction
Libraries
Navigation
Modularization
Testing
Kotlin Multiplatform
Quality
Plan for app quality and align with Play store guidelines.
Overview
Core value
User experience
Accessibility
Technical quality
Excellent Experiences
Security
Safeguard users against threats and ensure a secure Android experience.
Overview
Privacy
Permissions
Identity
Fraud prevention
Develop
Gemini in Android Studio
Your AI development companion for Android development.
Learn more
Get Android Studio
Core areas
Get the samples and docs for the features you need.
Samples
Multidevice support
User interfaces
Background work
Data and files
Connectivity
All core areas ⤵️
Tools and workflow
Use the IDE to write and build your app, or create your own pipeline.
Write and debug code
Build projects
Test your app
Performance
Command-line tools
Gradle plugin API
Android Bench
Device tech
Write code for form factors. Connect devices and share data.
Phones, tablets, foldables
ChromeOS
Android for Cars
Android TV
Android XR
Wear OS
Android Health
Better Together
All devices ⤵️
Libraries
Browse API reference documentation with all the details.
Android platform
Jetpack libraries
Compose libraries
Google Play services ↗️
Google Play SDK index ↗️
Google Play
Play Console
Publish your app or game and grow your business on Google Play.
Go to Play Console
Learn more ↗️
Fundamentals
Learn how to engage users, monitize, and secure your app.
Play Monetization
Play Integrity
Android vitals
Play Policies
Play Programs ↗️
Games Dev Center
Develop and deliver games. Get tools, downloads, and samples.
Overview
Play Asset Delivery
Play Games Services
Play Games on PC
Level Up guidelines
All Play guides ⤵️
Libraries
Browse API reference documentation with all the details.
Play Feature Delivery
Play In-app Updates
Play In-app Reviews
Play Install Referrer
Google Play services ↗️
Google Play SDK index ↗️
All Play libraries ⤵️
Tools & resources
Tools for publishing, promoting, and managing your app.
Android App Bundles
Brand & marketing
Play Console APIs ↗️
Blog
the Android Developer's Blog
Read the latest
Explore the authors →
Explore categories
Product News
Stay in the loop with the latest updates, feature releases, and behind-the-scenes looks at how we’re evolving.
Community
Discover stories from our users, spotlight features, and the collaborative projects that bring us all together.
How-tos
From quick tips to deep-dive tutorials, these step-by-step guides are designed to help you work smarter and faster.
Case Studies
Real-world results from real-world users. Explore how different teams use our tools to achieve their goals.
Events & Programs
Get the details on upcoming webinars, workshops, meetups, and special initiatives designed to help you grow.
Documentation
Access detailed manuals, API references, and technical specifications to help you build and integrate with confidence.
/
English
Deutsch
Español – América Latina
Français
Indonesia
Polski
Português – Brasil
Tiếng Việt
中文 – 简体
日本語
한국어
Android Studio
Sign in
API reference
Essentials
More
Design & Plan
More
Develop
More
Google Play
More
Blog
More
Android Studio
Android API Reference
Overview
AndroidX
Class Index
Package Index
androidx.a2ui.engine.catalog
Overview
Interfaces
A2uiCoreCatalog
A2uiCoreComponentDefinition
A2uiCoreComponentDefinitionCollection
Classes
A2uiCoreCatalogKt
A2uiCoreCatalogSerializer
A2uiCoreComponentDefinitionCollectionKt
A2uiCoreComponentDefinitionKt
androidx.a2ui.engine.model
Overview
Interfaces
A2uiCoreValueResolver
Classes
A2uiCoreSurfaceGroupModel
A2uiCoreSurfaceModel
androidx.a2ui.engine.platform
Overview
Interfaces
A2uiCoreComponentRegistry
A2uiCoreDataModel
androidx.a2ui.engine.processor
Overview
Classes
A2uiCoreMessageProcessor
androidx.a2ui.model.catalog
Overview
Interfaces
A2uiFunction
A2uiFunctionCollection
A2uiFunctionDefinition
Classes
A2uiFunctionCollectionKt
A2uiFunctionDefinitionKt
Enums
A2uiFunctionReturnType
androidx.a2ui.model.catalog.basiccatalog
Overview
Classes
A2uiBasicCatalogFunctions
androidx.a2ui.model.catalog.functions
Overview
Interfaces
A2uiLocaleProvider
A2uiMessageFormatter
A2uiUrlOpener
Classes
A2uiAndFunction
A2uiEmailFunction
A2uiFormatCurrencyFunction
A2uiFormatDateFunction
A2uiFormatNumberFunction
A2uiFormatStringFunction
A2uiFunctionArgParser
A2uiLengthFunction
A2uiNotFunction
A2uiNumericFunction
A2uiOpenUrlFunction
A2uiOrFunction
A2uiPluralizeFunction
A2uiRegexFunction
A2uiRequiredFunction
androidx.a2ui.model.processor
Overview
Interfaces
A2uiActionInterceptor
A2uiJsonReader
A2uiMessageParser
A2uiMessageProcessor
A2uiSurfaceModel
Classes
A2uiJsonMessageParser
A2uiMessageProcessorKt
Enums
A2uiJsonToken
androidx.a2ui.model.protocol
Overview
Interfaces
A2uiClientToServerMessage
A2uiExecutionContext
A2uiInlineCatalog
A2uiServerToClientMessage
A2uiUserAction
Classes
A2uiClientCapabilities
A2uiClientDataModel
A2uiClientErrorMessage
A2uiClientEventMessage
A2uiComponentPayload
A2uiCreateSurfaceMessage
A2uiDataPath
A2uiDeleteSurfaceMessage
A2uiEventAction
A2uiFunctionCallAction
A2uiProtocolConstants
A2uiUpdateComponentsMessage
A2uiUpdateDataModelMessage
Exceptions
A2uiException
A2uiException.A2uiRuntimeException
A2uiException.A2uiValidationException
androidx.a2ui.model.schema
Overview
Classes
A2uiAnySchema
A2uiArraySchema
A2uiBooleanSchema
A2uiCompositeSchema
A2uiNumberSchema
A2uiObjectSchema
A2uiRefSchema
A2uiSchema
A2uiSchemaKeyword
A2uiSchemaKeyword.AllOf
A2uiSchemaKeyword.AnyOf
A2uiSchemaKeyword.Const
A2uiSchemaKeyword.Default
A2uiSchemaKeyword.Enum
A2uiSchemaKeyword.Format
A2uiSchemaKeyword.IfThen
A2uiSchemaKeyword.Not
A2uiSchemaKeyword.OneOf
A2uiStringSchema
androidx.a2ui.model.schema.commontypes
Overview
Classes
A2uiAccessibilityAttributesSchema
A2uiActionSchema
A2uiCheckRuleSchema
A2uiCheckableSchema
A2uiChildListSchema
A2uiComponentCommonSchema
A2uiComponentIdSchema
A2uiDataBindingSchema
A2uiDynamicBooleanSchema
A2uiDynamicNumberSchema
A2uiDynamicStringListSchema
A2uiDynamicStringSchema
A2uiDynamicValueSchema
A2uiFunctionCallSchema
androidx.activity
Overview
Interfaces
FullyDrawnReporterOwner
OnBackPressedDispatcherOwner
Classes
ActivityFlags
ActivityViewModelLazyKt
BackEventCompat
ComponentActivity
ComponentDialog
EdgeToEdge
FullyDrawnReporter
FullyDrawnReporterKt
NavigationEventDispatcherOwnerFactory
OnBackPressedCallback
OnBackPressedDispatcher
OnBackPressedDispatcherKt
OnBackPressedDispatcherOwnerFactory
PipHintTrackerKt
SystemBarStyle
ViewTreeFullyDrawnReporterOwner
ViewTreeOnBackPressedDispatcherOwner
Annotations
ExperimentalActivityApi
androidx.activity.contextaware
Overview
Interfaces
ContextAware
OnContextAvailableListener
Classes
ContextAwareHelper
ContextAwareKt
androidx.activity.result
Overview
Interfaces
ActivityResultCallback
ActivityResultCaller
ActivityResultRegistryOwner
Classes
ActivityResult
ActivityResultCallerKt
ActivityResultKt
ActivityResultLauncher
ActivityResultLauncherKt
ActivityResultRegistry
IntentSenderRequest
IntentSenderRequest.Builder
PickVisualMediaRequest
PickVisualMediaRequest.Builder
PickVisualMediaRequestKt
androidx.activity.result.contract
Overview
Interfaces
ActivityResultContracts.PickVisualMedia.VisualMediaType
Classes
ActivityResultContract
ActivityResultContract.SynchronousResult
ActivityResultContracts
ActivityResultContracts.CaptureVideo
ActivityResultContracts.CreateDocument
ActivityResultContracts.GetContent
ActivityResultContracts.GetMultipleContents
ActivityResultContracts.OpenDocument
ActivityResultContracts.OpenDocumentTree
ActivityResultContracts.OpenMultipleDocuments
ActivityResultContracts.PickContact
ActivityResultContracts.PickMultipleVisualMedia
ActivityResultContracts.PickVisualMedia
ActivityResultContracts.PickVisualMedia.DefaultTab
ActivityResultContracts.PickVisualMedia.DefaultTab.AlbumsTab
ActivityResultContracts.PickVisualMedia.DefaultTab.PhotosTab
ActivityResultContracts.PickVisualMedia.ImageAndVideo
ActivityResultContracts.PickVisualMedia.ImageOnly
ActivityResultContracts.PickVisualMedia.MediaCapabilities
ActivityResultContracts.PickVisualMedia.MediaCapabilities.Builder
ActivityResultContracts.PickVisualMedia.SingleMimeType
ActivityResultContracts.PickVisualMedia.VideoOnly
ActivityResultContracts.RequestMultiplePermissions
ActivityResultContracts.RequestPermission
ActivityResultContracts.StartActivityForResult
ActivityResultContracts.StartIntentSenderForResult
ActivityResultContracts.TakePicture
ActivityResultContracts.TakePicturePreview
ActivityResultContracts.TakeVideo
androidx.annotation
Overview
Enums
InspectableProperty.ValueType
RequiresOptIn.Level
RestrictTo.Scope
Annotations
AnimRes
AnimatorRes
AnyRes
AnyThread
ArrayRes
AttrRes
BinderThread
BoolRes
CallSuper
CheckResult
ChecksSdkIntAtLeast
ColorInt
ColorLong
ColorRes
ContentView
DeprecatedSinceApi
DimenRes
Dimension
Discouraged
DisplayContext
DoNotInline
DrawableRes
EmptySuper
FloatRange
FontRes
FractionRes
GravityInt
GuardedBy
HalfFloat
IdRes
InspectableProperty
InspectableProperty.EnumEntry
InspectableProperty.FlagEntry
IntDef
IntRange
IntegerRes
InterpolatorRes
Keep
LayoutRes
LongDef
MainThread
MenuRes
NavigationRes
NonNull
NonUiContext
Nullable
OpenForTesting
OptIn
PluralsRes
Px
RawRes
ReplaceWith
RequiresApi
RequiresExtension
RequiresFeature
RequiresFlag
RequiresOptIn
RequiresPermission
RequiresPermission.Read
RequiresPermission.Write
RestrictTo
ReturnThis
Size
StringDef
StringRes
StyleRes
StyleableRes
TransitionRes
UiContext
UiThread
VisibleForTesting
WorkerThread
XmlRes
androidx.annotation.experimental