Stay organized with collections
Save and categorize content based on your preferences.
Health Connect is designed to facilitate fast, convenient integration
between client apps and the Health Connect API.
The following diagram shows the integration between a client app and
the Health Connect API through the SDK layer and IPC (Inter-Process Communication):
Architecture components
1. Software development kit
The SDK enables the client app to communicate with the Health Connect APK, over IPC.
2. Client app
To integrate with Health Connect, client apps link the SDK into their health and fitness app. This provides an API surface that facilitates interaction with the Health Connect API.
3. Health Connect APK
The Health Connect APK is the main substance of the Health Connect API, and contains both its Permissions Management and Data Management components. The Health Connect APK is made available directly on the user’s device.
4. Permissions management
Health Connect includes a user interface through which apps request a user's permission to display data.
It also provides a list of existing user permissions, allowing users to easily control access to data across multiple applications.
5. Data management
Health Connect provides a user interface with an overview of recorded data, whether it’s a user’s step count, cycling speed, heart rate, or any other supported data types.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2023-10-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-10-10 UTC."],[],[],null,["# Review the platform architecture\n\nHealth Connect is designed to facilitate fast, convenient integration\nbetween client apps and the Health Connect API.\n\nThe following diagram shows the integration between a client app and\nthe Health Connect API through the SDK layer and IPC (Inter-Process Communication):\n\n| **Note:** The Health Connect SDK supports Android 8 (API level 26) at the minimum, while the Health Connect app is only compatible with Android 9 (API level 28) or higher. This means that third-party apps can support users with Android 8, but only users with Android 9 or higher can use Health Connect.\n\nArchitecture components\n-----------------------\n\n**1. Software development kit**\n\nThe SDK enables the client app to communicate with the Health Connect APK, over IPC.\n\n**2. Client app**\n\nTo integrate with Health Connect, client apps link the SDK into their health and fitness app. This provides an API surface that facilitates interaction with the Health Connect API.\n\n**3. Health Connect APK**\n\nThe Health Connect APK is the main substance of the Health Connect API, and contains both its Permissions Management and Data Management components. The Health Connect APK is made available directly on the user's device.\n\n**4. Permissions management**\n\nHealth Connect includes a user interface through which apps request a user's permission to display data.\n\nIt also provides a list of existing user permissions, allowing users to easily control access to data across multiple applications.\n\n**5. Data management**\n\nHealth Connect provides a user interface with an overview of recorded data, whether it's a user's step count, cycling speed, heart rate, or any other [supported data types](https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/package-summary#classes)."]]