Skip to main content

Introduction

Summary

The ROOK SDK for Samsung Health enables teams to manage authorizations, register users, and synchronize health summaries and events directly from Android devices. The library architecture includes native capabilities to schedule automatic synchronizations in the background. During implementation, the technical team must validate three critical architectural restrictions: the SDK requires the device to run Android ten or higher, necessitates version 6.29 or higher of the Samsung Health application, and lacks support for emulator testing. Setting up the development environment requires Android Studio and the integration of the local AAR file via Gradle dependencies.

note

Install the rook-sdk-samsung library and learn about its features.

Features

  • Get authorization.
  • Register users.
  • Sync Samsung Health summaries and events.
  • Schedule automatic Samsung Health data syncs in background.

Restrictions

  • Samsung Health Data SDK requires Samsung Health v6.29 or later version installation.
  • Samsung Health runs on devices with Android 10 (API level 29) or above. It is available on all Samsung smartphones and also non-Samsung Android smartphones.
  • The SDK doesn’t support an emulator.

Development environment

Android Studio

The SDK requires Android Studio Koala Feature Drop | 2024.1.2 Patch 1 or higher.

Installation

In your build.gradle (app module) add the required dependencies.

Copy the samsung-health-data.aar file to your project libs directory:

  • Latest version: Maven Central Version
  • Latest stable version: 1.1.0
  • LTS version (supported until May 31, 2026): 1.1.0
dependencies {
implementation("io.tryrook.android:rook-sdk-samsung:version")
implementation(files("$rootDir/libs/samsung-health-data-api-1.0.0-b2.aar"))

// Used by Samsung Health Data AAR:
implementation("com.google.code.gson:gson:2.13.0")
}