Built to order

Health Tracker Android App with Steps, Water, Sleep and Weight Tracking

This project builds a unified Android health tracker app that logs steps, water intake, sleep duration and weight in one dashboard, instead of splitting them across separate single-metric apps. Steps come from the phone's hardware step-counter sensor; water, sleep and weight are logged by hand, and everything is stored offline in a Room database, with daily goals, streaks and 14-day charts computed from the entries. All figures are logged estimates, not medical measurements. Suitable for B.E./B.Tech final-year projects in Computer Science, IT and Android app development.

Chat on WhatsApp — get a quotation

Android Kotlin · Android SDKRoom databaseWorkManagerJetpack Compose · Material Design 3Git Android StudioAndroid step-counter sensorDataStore settingsSoftware
Health Tracker Android App with Steps, Water, Sleep and Weight Tracking — project thumbnail preview
More project photos (2)

The problem

Health Tracker Android App with Steps, Water, Sleep and Weight Tracking is a single Android app that keeps four daily health numbers — steps, water intake, sleep duration and weight — in one dashboard, instead of scattering them across separate apps. Students often track one of these numbers, but a step count in one app, a water log in another and a weight note in a spreadsheet never show how a day went. It gives each metric one logging path and one shared daily view: steps sync from the step-counter sensor, water is logged with one-tap glass-size buttons, sleep is bedtime-to-wake duration, and weight is entered at the morning weigh-in. Goals, streaks and 14-day charts are computed from those entries, so the dashboard always agrees with the log. The demo proves it with real arithmetic: its 14 logged days total 128,340 steps, 32,500 ml of water and 100.8 hours of sleep, with weight moving from 78.4 kg to 77.4 kg.

App Tracks Sleep features
Health tracker Android app (this project) Steps, water, sleep and weight Duration only — no stages, no smart alarm
Android sleep tracker Sleep Sleep-cycle statistics and smart alarm
Calorie tracker Calories and food —
Daily hydration tracker Water intake —

SYSTEM FLOW

5 components 4 connections

Live flow
Drag to explore
100%
sensorStep-counter sensor

Steps since last reboot

Follow the working sequence

How it works

The app follows a short, explainable pipeline from sensing to screen. The phone's hardware step-counter sensor reports a running step total, and the app converts it into a daily figure by subtracting the stored baseline for that day, handling reboots by recording a new baseline when the counter resets. Water, sleep and weight are entered by hand through the log screen, and every entry is written to the Room database as a dated row. The dashboard never stores its own copies of these numbers: it observes Room queries through a ViewModel, so each card, progress bar and chart is recomputed from the same entries the user logged. WorkManager runs the reminder schedule in the background, and the trends screen aggregates the last 14 days into totals, averages and goal-hit counts for the summary.

  1. The app registers the TYPE_STEP_COUNTER sensor on first launch and asks for the activity-recognition permission the sensor requires.
  2. Each morning the app records the sensor's current reading as the day's baseline, so the daily step count is the reading minus the baseline.
  3. Water is logged with one-tap preset buttons (250 ml, 350 ml, 500 ml) and written to the Room database as a dated entry.
  4. Sleep is logged by entering a bedtime and a wake time; the app computes the duration from the two times and stores it.
  5. Weight is entered at the morning weigh-in and stored with the date, building the 14-day trend one entry at a time.
  6. The dashboard observes Room queries through a ViewModel, so every card, progress bar, streak and chart is recomputed live from the stored entries.
  7. WorkManager schedules water reminders every two hours from 09:00 to 21:00, a bedtime reminder at 22:45 and a weigh-in reminder at 07:30, firing even when the app is closed.

Tech stack:

  • Kotlin · Android SDK (API 26 and above)
  • Jetpack Compose · Material Design 3
  • Room database (offline storage)
  • WorkManager (scheduled reminders)
  • Android step-counter sensor (TYPE_STEP_COUNTER)
  • DataStore (goals and settings)
  • Git · Android Studio
Parameter Value
Platform Android 8.0 (API 26) and above (design target)
Language Kotlin for 100% of the app code
Local database Room with 4 entities: StepEntry, WaterEntry, SleepEntry, WeightEntry
Step source Hardware TYPE_STEP_COUNTER sensor; counts steps since last reboot (per Android documentation)
Daily step goal 10,000 steps (default, user-adjustable)
Daily water goal 2,500 ml (default, user-adjustable)
Sleep goal 7.0 hours per night (default, user-adjustable)
Weight target 75.0 kg (default, user-adjustable)
Demo dataset 14 logged days: 128,340 steps, 32,500 ml water, 100.8 hours sleep (measured from the demo build)
Reminders WorkManager periodic work; water every 2 hours from 09:00 to 21:00 (default)
Internet Not required; all data stays on-device (offline-first design)
Installed size Approximately 8–12 MB (expected, varies with device)

Project features

