Skip to content

Repository files navigation

Water Tracker App

A simple and elegant Android app to track your daily water intake and stay hydrated.

Features

  • Track Water Intake: Add water intake with predefined amounts (glass: 250ml, bottle: 500ml) or custom amounts
  • Daily Goals: Set and track your daily water consumption goals
  • Progress Visualization: Visual progress bar showing your daily hydration progress
  • Reminders: Configurable notifications to remind you to drink water
  • Settings: Customize daily goals and reminder intervals
  • Motivational Messages: Get encouragement as you progress towards your goal

Screenshots

The app features a clean, modern interface with:

  • Progress card showing daily goal and current intake
  • Quick-add buttons for common water amounts
  • Custom amount input
  • Settings dialog for preferences

Technical Details

  • Language: Kotlin
  • Minimum SDK: 21 (Android 5.0)
  • Target SDK: 34 (Android 14)
  • Architecture: MVVM with ViewBinding
  • Storage: SharedPreferences for user preferences and daily intake
  • Notifications: AlarmManager for periodic reminders

How to Build

  1. Clone the repository
  2. Open in Android Studio
  3. Sync Gradle dependencies
  4. Build and run on an Android device or emulator

Permissions

The app requires the following permissions:

  • SCHEDULE_EXACT_ALARM: For scheduling water reminder notifications
  • POST_NOTIFICATIONS: For displaying reminder notifications (Android 13+)

Usage

  1. Add Water: Use the quick-add buttons (Glass/Bottle) or enter a custom amount
  2. Track Progress: Monitor your daily intake with the progress bar
  3. Set Goals: Access settings to customize your daily water goal
  4. Enable Reminders: Turn on notifications to get periodic drinking reminders

Future Enhancements

  • History tracking and statistics
  • Different drink types (coffee, tea, etc.)
  • Widget for home screen
  • Data export functionality
  • Integration with fitness apps

License

This project is open source and available under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages