A comprehensive route navigation app built with Jetpack Compose that provides advanced navigation features, including live location tracking, danger zone alerts, speed monitoring, and route planning. This app is designed to enhance road safety and deliver a seamless navigation experience.
- Real-Time Navigation: Set destinations and get optimal routes.
- Current Location Tracking: Automatically updates and displays your real-time location.
- Danger Zone Alerts: Highlights accident-prone zones and notifies you based on risk levels:
- High Risk: Red zones with a radius of 500m.
- Medium Risk: Yellow zones with a radius of 500m.
- Low Risk: Green zones with a radius of 500m.
- Displays current speed in real-time (in km/h).
- Warns when entering a danger zone based on the current speed.
- Interactive map with custom markers for current location, destination, and danger zones.
- Dynamic route drawing between source and destination.
- Dark Mode Inspired Bottom Navigation: Black navigation bar for easy navigation.
- Floating Action Button to toggle driving mode and start/stop live updates.
- Kotlin: Programming language for Android development.
- Jetpack Compose: Modern UI toolkit for Android.
- Google Maps SDK: For map integration and real-time location tracking.
- Fused Location Provider API: For efficient location updates.
- Android Permissions API: For managing location access.
- Toast Notifications: For danger zone alerts.
-
Clone the Repository
git clone https://github.com/your-username/route-navigation-safety-app.git cd route-navigation-safety-app -
Open in Android Studio
- Import the project into Android Studio.
- Sync the project with Gradle files.
-
Set up Google Maps API Key
- Obtain a Google Maps API key from the Google Cloud Console.
- Replace
YOUR_API_KEYin theAndroidManifest.xmlwith your key.
-
Run the App
- Connect an Android device or emulator.
- Build and run the app.
Danger zones are categorized as:
- High Risk: Areas with frequent accidents or high traffic.
- Medium Risk: Moderately risky areas.
- Low Risk: Areas with relatively low risks.
The app uses geofencing to notify users as they approach these zones.
- Integration with public transport and metro ticket booking.
- Offline maps for rural or native areas.
- EV-specific features like charging station tracking.
Contributions are welcome! Please fork this repository and submit a pull request with your changes.
This app was inspired by the need for safer navigation systems that combine convenience with safety features, making road travel more secure.
This project is licensed under the MIT License.