Ride Sharing Android App Project

Ride-Sharing Android App Project

Project Domain / Category

Mobile Apps

Abstract / Introduction

This app lets users with vehicles help other users who have the closest current location and destination by giving them a lift. A user who has a vehicle and is about to start a journey first marks its status as “I can share a ride” and then enters its destination in the app before starting the journey. A person who wants to travel but is not having conveyance requests the app for a lift by providing his/her destination. The app calculates three things:

  1. Requesting user’s current distance from the current distances of all the users who have marked their status as “I can share a ride”.
  2. The distance of destination of the requesting user from the destinations of all the users who have marked their status as “I can share a ride”.
  3. Finally, the app adds up the current location distance and destination distance for each user

whose status is “I can share a ride” from the requesting user.

Ride Sharing Android App Project
Figure: Ride Sharing Android App Project

The user with the smallest sum is the selected user. A message appears on the selected user’s smartphone that someone wants a ride. The location of the requesting user is also shared with the selected user on the map so that the selected user may pick the requesting user from its current location. After the journey ends, a user who has set its status to “I can share a ride” will mark its status as “I cannot share a ride” so that the app knows that he/she is no longer offering a ride.

Functional Requirements

  1. A user must be able to register in the app.
  2. A user can mark its status as “I can share a ride” and set its destination on the map before starting its journey.
  3. A user can request a ride and provide its destination on the map.
  4. Once a user requests a ride, the app calculates the following things:
  5. Requesting user’s current distance from the current distances of all the users who have marked their status as “I can share a ride”.
  6. The distance of destination of the requesting user from the destinations of all the users who have marked their status as “I can share a ride”.
  7. Finally, the app adds up the current location distance and destination distance for each user whose status is “I can share a ride” from the requesting user.
  8. The user with the smallest sum is the selected user.
  9. The app sends the message to the selected user “You have a ride request” and displays the current location of the requesting user on the map.
  10. A user who has marked its status as “I can share a ride” can mark its status as “I cannot share a ride” after the journey ends.

Note: The functionality of adding friends is not required. By default, all the users are friends of each other.

Tools

Android Studio