The app is built around four capabilities that work together: a unified dashboard that shows steps, water, sleep and weight on one screen; fast logging that takes seconds per entry; goals, streaks and charts that are computed from the logged entries rather than typed in; and offline-first storage with reminders that fire even when the app is closed. Steps arrive automatically from the hardware step-counter sensor, while water, sleep and weight are entered by hand with presets that keep logging quick. Every number on the dashboard is a live query result from the on-device Room database, so the charts can never disagree with the log. Nothing leaves the phone and nothing needs an account, which keeps the build simple enough to explain in a viva and honest about what it does not do: it classifies no sleep stages and sounds no smart alarm.

  • [Unified four-metric dashboard] Steps, water, sleep and weight appear on one home screen, each with its own progress bar against its daily goal, so one glance shows how the day is going.
  • [Hardware step counting] Steps are read from the Android TYPE_STEP_COUNTER sensor, which counts steps since the last reboot, with the app storing a daily baseline so each day's total survives reboots and app restarts.
  • [One-tap water logging] Water is logged with 250 ml, 350 ml and 500 ml preset buttons for a small glass, a mug and a bottle, and the daily total is shown against the 2,500 ml goal.
  • [Sleep duration logging] Sleep is recorded as a bedtime and a wake time, and the duration is computed from the two times. Sleep-stage classification and smart alarms are deliberately not included.
  • [Weight log with trend] Morning weigh-ins are stored with the date, and the 14-day trend shows the change — 78.4 kg to 77.4 kg in the demo dataset — with a user-set target weight.
  • [Goals, streaks and 14-day charts] Each metric has an adjustable daily goal, the app tracks a logging streak and a sleep-goal streak, and bar and line charts summarise the last 14 days from Room queries.
  • [Offline-first storage and reminders] All entries live in an on-device Room database with no account and no internet requirement, and WorkManager schedules water, bedtime and weigh-in reminders that fire even if the app was closed.

What is included

  • Complete Android source code in Kotlin with Jetpack Compose UI
  • Room database schema with 4 entities and DAO queries for dashboard, streaks and trends
  • Working demo build with the 14-day dataset (128,340 steps, 32,500 ml water, 100.8 hours sleep)
  • Setup and build instructions for Android Studio
  • Project report PDF (background, sensor and database design, methodology, results)
  • PPT presentation for final review
  • Viva Q&A preparation document (sensors, Room, WorkManager, offline-first design)
  • Project abstract PDF

Limitations & prerequisites

  • Step counts are estimates: sensor accuracy varies by device, sensor quality and where the phone is carried.
  • Sleep is bedtime-to-wake duration only; the app does not classify sleep stages and has no smart alarm.
  • Water, sleep and weight are entered by the user, so their accuracy depends on honest, regular logging.
  • All figures are logged estimates from an academic prototype, not medical measurements; the app is not a medical device and does not diagnose or treat anything.
  • The step counter resets on reboot, so daily totals rely on the baseline handling documented in the report.
  • No cloud sync or account in the base build; data lives on one device, and a lost phone means lost logs unless export is added.

Frequently Asked Questions

Is this project suitable for a final-year project?

Yes — for Computer Science, IT and Android app development programs, because it combines a hardware sensor, an on-device Room database, background scheduling with WorkManager and a full Jetpack Compose UI in one explainable build. The report documents the sensor behaviour, the database schema and the reboot handling, so the design decisions can be defended in a viva.

How is this different from the single-metric tracker apps on this site?

This app is a unified dashboard, not another single-metric tracker: it keeps steps, water, sleep and weight together with shared goals, streaks and 14-day charts in one place. The sleep tracker on this site focuses on a smart alarm and sleep-cycle statistics, while this build deliberately has no smart alarm and no sleep-stage classification — its point is the combined daily view.

Does it need a smartwatch or fitness band?

No — no smartwatch or fitness band is needed, because steps come from the phone's own hardware step-counter sensor and water, sleep and weight are logged by hand in the app. That keeps the project buildable and demonstrable with a single Android phone, with no extra hardware to buy, pair or charge.

How are steps counted, and what happens when the phone reboots?

Steps come from Android's TYPE_STEP_COUNTER sensor, which returns the number of steps taken since the last reboot and resets to zero only on a system reboot. The app stores each morning's sensor reading as the day's baseline and reports the reading minus the baseline, recording a fresh baseline after a reboot so the daily total stays correct.

Can this project be customized?

Yes — realistic additions include calorie logging with a food database, CSV export of all four metrics, cloud backup of the Room database, weekly summary notifications and a companion wearable sync. Each addition is scoped separately, since the base build is deliberately offline and single-device, so the core app stays simple to build and explain.

Related built-to-order projects on this site: Android Sleep Tracker with Smart Alarm and Sleep Cycle Statistics (https://projectech.in/projects/android-sleep-tracker-smart-alarm-sleep-cycle-statistics/), Calorie Tracker Android App with Indian Food Database and Barcode Scan (https://projectech.in/projects/calorie-tracker-android-app-indian-food-database-barcode-scan/), Daily Hydration Tracker Android App with Glass-Size Presets and Intake Goals (https://projectech.in/projects/daily-hydration-tracker-android-app-glass-size-presets-intake-goals/), Home Workout Planner App for Android with Exercise Library and Progress Charts (https://projectech.in/projects/home-workout-planner-app-android-exercise-library-progress/).

Components & software requirements
  • Kotlin · Android SDK (API 26 and above)
  • Jetpack Compose · Material Design 3
  • Room database (offline storage)
  • WorkManager (scheduled reminders)
  • Android step-counter sensor (TYPE_STEP_COUNTER)
  • DataStore (goals and settings)
  • Git · Android Studio
Delivery information

Built-to-order project. Delivery timeline is shared after order confirmation based on current queue.

Support terms

Complete documentation, setup guide, and viva preparation included. Support for setup and explanation provided.

Download free synopsis (PDF)

Enter your name and WhatsApp number — the synopsis PDF downloads immediately. We may send occasional project updates on WhatsApp; no spam.

Get a quotation