Note: To access all shared projects, get information about environment setup, and view other guides, please visit Explore-In-HMOS-Wearable Index.
An RPG-Style Fitness & Nutrition Tracker for HarmonyOS NEXT
Transform your daily health activities into an epic adventure! CalorieQuest gamifies your fitness journey by turning workouts, nutrition, and hydration into RPG-style character progression.
- Track workouts, steps, calories, and hydration seamlessly.
- Engage users with a gamified daily quest system and RPG progression (XP, levels, stats).
- Provide timely feedback on meal quality, presenting an easy-to-understand score.
- Motivate users to maintain streaks, unlock badges, and earn rewards.
- Build weekly habits with structured epic quests and leaderboards.
- Languages & Frameworks: ArkTS (API Level 18), HarmonyOS
- Development Tools: DevEco Studio, npm
- Third-Party Libraries: Built-in Harmony UI kits and RPG design helpers (custom utilities)
Make sure required system permissions are declared for accessing sensors, notifications, and other HarmonyOS features.
User->CalorieQuest App: Log workout, meal, or hydration data
App->RPG System: Update stats (XP, levels, stats)
App->User: Display feedback and rewards
- ArkTS for runtime, declarative UI, and RPG logic.
- HarmonyOS Dev Frameworks to integrate hardware sensors and notifications.
- Development Tools: DevEco Studio, Node.js/npm for build automation.
CalorieQuest/
├── entry/
│ └── src/
│ └── main/
│ ├── ets/
│ │ ├── entryability/
│ │ ├── pages/ # Main watch pages
│ │ ├── components/ # Reusable UI components
│ │ ├── services/ # Business logic layer
│ │ ├── models/ # Data models
│ │ ├── utils/ # Helpers & utilities
│ │ └── constants/ # Config & constants
│ └── resources/ # Assets & localization
├── docs/ # Documentation
└── tests/ # Unit & integration tests
-
Target Device: HarmonyOS NEXT Smartwatch
-
Form Factor: Circular and square smartwatches (optimized layouts)
-
Battery Efficiency
- Animations, real-time stats, and frequent sensor usage might consume more battery than static apps.
-
Localization
- All in-app text is in English by default. Use the localization framework for other languages.
-
Sensor Integration
- Sensors like accelerometer, gyroscope, and notifications require declared permissions.
-
Data Storage
- RPG progress and settings must use HarmonyOS’ built-in storage APIs.
CalorieQuest is distributed under the terms of the MIT License. See the LICENSE file for more information.



