Android Delivery Route Optimization

Заказчик: AI | Опубликовано: 13.10.2025

I already have a working Android “delivery-boy” app and now need to add an optimized routing feature. Using Google Maps, I want the app to rearrange a list of delivery stops so that drivers follow the shortest possible path while still respecting any priority flags we set on individual orders. Scope (keep it lean and focused): • Integrate Google Maps Directions API (or Routes API if you prefer) into the existing codebase. • Accept an array of addresses plus optional “priority” tags and return the best stop sequence. • Display the resulting path on the in-app map fragment and list the reordered stops onscreen. • Return the total distance and an estimated time so the driver sees the benefit immediately. Everything else in the app is stable, so please limit your touch only to the new optimization module and any lightweight UI tweaks required to show the route. Deliver clean, well-commented code that compiles in Android Studio with my current SDK version.