At a glance
- Dates
- Context
- Technologies
- Source code
- Project repository on GitHub
Overview
Android app that estimates the CO₂ of a daily trip, to encourage choosing a less polluting means of transport.
Problem
How can people be encouraged to use less polluting means of transport? Show what a daily trip emits, and compare it with everyday consumption.
Role
Solo project: specification, mock-ups and Kotlin prototype.
The idea
Someone makes the same trip every day, for instance to Le Mans Université, with the means of transport of their choice. Vert le Chemin estimates the CO₂ emitted by that trip and compares it with other activities or productions, so that the figure means something.
The app guides the trip, then lets the user save it and share it: comparing the emissions of one trip across means of transport encourages a change.
Some apps already estimate the CO₂ of a trip; the comparison with everyday activities, from ADEME’s figures, is what sets the project apart.
Build and result
A solo project, built in iterations: first a simple prototype that reflects how the app works, then the details and the styling, finally the links between screens.
- A specification: need, state of the art, risks, schedule, evaluation protocol.
- A low-fi mock-up, then a high-fi Figma prototype, tried by classmates.
- A task tree and the frontend and backend diagrams.
- An Android prototype in Kotlin, from the account to the arrival screen.
Improvements are planned: computing the route and the emissions from ADEME’s figures, favourites and trip sharing.
The video at the top of the page presents the low-fi mock-up.
The reference journey
The reference journey of the specification, mocked up in Figma: a daily trip between home and the workplace.
- Sign in, the first time the app is opened: the credentials are then kept.
- Enter the destination, for instance Le Mans Université.
- Choose the means of transport to get there.
- Start the trip. The app suggests a route suited to the chosen means; the “Commencer la course” (start the trip) button starts the navigation.
- Arrive. A screen confirms the arrival, with confetti, the CO₂ estimate and its everyday equivalents.
- Save and share. The trip joins the favourites, with its date, duration and distance, and can be shared.
The Kotlin prototype
The app is written in Kotlin with Jetpack Compose (Material 3), on an MVVM architecture, with Hilt for dependency injection and Navigation Compose to move from one screen to the next.
| Screen | What it does |
|---|---|
| Sign-in and registration | Account by e-mail and password with Firebase Authentication; the format of the e-mail and the length of the password are checked, and the session is kept. |
| Means of transport | Six means to choose from: walking, bike, bus, metro, tram, car. |
| Destination | Search in a list of cities, on an OpenStreetMap map (osmdroid) that shows the destination and the user’s position. |
| Navigation | Map and GPS tracking of the position, with a sample route. The client of the Valhalla routing API (Retrofit) is written. |
| Arrival | Confetti, CO₂ emissions and everyday equivalents (sample values), then back to the home screen. |
| Settings | Personal information, notifications, language, data deletion, sign-out. |
| Menu | A bar at the bottom of every screen: trip, favourites, settings. |
Interface choices
- Similarity and continuity (Gestalt): the same icons, the same font and the same colours for the same kinds of action, from one screen to the next.
- Miller’s law: never more than nine elements on a screen.
- Going back is always possible: a cross at the top right, with a confirmation for some actions, and the bottom menu on every screen.
- Simple, large, well-spaced elements, so as not to overload the user.
- Colours: green and brown for the ecological purpose; yellow marks what can be tapped, red a wrong entry.
Planned evaluation
The specification sets the protocol for evaluating the app with users.
- Hypotheses: users choose their means of transport according to the trip, adapt it thanks to the estimates and comparisons, save and share their trips to stay motivated.
- Usability: a SUS score above 72.
- Features evaluated: choice of means, navigation, CO₂ estimate and comparisons, favourites, sharing.
Design
Before development: a schedule, then the way the app works, described by a task tree and two diagrams. The figures are in French.