Sensors & health data

Samsung Health

Read health records already stored in Samsung Health.

Reviewed
On this page

Collection path

DTRAC reads stored records through Samsung Health Data SDK on the phone. Records from a watch, ring, fitness band, or manual input must first reach Samsung Health. This path does not directly drive wearable sensors.

Implementation versus default activation

Configuration reviewed October 15, 2026: the current registry disables samsung_health and omits it from the allowlist. The rows below distinguish plugin implementation from activation.

ItemTypeCurrent state
ExerciseexerciseAdvertised by plugin; provider disabled in current registry
SleepsleepAdvertised by plugin; provider disabled in current registry
Heart rateheart_rateAdvertised by plugin; provider disabled in current registry
StepsstepsRead/ingestion branch exists; excluded from automatic types
Blood pressureblood_pressureRead/ingestion branch exists; excluded from automatic types
Blood glucoseblood_glucoseRead/ingestion branch exists; excluded from automatic types
Body temperaturebody_temperatureRead/ingestion branch exists; excluded from automatic types
Oxygen saturationoxygen_saturationRead/ingestion branch exists; excluded from automatic types

The registry lists eight types, while SamsungHealthPlugin.types advertises three. Ordinary initialization intersects registry types with plugin-supported types. Adding a registry item alone does not establish automatic collection.

Storage and read windows

SamsungHealthIngestionService persists health metrics and sessions through the existing storage layer. Units include bpm for heart rate, mmHg for blood pressure, C for temperature, and % for oxygen saturation. The glucose branch converts its input before writing mg/dL.

Exercise, heart rate, and related paths use internal lookback policies. Sleep uses a window from 09:00 the previous day to 09:00 today. Do not assume pull() period arguments directly control every provider read.

Integration requirements

Check the installed Samsung Health app, actual records, and read access. For a partner app, separately verify Samsung's package/signature-based app verification. DTRAC's existing conditions do not automatically transfer to another app.

Samsung Health Sensor SDK is a separate watch-sensor measurement path, not a confirmed current DTRAC integration. Health Connect reads records shared by other apps. Do not combine all three platforms' capabilities into a claim about current DTRAC collection.

Documentation evidence

Working-tree baseline · source paths · HEAD 8213e6b7

  • app/src/main/assets/manifests/plugins/registry.json
  • plugins/samsunghealth/src/main/java/com/hdil/datacollection/plugins/samsunghealth/SamsungHealthPlugin.kt
  • plugins/samsunghealth/src/main/java/com/hdil/datacollection/plugins/samsunghealth/SamsungHealthManager.kt
  • plugins/samsunghealth/src/main/java/com/hdil/datacollection/plugins/samsunghealth/ingest/SamsungHealthIngestionService.kt
  • app/src/main/java/com/hdil/datacollection/MainActivity.kt

References

DTRAC EngineYonsei University · Bongshin Lee’s research team