Introduction
Install the rook-sdk library and learn about its features.
Integrating with an AI coding assistant? Add the rook-android-health-connect skill to your tool (Claude, Codex,
Cursor, Antigravity, and 75+ others) and let it scaffold the setup for you — credentials, user registration,
permissions, and health-data sync, kept in sync with this SDK version.
npx skills add RookeriesDevelopment/rook-skills --skill rook-android-health-connect
Browse all skills and install options in the rook-skills repository.
Features
- Get authorization.
- Register users.
- Sync Health Connect summaries and events.
- Schedule automatic Health Connect data syncs every time the app is launched or in background.
- Track and upload steps from Android System in background.
Health Connect is a container of data where apps can READ and WRITE from and into it, that means for the ideal scenario both the provider (application that writes) and the consumer (application that reads) have to be working correctly.
There have been numerous reports of apps failing to synchronize data with Health Connect due to technical issues within the HC platform itself or because of the providers.
Also is important to clarify that Health Connect does not have real-time behaviour the availability of the data depends on each provider business rules for synchronization.
Finally, we'd like you to remember that we are always improving our SDK to offer the best experience, however, the Health Connect platform is in an alpha state, so it's functionality sometimes may not always be the expected.
For Samsung Health we recommend to use our direct integration; Rook Samsung SDK which provides more accurate results and does not have the limitations of the Health Connect platform.
Development environment
Android Studio
Android Studio Narwhal 4 Feature Drop | 2025.1.4 or higher is recommended.
Installation
In your build.gradle (app module) add the required dependencies.
- Latest
version:
- Latest stable version: 4.1.0
- LTS version (supported until September 27, 2026): 2.4.0
implementation("com.rookmotion.android:rook-sdk:version")