Android Health & Fitness samples
A selection of code samples for you to use to accelerate your app development. Browse samples to learn how to build different components for your apps.
Health Services on Wear OS samples
Exercise Sample
Manage an exercise experience using the ExerciseClient API.
Passive Goals
Monitor goal progress in the background and receive goal notifications using the PassiveMonitoringClient API.
Passive Data
Receive passive data updates in the background using the PassiveMonitoringClient API.
Measure Data with Compose
Get rapid data updates in the foreground using the MeasureClient API.
Bluetooth Low Energy and Companion Device Manager
Bluetooth Low Energy (BLE)
Find and connect to BLE devices.
Companion Device Manager
Use CDM to find and associate devices.
Health Connect sample and toolbox
Health Connect sample
Read, write, and sync data with Health Connect.
Health Connect Toolbox
Use this companion developer tool to help you test your app's integration with Health Connect.
Featured libraries
More Wear OS samples
Explore examples of Wear OS apps in this code samples repository.
Horologist
Horologist is a group of libraries that aim to supplement Wear OS developers with features that are commonly required by developers but not yet available.