Skip to content

Android App

Health Connect to private files

Health.md for Android reads Health Connect on-device and writes Markdown, Obsidian Bases, JSON, or CSV to folders you choose. This folder export workflow requires no Health.md account. Google Play access options and F-Droid included access are described below.

F-Droid catalog publication is pending. Get the current Android release on Google Play.

106selectable Health Connect metrics
4export formats
2Android distribution channels
0Health.md cloud accounts required

Health.md for Android turns Health Connect into a local-first health journal. Choose the metrics that you need and preview the output. Then export files to a local folder, Obsidian vault, synced provider folder, or writable Android document provider.

The app has three tabs. Archive is a calendar of the health dates your exports covered, with gaps you can backfill. Automations holds your export profiles and schedules. Settings holds destinations, data and app options. The Export now button starts a one-off export from any tab except Settings.

Health Connect source

Reads activity, sleep, heart, vitals, body measurements, nutrition, workouts, and other categories through Android's on-device Health Connect APIs.

Obsidian-native output

Writes daily notes, YAML/frontmatter, Obsidian Bases-friendly notes, individual entries, and JSON compatible with the Health.md Obsidian plugin.

Android-native storage

Uses the Storage Access Framework so you can choose folders exposed by local storage, Obsidian, Google Drive, OneDrive, Syncthing, or another provider.

  • Android 9 / API 28 or newer.
  • A Health Connect-capable device or emulator.
  • Health Connect data from Android apps, wearables, or services that write to Health Connect.
  • A folder or document provider that allows write access for exports.
  1. Install the current Health.md release from Google Play.
  2. Open Health Connect setup and grant only the categories you want Health.md to export.
  3. Pick the export destination through Android’s folder picker.
  4. Choose formats: Markdown, Obsidian Bases, JSON, CSV, or any combination.
  5. Select metrics and date range.
  6. Preview the output.
  7. Tap export and verify the generated files in your folder or vault.

The subscription-enabled Google Play phone release requires active trial, subscription, Lifetime, or preserved permanent access for manual exports. Eligible subscriptions include a 7-day trial; Lifetime has no trial. The F-Droid build includes unlimited access with no purchase or restore flow.

Android does not use the iPhone → Mac local-network destination. Instead, it relies on Android’s Storage Access Framework.

Destination Android status
Local device folder Supported through the folder picker
Obsidian vault Supported when the vault folder is exposed to Android’s picker
Google Drive, OneDrive, Syncthing, Obsidian Sync, and similar providers Supported when the provider exposes writable folders
iPhone/Mac local-network destination Apple-platform-specific; not used by Android

If a provider does not expose writable folders through Android’s picker, Health.md cannot safely write there directly. Choose a provider folder that grants persistent write access or export locally and sync with your preferred tool.

The Android app shares the same plain-file goals as the Apple app:

Format Use it for
Markdown Readable daily health summaries, templates, and notes
Obsidian Bases Frontmatter-first notes that can be queried in Obsidian database views
JSON Structured daily payloads for scripts, dashboards, notebooks, and the Health.md Obsidian plugin
CSV Spreadsheet and analysis workflows

Android JSON exports are designed to be compatible with Health.md’s Obsidian visualizations. Markdown and Bases exports use the same frontmatter-focused workflow documented in the format guide.

In the subscription-enabled Google Play phone release, scheduled exports require active trial, subscription, Lifetime, or preserved permanent access; they are included in the F-Droid build. They use a one-shot exact alarm when you grant Android’s Alarms & reminders access, with durable WorkManager work as a backup. Without exact-alarm access, WorkManager becomes the primary scheduler, so the selected time is a target rather than a hard guarantee. Health.md records export history, can recover missed scheduled dates, and lets you retry failed runs.

For Tasker, adb, or other automation tools, Health.md exposes explicit-only broadcast intents. External callers must address the receiver component directly:

com.healthmd.android/com.healthmd.automation.AutomationReceiver

Examples:

