Building a HarmonyOS Habit-Tracker App: From Junior Developer to Incentive Winner
A junior developer shares the full lifecycle of creating "Gege Check-in," a HarmonyOS habit-tracking app that won Huawei's 2025 developer incentive, detailing architecture, AI-assisted coding, DevEco Studio workflows, calendar component integration, privacy-first local storage, and the monthly active user targets required to claim the reward.
The author, a junior developer, recounts building Gege Check-in (鸽鸽打卡器) , a HarmonyOS app designed for self-discipline enthusiasts, which successfully passed review and qualified for the HarmonyOS Developer Incentive Program 2025 . The project took roughly two weeks for an initial version and about one month total including multiple review cycles and refinements.
Core Positioning & Features
The app targets users building healthy habits and time-management skills. Its four main modules are:
Check-in Home : daily check-in, breathing-light animation when unchecked, success animation, last 3-day history, quick navigation.
To-Do Management : pending/completed tabs, task creation with deadlines.
Schedule Statistics : consecutive-day streak, 7-day bar chart, 4-level badge achievement system.
Check-in Record Detail : reverse-chronological timeline with date, time, weekday, full history traceability.
Four health-management sub-modules extend the core:
Exercise Plans : 7-day weight-loss programs at 3 difficulty levels, each day split into warm-up, main workout, cool-down, plus tips.
Healthy Diet : 7-day meal plans across 3 phases, daily three meals + snacks, nutrition guidance, water reminders.
Schedule Planner : 7-day self-discipline plan with week/day dual view, 4 time-block categories, task tracking, separate weekday/weekend routines.
Mood Analysis : 1-10 daily mood logging, mood journal, 4-category coping strategies, historical review.
Development Process & Lessons Learned
Initial scope was a simple check-in tool, but the author found it too thin for store approval. Adding to-do, planning, and health modules made the app substantial enough to pass review. Code performance was polished to leave a good impression on Huawei testers.
Common pitfalls encountered:
Missing dark-mode adaptation — often deferred and forgotten.
Tablet adaptation checkbox ticked at project creation but layout scaling overlooked later; the author delegated both fixes to AI tools and resolved them smoothly.
Incentive Program Mechanics
Qualifying for the cash incentive required hitting monthly active user (MAU) thresholds:
Month 1: 50 valid MAU
Month 2: 100 valid MAU
Month 3: 200 valid MAU
After meeting targets, Huawei sends a notification; rewards appear in the developer console under Management Center → My Account → Earnings.
Tooling & AI Assistance
Trae (both domestic and international versions tested; international version currently preferred).
Tongyi Lingma (通义灵码) , the built-in DevEco Studio plugin, for rapid code synchronization — especially handy when the codebase logic is well understood.
DevEco Studio Practical Tips
Real-time Preview : leverage UI preview to cut debug cycles; use hot reload for efficiency.
Debugging Tools : master the performance profiler; set breakpoints and log output strategically.
Third-Party Library & Component Integration
harmony-utils : deep integration reduced boilerplate significantly.
Calendar Component (adapted from open-source idea-calendar):
Infinite month swipe via Swiper container.
Smooth transition animations for UX fluidity.
Modular component-based architecture with clear separation of concerns.
Efficient state management using @State and @StorageLink.
Privacy Protection Measures
All data stored locally on device, no cloud upload.
Encrypted local storage to prevent unauthorized access.
Data export function for user-owned data portability.
Minimum-permission principle: only essential check-in data collected.
Results & Future Roadmap
Steady user growth, positive reviews, technical metrics meeting targets.
Technical highlights : three-layer architecture for maintainability; high memory/rendering performance; smooth interactions and polished UI.
Planned enhancements : deeper data analytics, broader device compatibility (tablets, foldables, etc.), continued UX refinement.
The author concludes that the project validated HarmonyOS ecosystem potential and the incentive reward serves as motivation to keep building better health-management experiences on the platform.
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
51CTO HarmonyOS Developer Community
The HarmonyOS Developer Community is a learning-oriented community for developers to learn, communicate, ask questions, and share.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
