Skip to content

shubham230523/DrivePulseAndroidAutoApp

Repository files navigation

๐Ÿš— Drive Pulse - Android Automotive App

Android Kotlin Compose Material3

Professional Android Automotive OS application for vehicle tracking and trip management with real-time interactive features

๐ŸŽฏ Project Overview

Vehicle Tracker is a modern Android Automotive application built with Jetpack Compose and Material 3 design principles. The app provides an intuitive interface for tracking vehicle journeys, managing trip data, and monitoring driving statistics with real-time interactive features.

๐Ÿ“ธ App Screenshots

Dashboard - Interactive Statistics

Vehicle Tracker Dashboard Main dashboard with interactive statistics, Egyptian location data, and quick action buttons

Live Tracking - Egyptian Routes

Vehicle Tracker Live Tracking Real-time tracking with Smart Village to Cairo route visualization

Trip History - Search & Filter

Vehicle Tracker Trip History Advanced trip management with Egyptian locations and search functionality

Settings - Professional Configuration

Vehicle Tracker Settings Organized settings with dark mode, GPS accuracy, and user preferences


โœจ Key Features

๐Ÿ  Dashboard

  • Interactive Statistics: Toggle between default and sample data views
  • Real-time Metrics: Trip count, total distance, driving time, average speed
  • Quick Actions: Start trip, view history, access settings with seamless navigation
  • Welcome Flow: Professional onboarding showing app capabilities

๐Ÿ—บ๏ธ Interactive Maps

  • Real-time Tracking Simulation: Start/stop tracking with live updates every 2 seconds
  • Dynamic Statistics: Live speed (15-40 km/h), distance, elapsed time monitoring
  • Visual Feedback: Map color changes during active tracking
  • Route Points Counter: Number of recorded GPS locations
  • Smart Controls: Save trip, error handling with auto-clear messages

๐Ÿ“‹ Trip Management

  • Advanced Search: Real-time filtering by trip name, addresses, and details
  • Professional Trip Cards: Status indicators, distance, duration, timestamps
  • Statistics Overview: Total trips, monthly summaries, distance analytics
  • Empty State Handling: User-friendly messages when no results found
  • Clickable Navigation: Seamless transition to trip details

๐Ÿ“Š Trip Analytics

  • Detailed Statistics: Comprehensive trip information display
  • Route Analysis: Start/end locations, distance, duration breakdown
  • Export Functionality: Trip data sharing capabilities
  • Speed Analysis: Performance metrics and driving behavior insights

โš™๏ธ Settings

  • Organized Sections: Auto-start tracking, voice navigation, dark mode
  • Location Services: GPS accuracy configuration
  • Privacy Controls: Data sharing and privacy settings management
  • User Preferences: Notification settings, language options

๐Ÿ—๏ธ Technical Architecture

Modern Technology Stack

  • ๐ŸŽจ UI Framework: Jetpack Compose with Material 3
  • ๐Ÿงญ Navigation: Navigation Compose with bottom navigation
  • ๐ŸŽฏ Architecture: MVVM pattern with local state management
  • ๐ŸŽช State Management: Local state with remember and mutableStateOf
  • ๐Ÿš— Platform: Android Automotive OS optimized
  • โšก Performance: Clean architecture without external dependencies

App Structure

app/src/main/java/com/automotive/vehicletracker/
โ”œโ”€โ”€ MainActivity.kt                    # Entry point with navigation setup
โ”œโ”€โ”€ ui/
โ”‚   โ”œโ”€โ”€ screens/
โ”‚   โ”‚   โ”œโ”€โ”€ dashboard/
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ DashboardScreen.kt     # Interactive dashboard with sample data
โ”‚   โ”‚   โ”œโ”€โ”€ maps/
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ MapsScreen.kt          # Real-time tracking simulation
โ”‚   โ”‚   โ”œโ”€โ”€ triplist/
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ TripListScreen.kt      # Search and trip management
โ”‚   โ”‚   โ”œโ”€โ”€ tripdetail/
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ TripDetailScreen.kt    # Detailed trip analytics
โ”‚   โ”‚   โ””โ”€โ”€ settings/
โ”‚   โ”‚       โ””โ”€โ”€ SettingsScreen.kt      # App configuration
โ”‚   โ””โ”€โ”€ theme/
โ”‚       โ”œโ”€โ”€ Color.kt                   # Material 3 color scheme
โ”‚       โ”œโ”€โ”€ Theme.kt                   # App theming
โ”‚       โ””โ”€โ”€ Type.kt                    # Typography definitions

