Note: To access all shared projects, get information about environment setup, and view other guides, please visit Explore-In-HMOS-Wearable Index.
Fasting App is a HarmonyOS fasting application. Allows the user to select intermittent fasting plans (16/8, 18/6, 20/4), track remaining time, record water consumption, receive notifications, and view statistics.
- Select a fasting plan (16/8, 18/6, 20/4)
- Start, pause, stop, or reset fasting sessions
- View remaining fasting time with live updates
- Receive notifications
- Track daily water intake & set water goal
- Access statistics: total completed fasts & total fasting hours
- Switch between dark mode / light mode
- Languages: ArkTS (TypeScript)
- UI: ArkUI (
@kit.ArkUI) - Tools/IDE: DevEco Studio 6.0.0
- SDK: HarmonyOS SDK 5.1.0.54
- Libraries: Built-in kits only
entry/
└── src/
└── main/
└── ets/
└── pages/
└── Index.ets
- Huawei Watch 5
- On-device processing (no backend)
- Foreground workout tracking
- Optimized for wearables
Fasting App is distributed under the terms of the MIT License
See the LICENSE for more information.



