In recent years, we have witnessed significant advancements in technology that have revolutionized everyday services such as grocery delivery and food delivery. Companies like Swiggy, Zomato, and Grofers have set high standards for timely and efficient delivery, ensuring customers receive their orders promptly. However, when it comes to emergency services like ambulances, the response times and coordination still lag behind. This project introduces the "Emergency Vehicle Priority with Route Optimization and Traffic Management Application," an innovative solution designed to bring the same level of efficiency and urgency to emergency vehicle operations.
The fast-paced nature of urban life demands swift emergency responses. Recognizing this urgency, the application aims to streamline and enhance the coordination between ambulance drivers and traffic police to minimize delays and improve overall efficiency. It helps ambulance drivers and traffic police work together better. Ambulance drivers can share their locations and get the best routes in real-time. The traffic signals automatically change when an ambulance approaches, and traffic police are notified when an ambulance is coming, helping it move smoothly. This app makes emergency responses faster and smoother in cities.
- Real-time Location Tracking: Ambulance drivers can update their current location and destination hospital in the app.
- Dynamic Route Optimization: The app calculates and updates the most efficient route to the destination dynamically.
- Traffic Signal Management: Integrates with IoT to automatically turn traffic signals green as the ambulance approaches.
- Notification System: Sends alerts to traffic police near upcoming traffic signals to assist in clearing the route.
- Firebase Integration: Utilizes Firebase for real-time database management and user authentication.
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
- Operating System: Windows 10 or later
- Software:
- Flutter (for mobile app development)
- Google Maps API (for maps and location services)
- Firebase (for backend services and database management)
- Visual Studio Code (for development environment)
- Flutter SDK: Ensure Flutter is installed and properly set up. Follow the Flutter installation guide for Windows.
- Android Studio: Install Android Studio to provide the necessary Android SDK and emulator. Android Studio installation guide.
- Firebase Account: Create a Firebase project and configure it for Android and iOS.
- Google Maps API Key: Obtain an API key from the Google Cloud Platform.
-
Clone the Repository:
git clone https://github.com/deepaksp24/ev_app.git cd ev_app -
Configure Firebase:
- Download
google-services.jsonfor Android from your Firebase project settings and place it inandroid/app.
- Download
-
Set Up Google Maps API:
- Add your API key to
android/app/src/main/AndroidManifest.xml:<application> ... <meta-data android:name="com.google.android.geo.API_KEY" android:value="YOUR_API_KEY"/> ... </application>
- Add your API key to
-
Install Dependencies: Open a terminal (Command Prompt or PowerShell) and navigate to the project directory, then run:
flutter pub get
-
Run the Application:
- Connect an Android device via USB or ensure you have an Android emulator set up in Android Studio.
- In the terminal, run:
flutter run
- Visual Studio Code: Use VS Code with the Flutter extension for an enhanced development experience. Install it from Visual Studio Code.
-
New User Registration:
- Open the app and navigate to the registration screen.
- Fill in the required details and create an account.
- Navigate to login page
-
Ambulance Driver:
- Open the app and log in.
- Enter the destination hospital.
- The app will display the optimized route and update it dynamically as you move.
-
Traffic Police:
- Open the app and log in.
- Receive notifications when an ambulance is approaching a traffic signal near you.
- Assist in clearing the route for the ambulance.