Key Technical Decisions

  • ๐ŸŽฏ Simplified Architecture: Removed complex dependency injection for portfolio clarity
  • ๐Ÿ“ฑ Local State Management: Using Compose state management for interactive features
  • ๐Ÿ”„ Real-time Simulation: Mock tracking with realistic data for demonstration
  • ๐ŸŽจ Material 3 Design: Modern UI with consistent theming throughout

๐Ÿš€ Getting Started

Prerequisites

  • Android Studio: Hedgehog (2023.1.1) or later
  • JDK: Version 17+ (Eclipse Adoptium recommended)
  • Android SDK: API level 34 (Android 14)
  • Automotive Emulator: Android Automotive OS system image

Installation Steps

  1. Clone the Repository
git clone https://github.com/shubham230523/DrivePulseAndroidAuto.git
cd automotive-android-vehicle-tracker
  1. Set JAVA_HOME (if needed)
# Windows
set JAVA_HOME=C:\Program Files\Eclipse Adoptium\jdk-17.0.15.6-hotspot

# macOS/Linux
export JAVA_HOME=/Library/Java/JavaVirtualMachines/temurin-17.jdk/Contents/Home
  1. Build the Project
# Windows
./gradlew.bat clean assembleDebug

# macOS/Linux
./gradlew clean assembleDebug
  1. Run on Automotive Emulator
  • Open Android Studio
  • Start Android Automotive OS emulator
  • Install and run the app

๐ŸŽฎ Interactive Features Demo

Dashboard Interactions

  • Toggle Statistics: Switch between "0 trips" and "12 trips, 856 km, 24h 30m" sample data
  • Navigation Buttons: All buttons provide smooth navigation to respective screens
  • Welcome Flow: Shows app is fully interactive with professional messaging

Maps Screen Demo

  • Start Tracking: Tap "Start Tracking" to begin real-time simulation
  • Live Updates: Speed changes every 2 seconds (15-40 km/h range)
  • Distance Tracking: Realistic distance calculation based on speed and time
  • Visual Feedback: Map background changes color during tracking
  • Save Trip: Functional save button with success/error messaging

Trip List Demo

  • Search Functionality: Type in search bar to filter trips by name or address
  • Sample Data: "Morning Commute", "Weekend Shopping", "Road Trip to Beach"
  • Statistics: Shows total trips, monthly count, and total distance
  • Empty States: Displays helpful message when search yields no results

๐ŸŽฏ Development Highlights

โœ… Completed Features

  • Full Navigation: Working bottom navigation between all screens
  • Interactive UI: All buttons and cards are clickable and functional
  • Real-time Simulation: Maps screen with live tracking capabilities
  • Search Functionality: Trip list filtering with real-time results
  • Material 3 Design: Professional, consistent UI throughout
  • Clean Build: No compilation errors or warnings
  • Android Automotive: Optimized for automotive OS platform

๐Ÿ”ง Technical Achievements

  • Clean Architecture: Removed complex dependencies for maintainability
  • Performance Optimized: Efficient state management with Compose
  • Error-Free Build: Resolved all compilation issues and warnings
  • Interactive Demo: Real-time features for compelling demonstrations

๐Ÿ“ฑ Screen Previews

See complete screenshots in the App Screenshots section above

  • Dashboard: Professional statistics cards with gradient header and Egyptian data
  • Live Tracking: Interactive map with Smart Village to Cairo route simulation
  • Trip History: Advanced search functionality with Egyptian locations
  • Trip Details: Comprehensive analytics and export options
  • Settings: Organized configuration sections with dark mode toggle

๐Ÿ”ฎ Future Enhancements

Phase 1: Core Features (Current)

  • โœ… UI/UX Implementation
  • โœ… Navigation System
  • โœ… Interactive Features
  • โœ… Android Automotive Support

Phase 2: Data Integration

  • ๐Ÿ“Š Real database integration with Room
  • ๐ŸŒ Cloud synchronization capabilities
  • ๐Ÿ“ก Real GPS tracking implementation
  • ๐Ÿ”„ Background location services

Phase 3: Advanced Features

  • ๐Ÿค– Machine learning for route optimization
  • ๐Ÿ“ˆ Advanced analytics and reporting
  • ๐Ÿš— OBD-II integration for vehicle diagnostics
  • ๐Ÿ‘ฅ Multi-user support and sharing

๐Ÿค Contributing

We welcome contributions! Please see our contributing guidelines:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

๐Ÿ“„ License

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

About

Drive Pulse is a modern Android Automotive application built with Jetpack Compose and Material 3 design principles. The app provides an intuitive interface for tracking vehicle journeys, managing trip data, and monitoring driving statistics with real-time interactive features.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages