Vibe Coding a Health Check-in App: Trae vs Cursor for Android Development
The author documents building a health check-in Android app using Vibe Coding with Trae and Cursor, comparing tool effectiveness, overcoming compilation issues, and reflecting on AI-assisted development's future impact on app creation.
Project Motivation
The author wanted to develop an Android app to track daily health habits—exercise, diet, sleep, and mindset—to improve blood pressure and weight. This personal need became a test case for Vibe Coding , the prevailing AI-assisted coding approach.
Development Environment
Trae – initial code generation
Android Studio – primary IDE
Cursor – used to fix compilation errors
Key Conclusions
Trae generates functional code quickly but fails to compile. The author switched to Cursor to resolve compilation issues.
Cursor excels at iterative compilation fixing. It runs compilation, captures errors, feeds them to the agent, and modifies code repeatedly. However, Cursor is expensive and the author has not purchased a paid plan.
Natural language programming throughout. Both Trae and Android Studio provide agents; when one tool cannot handle a task, the author switches to another.
Future Outlook
The author believes app forms will evolve, citing the concept of JIT (Just-in-Time) Apps as a possible future direction. Reference: JIT APP technology prediction (https://mp.weixin.qq.com/s?__biz=MzI3NDYwMDM4MQ==&mid=2247484673&idx=1&sn=555070de46f693a74e895eb5eba2da88&scene=21#wechat_redirect).
Open Source Repository
Code available at: https://github.com/zhaojunmin/HealthCard/
Prompt Evolution & Requirements
Initial Requirements
Main screen with four circular check-in buttons: Healthy Exercise , Healthy Diet , Healthy Sleep , Healthy Mindset .
Each tap records a check-in to a local database.
Architecture & Tech Stack
Architecture: MVVM pattern.
Language & UI: Kotlin + Jetpack Compose .
Minimum SDK: API 30 (Android 11) and above.
Dependencies: Only Android SDK and AndroidX libraries ; no third-party libraries.
Additional Features Added via Prompts
Limit to one check-in per day per category.
Historical check-in record viewing.
Screenshots
App screenshots illustrating the main interface and history view:
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.
Thought Artisan
I think, therefore I am; recording insights from daily life and technology.
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.
