The problem
A Metro Fare Calculator and Station Guide Android App with Interchange Routing solves the problem metro riders face before every journey: they do not know the fare until they reach the ticket counter, and they are not sure where to change lines. Official metro apps differ by city, and map apps rarely explain interchanges. This app answers both questions before travelling. The rider picks two stations, and the app shows the fare, the route, the interchange stations and the travel time, plus a guide page for every station. The network is a station graph of 29 stations on 2 lines in the Pune Metro demo build, and the route comes from Dijkstra's shortest-path search with a 4-minute penalty at each interchange. Fares come from a five-zone table in an editable local file, so a fare revision changes one row instead of the code. The app works fully offline once installed: no account, no booking flow, and no live location.
Picks an origin and a destination station from the 29 stations.
Follow the working sequence
How it works
The app treats the metro network as a graph: every station is a node, neighbouring stations are joined by an edge, and the interchange station belongs to two lines at once. When the rider picks an origin and a destination, the app runs Dijkstra's shortest-path search, counting one hop per edge and adding a 4-minute penalty each time the route changes lines. The app counts the hops, looks the fare up in the five-zone table — 1–2 hops ₹10, 3–5 ₹15, 6–9 ₹20, 10–14 ₹25, 15 or more ₹30 in the demo table — and estimates travel time at about 2.5 minutes per hop plus interchange penalties. The station guide reads the same data file: tapping a station shows its lines, facilities, nearby places, and first and last train times. Because the network, fare table and station data are all local files, the whole journey works offline, and a new city means editing data, not code.
- The rider picks an origin station and a destination station from the full list of 29 stations across the 2 demo lines.
- The app runs Dijkstra's shortest-path search over the station graph, counting one hop per neighbouring-station edge and adding a 4-minute penalty (design value) for each change of lines.
- The route is shown station by station in order, with the line colour on every stop and the interchange station called out as its own step with platform-change guidance.
- The app counts the hops in the route and looks the fare up in the five-zone table (1–2 hops ₹10, 3–5 ₹15, 6–9 ₹20, 10–14 ₹25, 15 or more ₹30 — demo fare table, design values).
- Travel time is estimated at about 2.5 minutes per station hop plus 4 minutes per interchange (design values) and shown beside the fare.
- Tapping any station opens its guide page: lines served, facilities, nearby places, and first and last train times (illustrative demo values, loaded from the same editable station file).
Tech stack:
- Kotlin
- Jetpack Compose · Material 3
- Android Room · local JSON data files
- Dijkstra shortest-path routing
- MVVM architecture
- Android Studio
- Gradle · Android SDK 34
- Git
| Parameter | Value |
|---|---|
| Platform | Android 7.0 and above (API level 24 and above, design target) |
| Language and UI | Kotlin with Jetpack Compose and Material 3 |
| Demo network | 29 stations · 2 lines · 1 interchange station (Pune Metro demo network) |
| Routing algorithm | Dijkstra shortest path over the station graph |
| Interchange penalty | 4 minutes per interchange (design value) |
| Travel-time model | Approximately 2.5 minutes per station hop + 4 minutes per interchange (design values) |
| Fare zones | 5 zones · ₹10–₹30 (demo fare table, design values) |
| Example journey | Shivaji Nagar → Kalyani Nagar: 7 station hops · 1 interchange · ₹20 · about 22 minutes (measured in the demo build) |
| Longest demo journey | PCMC → Vanaz: 18 station hops · Zone 5 · ₹30 (measured in the demo build) |
| Routing verification | All 812 ordered station pairs in the demo network return a route (measured in the demo build); 562 of 812 pairs need an interchange |
| Route computation | Design target: under 100 ms per query on a mid-range phone |
| Storage | Local Room database + JSON files; no server, no account |
| Internet required | No — fully offline after installation |
| App size | Approximately 8–12 MB installed (expected) |
Project features
The app's four capabilities that matter most are journey planning with fare calculation, interchange routing, the station guide, and fully offline operation. Journey planning with fare calculation is the core: pick two stations and the app returns the fare, the route, and the estimated travel time, all traced back to the station graph and the fare table. Interchange routing is what makes the app honest about real metro travel: when a journey crosses lines, the app names the interchange station and adds a 4-minute penalty to the travel time. The station guide covers all 29 demo stations with the lines served, facilities, nearby places, and first and last train times. And offline operation means the whole network, fare table and station guide live in local files on the phone, so the app works underground and in stations with no signal, without an account or a data connection.
- [Journey planning with fare calculation] Pick any two stations and the app returns the fare, the station-by-station route and the estimated travel time. In the demo build, Shivaji Nagar to Kalyani Nagar computes 7 station hops, 1 interchange at Civil Court, a fare of ₹20 from the demo table, and about 22 minutes (measured in the demo build).
- [Interchange routing with platform-change guidance] When a journey crosses lines, the route names the interchange station and shows the platform change as its own step, with a 4-minute interchange penalty (design value) added to the travel time. The demo network has 1 interchange station, Civil Court, joining the Purple and Aqua lines.
- [Station guide for every station] All 29 demo stations have a guide page with the lines served, facilities, nearby places, and first and last train times. First and last train times in the demo are illustrative values; the shipped app loads the operator's published timetable from the same editable station file.
- [Editable five-zone fare table] Fares depend only on the number of stations travelled: 1–2 hops ₹10, 3–5 hops ₹15, 6–9 hops ₹20, 10–14 hops ₹25, 15 or more hops ₹30 (demo fare table, design values). A fare revision changes one row of the table, never the code.
- [Offline-first local data] The station graph, fare table and station guide live in local Room database and JSON files on the phone. The app works fully offline after installation — underground, in stations with no signal, and without an account.
- [Network map view] Both lines are shown in full with every station and the interchange highlighted, so the rider can see the whole network and where their route sits in it before travelling.
- [Travel-time estimate with interchange penalty] Travel time is estimated at about 2.5 minutes per station hop plus 4 minutes per interchange (design values), so a journey with a change of lines honestly costs more time than a direct ride of the same length.
What is included
- Complete Android app source code (Kotlin, Jetpack Compose, Room, Dijkstra routing engine)
- Metro network data files for the Pune Metro demo network (29 stations, 2 lines, fare table, station guide data)
- Working demo of the journey planner, interchange routing, station guide and fare table
- Project report PDF (background, graph modelling, routing algorithm, fare-table design, methodology, results)
- Project abstract PDF
- PPT presentation for final review
- Viva Q&A preparation document (Dijkstra's algorithm, graph modelling, fare-table design, Android architecture, offline data)
- Setup and demonstration instructions
- Specific next step: message on WhatsApp for a quotation stating scope (Metro Fare Calculator and Station Guide Android app with interchange routing, Pune Metro demo network of 29 stations), and delivery under the 90-hour work plan as a built-to-order project
Work plan & timeline
Total work plan: 90 hours, split across six phases. Phase 1, requirements and network data modelling: 10 hours — studying how metro fares and interchange routing work, and modelling the 29-station, 2-line demo network with its fare table and station data. Phase 2, app skeleton and data layer: 20 hours — Android project setup, navigation, and the Room database plus JSON loading for stations, lines, fares and guide data. Phase 3, routing engine: 20 hours — implementing Dijkstra's shortest-path search over the station graph, the interchange penalty, the fare lookup and the travel-time estimate, and verifying routes across all 812 ordered station pairs in the demo network. Phase 4, user interface: 15 hours — the journey planner, the station-by-station route view with interchange callouts, the station guide pages, the fare table and the network map. Phase 5, testing and verification: 10 hours — checking fares and routes against hand-computed cases, testing the interchange logic, and confirming the app works fully offline. Phase 6, documentation and viva preparation: 15 hours — report, abstract, PPT, demo walkthrough and the viva Q&A document.
Support
Support covers setup help for the delivered code, a walkthrough of the app and the demo, and fixes for defects in the delivered code. Guidance is also provided for adapting the report and presentation to the student's college format and for answering guide questions about Dijkstra's algorithm, graph modelling, the fare-table design, Android architecture and offline data storage. Support does not cover building a live-fare feed, integrating the operator's real timetable, or adding booking, ticketing or payment features — those are customisation work, developed separately on request.
Limitations & prerequisites
- Fares in the demo are design values (₹10–₹30 across 5 zones), not the official Pune Metro tariff; the shipped app carries an editable fare table that must be filled with the operator's current tariff before real use.
- First and last train times in the demo are illustrative values, not the operator's published timetable; real times must be loaded from the operator's published data.
- The app uses static network data only: it has no live service updates, delays, station closures or real-time train positions.
- The app does not book tickets, sell tickets or take payments; the fare shown is informational only and no ticket is issued.
- Routing minimises hops with an interchange penalty; it does not consider crowding, walking distance inside a station, or lift and escalator availability.
- The demo network covers Pune Metro (29 stations, 2 lines); another city needs its own station data file, fare table and station guide entries.
- Travel time is an estimate (about 2.5 minutes per hop plus 4 minutes per interchange, design values), not a measured timetable, so real journeys may take longer.
Frequently Asked Questions
Is this project suitable for a final-year project?
Yes — this project fits Computer Science, IT, MCA and BCA final-year work because it combines Dijkstra's shortest-path routing over a real metro station graph with Android development in Kotlin and Jetpack Compose, local data modelling, and offline-first design in one working app. The student can explain every fare and route the app produces, because both come from data structures the student built, and the interchange logic gives the viva a genuine design decision to discuss.
Which metro network does the demo use, and can it be changed to another city?
The demo uses Pune Metro — 29 stations across the Purple Line from PCMC to Swargate and the Aqua Line from Vanaz to Ramwadi, with a single interchange at Civil Court — and yes, it can be changed to another city because the network is data, not code. A new city means a new station list, line definitions and fare table in the same JSON files; the routing engine, the fare lookup and the station guide all work unchanged on the new data.
How does the app calculate the fare?
The app counts the station hops in the route it finds and looks the fare up in a five-zone table — 1–2 hops cost ₹10, 3–5 cost ₹15, 6–9 cost ₹20, 10–14 cost ₹25, and 15 or more cost ₹30 — and those figures are the demo fare table's design values, not the official Pune Metro tariff. The table is an editable local file, so when the operator revises fares, one row changes and every journey in the app reprices automatically.
How does interchange routing work?
The app runs Dijkstra's shortest-path search over the station graph and adds a 4-minute penalty every time the route changes lines, so a slightly longer direct ride can beat a shorter ride with a slow change, and the route view names the interchange station as its own step. In the demo build, 562 of the 812 ordered station pairs need an interchange, so this logic is exercised by most journeys, and the longest demo journey (PCMC to Vanaz, 18 hops) crosses at Civil Court.
Does the app need internet, GPS or an account?
No — the station graph, the fare table and the station guide are all stored locally in a Room database and JSON files, so the app works fully offline after installation, underground or in stations with no signal, and without an account. It also has no booking, no drivers and no live tracking: it never asks for location, never contacts a server, and never needs a login.
What will I receive, and can it be customised?
You receive the complete Android source code in Kotlin with Jetpack Compose, Room and Dijkstra routing, the Pune Metro demo network data for 29 stations on 2 lines with its fare table and station guide, a working demo, the project report, the abstract, the PPT and the viva Q&A document. Customisation is realistic: another city's metro network, multilingual station names, a smart-card balance view, or a live service-update feed can be developed on request as separate work.
Components & software requirements
- Kotlin
- Jetpack Compose · Material 3
- Android Room · local JSON data files
- Dijkstra shortest-path routing
- MVVM architecture
- Android Studio
- Gradle · Android SDK 34
- Git
Delivery information
Built-to-order project. Delivery timeline is shared after order confirmation based on current queue.
Support terms
Complete documentation, setup guide, and viva preparation included. Support for setup and explanation provided.
Download free synopsis (PDF)
Enter your name and WhatsApp number — the synopsis PDF downloads immediately. We may send occasional project updates on WhatsApp; no spam.