An efficient route planner that helps users calculate the shortest route between multiple areas and estimate the gas cost for their trip.
🛠 Features:
🛣 Best Route Calculation
- Finds the shortest route between multiple areas using permutations and calculates the total distance.
⛽ Gas Cost Estimation
- Estimates the gas cost for the trip based on the total distance and a standard fuel efficiency rate.
📍 Location Tracking
- Integrates AirLocation to detect the user's current location in real-time.
📝 Area History
- Users can input and save areas. The app keeps a history of previous calculations, which resets every 48 hours.
💾 Persistent Storage
- Stores user inputs, results, and history using SharedPreferences, ensuring data is saved across app sessions.
🔄 RecyclerView for Display
- Utilizes RecyclerView to display a smooth list of areas and history for better user experience.
🔧 Tools and Libraries Used:
- AirLocation: Used to get the current location of the user.
- Geocoder API: Converts place names into latitude and longitude.
- RecyclerView: For displaying areas and route history dynamically.