English | 简体中文
Health Guardian App is an extension of the Holographic Safety Guardian project, designed to provide convenient health data management and intelligent health consultation services for the elderly. Through modern UI design and intelligent AI technology, health management becomes simple and intuitive.
-
Secure User System: Local account management based on Room database, supporting account registration, login verification, and password encryption storage.
-
AI Health Assistant: Integrated Google Gemini API with text and image recognition, providing intelligent health consultation services.
-
Data Visualization: Real-time heart rate monitoring and multi-dimensional health data display using Vico chart library.
-
Voice Message Board: Support voice/text recording with convenient health diary function and secure local data storage.
- Android Device: Android 6.0 (API 26) and above
- Development Environment: Android Studio Iguana 2023.2.1+
- Build Tools: Gradle 8.4
- Programming Language: Kotlin
- UI Framework: Jetpack Compose
For Android Devices:
-
Download the APK
- Download
app-debug.apkfrom the project root directory
- Download
-
Enable Installation from Unknown Sources
- Go to
Settings→Security→ EnableUnknown Sources - Or for newer Android versions:
Settings→Apps→Special Access→Install Unknown Apps→ Select your browser/file manager → Allow
- Go to
-
Install the APK
- Open the downloaded APK file
- Tap
Installand wait for the installation to complete - Tap
Opento launch the app
Using ADB (for developers):
# Connect your device via USB with USB debugging enabled
# Install the APK using ADB
adb install app-debug.apk
# If you get "INSTALL_FAILED_UPDATE_INCOMPATIBLE" error, uninstall first
adb uninstall com.example.myapp
adb install app-debug.apkPrerequisites:
- Android Studio Iguana (2023.2.1) or later
- JDK 17 or later
- Android SDK with API 26+
- Gradle 8.4
Steps:
# 1. Clone the repository
git clone https://github.com/nova728/Healthcare-APP.git
cd Healthcare-APP
# 2. Open project in Android Studio
# File → Open → Select the Healthcare-APP folder
# 3. Sync Gradle dependencies
# Android Studio will automatically prompt to sync
# 4. Build the APK
./gradlew assembleDebug
# APK will be generated at: app/build/outputs/apk/debug/app-debug.apk
# 5. Install on connected device
./gradlew installDebug
# Or run directly from Android Studio
# Click the "Run" button (green triangle) or press Shift+F10Build Release APK:
./gradlew assembleRelease
# Release APK at: app/build/outputs/apk/release/app-release.apkapp/
├── data/ # Data processing layer
│ ├── chat/ # Chatbot data
│ ├── health/ # Health data
│ └── user/ # User data
├── database/ # Database layer
│ ├── module/ # Data entities and interfaces
│ ├── AppDatabase.kt # Database configuration
│ └── repositories/ # Data repositories
├── domain/ # Business logic layer
│ ├── audio/ # Audio processing
│ └── recording/ # Recording logic
├── presentation/ # Presentation layer
│ ├── component/ # UI components
│ ├── viewmodel/ # View models
│ └── screen/ # Screen layouts
├── services/ # Service layer
└── utils/ # Utility classes
|
Jetpack Compose UI Framework |
Room Database Local Storage |
Gemini API AI Conversation |
|
Material Design 3 Design System |
Coroutines Async Processing |
Vico Charts Data Visualization |
Login & Registration
- Account password verification mechanism
- Room database local storage
- Password matching detection
- Error feedback prompts
- Secure password encryption
First Time Setup:
- Launch the app
- Tap "Register" to create a new account
- Enter username, password, and confirm password
- Tap "Sign Up" to complete registration
- Use your credentials to login
Editable Information
- User avatar (with permission request + real-time sync)
- Nickname modification
- Address information
- Phone number display
- Profile customization
How to Update Profile:
- Navigate to "Profile" section
- Tap on any field to edit
- For avatar: Tap avatar icon → Select from gallery → Grant storage permission
- Changes are saved automatically to local database
Features
- Natural language health Q&A
- Image recognition and analysis (upload medical reports, pills, etc.)
- Health data interpretation
- Personalized health recommendations
- Requires network connection (VPN recommended for stable connection)
Usage Example
User: "Is this blood pressure reading normal?"
Gemini: "Based on your blood pressure data analysis..."
User: [Uploads image of medication]
Gemini: "This medication is used for..."
How to Use:
- Navigate to "AI Assistant" section
- Type your health question or tap camera icon to upload image
- Wait for Gemini to analyze and respond
- Chat history is saved locally
Network Requirement: Gemini API requires internet connection. If you experience connection issues, try using a VPN or check your network settings.
- Real-time data addition
- Daily change line chart visualization
- Weekly average bar chart
- Historical data details with timestamps
- Intelligent status tips (low/normal/high)
- Trend analysis
How to Add Heart Rate Data:
- Go to "Health Data" → "Heart Rate"
- Tap "+" button
- Enter your heart rate value (BPM)
- Data is automatically saved with timestamp
- View trends in chart format
- Temperature Recording: Track body temperature with fever detection
- Blood Pressure Monitoring: Systolic and diastolic readings with status indicators
- Blood Glucose Tracking: Pre/post-meal glucose levels
- Step Counting: Daily activity tracking
Functions
- Voice recording with high-quality audio
- Text notes and memos
- Local Room database storage
- Health diary function
- Timestamp for each entry
- Easy search and filter
How to Create a Note:
- Navigate to "Message Board"
- Tap "+" to create new entry
- Choose "Voice" or "Text" mode
- Record your message or type notes
- Tap "Save" to store locally
Note: Current version is a standalone notepad function. Future updates will include cloud sync and family sharing features.
- Built with Jetpack Compose declarative UI
- Material Design 3 design language
- Smooth animations and interactive experience
- Responsive layout adaptation
- Google Gemini Pro model
- Multimodal interaction (text + image)
- Intelligent health data analysis
- Vico chart library
- Real-time data updates
- Multi-dimensional data display
- Room database persistence
- Data security encryption
- Offline functionality support
1. Login Module
- May crash in emulator environment
- Normal on physical devices
2. Feature Limitations
- Some functional modules are not fully implemented
- Certain sections are not clickable yet
- Complete all functional modules
- Optimize emulator compatibility
- Implement real mobile internet message board with family sharing
- Add data synchronization functionality (cloud backup)
- Enhance data analysis capabilities with AI insights
- Multi-language support (Chinese, English, etc.)
- Dark mode support
- Export health reports as PDF
- Integration with wearable devices
- Medication reminder system
- Emergency contact quick dial
- Video call feature for telemedicine
| Login & Register | Home | AI Assistant |
|---|---|---|
![]() |
![]() |
![]() |
| User login and registration | Main navigation interface | AI health consultation |
| Health Data | Data Charts | Profile |
|---|---|---|
![]() |
![]() |
![]() |
| Health data recording | Data visualization charts | Personal information |
We welcome contributions to improve the Health Guardian app! Here's how you can help:
- Check if the bug has already been reported in Issues
- Create a new issue with detailed description
- Include screenshots and device information
- Specify steps to reproduce
- Open a new issue with the "Feature Request" label
- Describe the feature and its benefits
- Provide mockups or examples if possible
- Fork the repository
- Create a new branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'add feature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
- Follow Kotlin coding conventions
- Use meaningful variable and function names
- Add comments for complex logic
- Write unit tests for new features
If you have questions or suggestions, feel free to reach out:
- GitHub Issues: Report issues here
- Developer: Shi Jialing
- Email: 1120220612@bit.edu.cn
- Institution: Beijing Institute of Technology
This project is open source under the MIT License. See LICENSE file for details.
MIT License
Copyright (c) 2024 Shi Jialing
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
⭐ If this project helps you, please give it a Star! ⭐
Made with ❤️ for Elderly Health Management





