Skip to content

berkeyilmaz1/ai_cal_tracker_android

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

AI Calorie Tracker 🍎

Android API Level Java Firebase Gemini AI

One-tap calorie tracking! Our AI-powered calorie tracking application automatically analyzes food images to provide nutritional information and helps users maintain healthy eating habits.

🌟 Features

πŸ” AI-Powered Food Analysis

  • Google Gemini 2.5 Flash model for automatic food recognition from photos
  • AI-calculated calories, protein, carbohydrates, and fat values
  • Personalized healthy eating recommendations and meal improvement suggestions

πŸ“Š Personalized Tracking

  • BMR (Basal Metabolic Rate) calculation
  • Daily calorie goals based on age, weight, height, gender, and activity level
  • Customized calorie planning for weight loss, maintenance, and weight gain goals
  • Comprehensive macro nutrients (protein, carbohydrates, fat) tracking

πŸ’§ Water Intake Monitoring

  • Daily hydration goals and tracking
  • Easy water consumption logging system
  • Hydration reminders and progress monitoring

πŸ“± Modern User Experience

  • Material Design compliant interface
  • Dark/Light theme support
  • Multi-language support (Turkish and English)
  • Intuitive navigation drawer menu
  • Responsive and user-friendly design

πŸ–ΌοΈ App Screenshots

Authentication & Onboarding

  • Multi-step Registration: Comprehensive user profile setup with personal information, physical data, and activity level

  • Secure Login: Email/password authentication with Firebase integration

Main Interface

  • Calorie Tracker: Main dashboard displaying daily progress, remaining calories, and macro breakdown
  • Camera Integration: Take photos or select from gallery for instant food analysis
  • Meal History: Horizontal scrollable list of previous meals with quick access to details

User Management

  • Profile Screen: Complete user information display with editable fields for goals and preferences
  • Settings: Theme switching, language selection, and app preferences
  • Detailed Food View: Comprehensive nutritional information with AI-generated recommendations

πŸ› οΈ Technology Stack

Frontend Technologies

  • Java - Primary programming language
  • XML - UI layout and design
  • Material Components - Modern UI components and design system
  • AndroidX Navigation - Fragment navigation and screen management
  • Glide - Efficient image loading and caching

Backend & Services

  • Firebase Authentication - Secure user authentication and account management
  • Firebase Firestore - NoSQL cloud database for real-time data storage
  • Cloudinary - Cloud-based image storage and management service
  • Google Gemini API - AI-powered food image analysis and recognition

Architecture & Patterns

  • MVVM (Model-View-ViewModel) - Clean architecture pattern
  • Repository Pattern - Data management abstraction
  • Singleton Pattern - Service management and resource optimization
  • LiveData & ViewModel - Reactive UI updates and lifecycle management

πŸ“± System Requirements

  • Minimum Android Version: Android 5.0+ (API Level 26)
  • Target SDK: Android 13 (API Level 35)
  • Required Permissions: Internet, Camera, Storage Access
  • Network: Internet connection required for AI analysis and data synchronization

πŸ“Š Key Features Overview

Feature Description
AI Food Recognition Instant food identification from photos using Google Gemini
Calorie Calculation Automatic BMR calculation and personalized daily targets
Macro Tracking Detailed protein, carbs, and fat monitoring
Water Logging Simple hydration tracking with daily goals
Multi-language Turkish and English language support
Themes Dark and light mode options
Meal History Comprehensive logging with detailed nutritional info
Progress Reports Visual charts and statistics

πŸ‘₯ Course Details

Course: Mobile Programming (BM443) - Spring 2024-2025
Instructor: Assoc. Prof. Dr. Abdullah Talha KABAKUŞ

Computer Engineering Department

πŸš€ Installation

Prerequisites

  • Android Studio Arctic Fox (2020.3.1) or later
  • JDK 8 or higher
  • Android SDK API Level 21+

Setup Instructions

  1. Clone the Repository

    git clone https://github.com/berkeyilmaz1/ai_cal_tracker_android.git
    cd ai_cal_tracker
  2. Firebase Configuration

    • Create a new project in Firebase Console
    • Add Android app with package name: com.duzceders.aicaltracker
    • Download and add google-services.json to app/ folder
    • Enable Authentication and Firestore services
  3. API Keys Setup

  4. Build and Run

    ./gradlew clean build

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages