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.
- 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
- 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
- Daily hydration goals and tracking
- Easy water consumption logging system
- Hydration reminders and progress monitoring
- Material Design compliant interface
- Dark/Light theme support
- Multi-language support (Turkish and English)
- Intuitive navigation drawer menu
- Responsive and user-friendly design
-
Multi-step Registration: Comprehensive user profile setup with personal information, physical data, and activity level
-
Secure Login: Email/password authentication with Firebase integration
- 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
- 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
- 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
- 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
- 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
- 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
| 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: Mobile Programming (BM443) - Spring 2024-2025
Instructor: Assoc. Prof. Dr. Abdullah Talha KABAKUΕ
Computer Engineering Department
- Android Studio Arctic Fox (2020.3.1) or later
- JDK 8 or higher
- Android SDK API Level 21+
-
Clone the Repository
git clone https://github.com/berkeyilmaz1/ai_cal_tracker_android.git cd ai_cal_tracker -
Firebase Configuration
- Create a new project in Firebase Console
- Add Android app with package name:
com.duzceders.aicaltracker - Download and add
google-services.jsontoapp/folder - Enable Authentication and Firestore services
-
API Keys Setup
- Google Gemini API: Get API key from Google AI Studio
- Cloudinary: Create account at Cloudinary Console
- Add API keys to
local.properties
-
Build and Run
./gradlew clean build
This project is licensed under the MIT License - see the LICENSE file for details.