Terminal window
adb shell am broadcast \
-n com.healthmd.android/com.healthmd.automation.AutomationReceiver \
-a com.healthmd.android.action.EXPORT_YESTERDAY
adb shell am broadcast \
-n com.healthmd.android/com.healthmd.automation.AutomationReceiver \
-a com.healthmd.android.action.EXPORT_LAST_DAYS \
--ei com.healthmd.android.extra.DAYS 7
adb shell am broadcast \
-n com.healthmd.android/com.healthmd.automation.AutomationReceiver \
-a com.healthmd.android.action.EXPORT_RANGE \
--es com.healthmd.android.extra.START_DATE 2026-03-01 \
--es com.healthmd.android.extra.END_DATE 2026-03-07

Automation uses the active profile by default, including its frozen destination, formats, metrics, accounting, and history. A supplied PROFILE extra can select a stable profile ID or name. An unknown reference fails closed instead of using current settings. Scheduled runs also stay bound to their profile. See Export profiles.

Background readiness and scheduled cancellation

Section titled “Background readiness and scheduled cancellation”
  • Allow background Health Connect reads for unattended exports. Otherwise open Health.md to complete the health-data read.
  • Keep notifications enabled so Android can show active work, foreground-service state, results, and recovery actions.
  • Grant Alarms & reminders only when you want exact-alarm scheduling. Without it, durable WorkManager work remains available but the chosen time is approximate.
  • Cancelling a scheduled run stops only that attempt. Completed dates remain complete, unresolved dates can be retried, and the recurring schedule remains enabled.

Health Connect is the local export path in both channels. The Google Play build also includes a health-source setup area for ecosystems such as Samsung Health, Huawei Health, Fitbit, Garmin, Withings, Oura, Polar, and WHOOP. Where those ecosystems write into Health Connect, either build can export the resulting Health Connect records. Direct cloud-provider imports and OAuth callbacks are Play-only. The F-Droid provider catalog contains Health Connect only.

Google Fit is intentionally excluded from the supported-provider surface because Health Connect is Android’s preferred health-data layer.

Daily step totals use exact zoned-local-day boundaries. Before aggregation, Health.md clips and splits overlapping Health Connect intervals at local midnight. Thus, travel and daylight-saving changes do not move steps into the wrong day.

  • Google Play: the subscription-enabled phone release offers Individual weekly/yearly subscriptions and Lifetime. Eligible first-time subscribers receive a 7-day trial, then renew automatically at the displayed price until canceled through Google Play. Lifetime is charged once immediately with no trial. No local free-export allowance remains. Existing permanent access is preserved. Restore Purchase uses the purchasing Google account; deleting the app or buying Lifetime does not cancel a subscription. Older released builds can show the previous allowance. The current release is phone-only. The Wear OS companion is deferred to a later qualification cycle.
  • F-Droid: unlimited access is included. There is no free counter, Billing dependency, paywall, purchase, or restore action.
  • F-Droid scope: Health Connect only, with no Wear OS integration, direct cloud-provider OAuth, Play review, attribution, or Health.md onboarding telemetry.
  • Shared outcome: both channels use the same Health Connect capture, exporters, schemas, automation actions, and direct-device protocol.
  • Switching: Google Play and F-Droid use different signing keys, so changing channels requires uninstalling the app first.

A channel switch does not migrate purchases, settings, history, credentials, or private transfer state. Exported files remain in the destination you chose.

If Google Play Billing disconnects transiently, the Play build reconnects and refreshes entitlement state automatically. A temporary service loss does not permanently remove Premium. Use Restore Purchase only if the account remains unresolved after connectivity returns.

Health.md for Android is local-first:

  • Health Connect records are read on your Android device.
  • Exports are written directly to folders you choose.
  • Core folder exports and direct device queries do not create a Health.md server copy by default.
  • Settings and export history stay on-device.
  • Billing is handled by Google Play in the Play build. F-Droid includes unlimited access without Billing and contains no Health.md telemetry code or telemetry identity/state.
  • Provider-backed folders sync according to that provider’s own terms.

If you want the strictest local setup, run manual exports to a local device folder and leave scheduled exports and provider-backed sync disabled.

The separate, optional single-owner Health.md Cloud pilot retains only API exports intentionally uploaded to it. There is no public signup and no automatic device sync; this folder workflow does not upload to it. See the privacy policy for retention, deletion, quota, and unbacked storage risks.

Last updated 2026-10-04