Inspiration

We got the inspiration to build this project as we saw a real accident which happened infront of our college campus road. There was massive public around the casualty and some of them called the emergency number that is 108 but it took a lot of time for the ambulance to reach the accident location as the call first routes to a call center which asks for all the details of the site and then checks for the availability of ambulance in nearby accident location and then sends it to the accident location.

What it does

Our application has two users. First is the Client(Nearby at accident site) and the second is Driver(Ambulance Driver). The Client simply has to login with the email and register. The client has to give permission for the application to find his location. Simply then the Client has to click on the "CALL AMBULANCE" button and the application starts searching for the nearby ambulance. If it finds a nearby ambulance and the driver is available then the driver can view all the details of the Client as well as can see the Accident location. Ambulance drivers then can simply navigate with Google Maps and reach the location as quickly as possible.

How we built it

User-Interface is built using Material Design. User authentication is done using Firebase Authentication (Email). For the database, we have made use of Firebase Realtime Database. For storing the user profile images we used Firebase Storage. For the Maps, we made use of Google Maps API. For whole application development, we made use of Java as a programming language. For storing and retrieving the location we made use of GeoFire.

Challenges we ran into

One of the major challenges we ran into is of showing the location of the ambulance to the driver as well as exchanging the information between them. Another challenge we ran into was of storing the images of the user in Firebase Storage.

Accomplishments that we're proud of

We as a team are very proud that we have developed a project which will help the community and save the lives of many people by providing fast ambulance service and helping to get medical treatment as quickly as possible.

What we learned

While working on this project we learned how to integrate Google Maps in Android Apps as well as how to show the locations and save them to Firebase Real-Time Database. Also, we learned how to query the Firebase Database and also learned about the Authentication service provided by Firebase.

What's next for Save The Life

In the future, we will be working on improving the accuracy of the location. We will be integrating a module of nearby best hospitals so the Ambulance driver can take the casualty to the hospitals which have the best service in case of casualty.

Share this project:

Updates