Syed Hamza Ali
A project presented to
College of Computing and Information Sciences
PAF-KIET NN Campus, Karachi Pakistan
In partial fulfillment of the requirements for the degree of
Bachelors of Science
College of Computing and Information Sciences
PAF-KIET NN Campus, Karachi Pakistan
Mobile application to call a mechanic from the nearest location, when car dies while driving and doesn’t restart or an idle standing car at home when it doesnt starts and to order for fuel(petrol) from the nearest fuel station in condition when the fuel is not enough even to reach the nearest fuel station for automatic/manual cars. Both the conditions are mostly problematic for automatic car because its steering gets locked as well when it shuts off and when you are on the way you cant even park your vehicle on the side of road.
In the name of Allah, the most Gracious and the Most Merciful.
Peace and blessing of Allah be upon Prophet Muhammad ?
First, praise of Allah, for giving us this opportunity, the strength and the patience to complete our FYP finally, after the challenges and difficulties. We would like to thank our supervisor Sir Amanullah Khan for his guidance, motivation and most his significant contribution in this project, expert Sir Shah Emad ud Din for giving us the opportunity to work on this project. We would also like to thanks our parents for financial and moral support and our friends who have helped and motivated us throughout. May Allah reward them all abundantly. Ameen
This report is dedicated to PAF-KIET University, our Teacher, our Supervisor, our Parents, our fellow colleagues and the hard-working students of PAF-KIET, with a hope that they will succeed in every aspect of their Academic Career and this project may help them in any aspect of their life.
TABLE OF CONTENTS
TABLE OF CONTENTS v
LIST OF FIGUERS viii
CHAPTER 1 1
1. Introduction 1
On the way to workplace, home or anywhere else, sometimes the vehicle turns off and doesnt restart or the fuel is finished and you dont find any workshop or fuel station nearby. There is only one option left that you call somebody for bringing fuel or any mechanic if you know that can reach you or otherwise you have to push your vehicle to nearby fuel station or workshop. This issue is more problematic for an automatic car because its steering gets locked when it shuts off. 1
1.1. Motivations 1
1.2. Problem Statement 1
Whenever the fuel becomes short or vehicle has a sudden issue, it dies on the way people cant reach to workstation/fuel station. In both the cases, one must have to push the vehicle towards both the places, for that you needs people around you for help. It seems like the problem is solved but what if workstation/fuel station is at far distant place. Now thats really problematic. 1
1.3. Objectives and Contributions 1
1.4. Project Scope 2
CHAPTER 2 3
2. Literature Review/Process Review 3
2.1. Introduction 3
2.2. Literature Review 4
2.3. Functional and Non Functional Requirements 4
2.4. Project Significance 4
2.5. Software Platform 4
2.6. Services 4
CHAPTER 3 5
3. Projects diagrams 5
3.1. Use Case Diagrams 6
3.2. Activity diagram (diagram correction) 7
3.3. ER Diagram 8
3.4. Project Algorithm: 9
3.5. Used Technologies 9
Chapter NO 4 11
4. Project Planning 11
4.1. Project Timeline Summary 11
4.2. Project Timeline Details 12
4.3. Black-box Testing 12
4.4. Test Cases 15
CHAPTER NO 5 17
5. GUI of Android Application 17
5.1. Mechanic Login Interface 17
5.2. Fueler Login Interface 18
5.3. Client Login Interface 19
5.4. Mechanic/Fueler Sign up Interface 20
5.5. Client Sign up Interface 21
5.6. Client profile 22
5.7. Reviews 23
5.8. History 24
5.9. Request received 25
5.10. Quote for further work 27
5.11. Quote notification 28
5.12. End job 29
5.13. Monthly Statistics 30
5.14. Admin panel login 31
5.15. Admin panel dashboard 32
5.16. View all mechanics 33
5.17. View Reviews 34
5.18. View details 35
5.19. View all fuelers 36
5.20. Update petrol price 37
CHAPTER 6 38
1. Conclusion and Future Work 38
1.1. Conclusion 38
1.2. Future Works 38
A. Coding API functions 40
B. Coding Java Classes 42
C. Gantt chart 43
LIST OF FIGUERS
S.NO Figure No. Figure Name Page No.
1 Figure 1 Careem.com 3
2 Figure 2 Uber.com 3
3 Figure 3 Use case Diagram 6
4 Figure 4 Activity Diagram 7
5 Figure 5 ER Diagram 8
On the way to workplace, home or anywhere else, sometimes the vehicle turns off and doesnt restart or the fuel is finished and you dont find any workshop or fuel station nearby. There is only one option left that you call somebody for bringing fuel or any mechanic if you know that can reach you or otherwise you have to push your vehicle to nearby fuel station or workshop. This issue is more problematic for an automatic car because its steering gets locked when it shuts off.
Nowadays smart phones are being used by each next person you see. Due to enhanced battery life of these phones, one can easily use it anytime either on the way to somewhere within a city or travelling to far distant cities. Our motivation came from this point that one can use a mobile application to order fuel or to get the nearest mechanic whenever or wherever he/she is in the need for it rather than calling people around for help or calling somebody at phone and waiting for them to come and help you solving these problems.
1.2. Problem Statement
Whenever the fuel becomes short or vehicle has a sudden issue, it dies on the way people cant reach to workstation/fuel station. In both the cases, one must have to push the vehicle towards both the places, for that you needs people around you for help. It seems like the problem is solved but what if workstation/fuel station is at far distant place. Now thats really problematic.
1.3. Objectives and Contributions
This project mainly focuses on the following objectives:
1. People can create their profiles as a customer, mechanic and fuel station worker.
2. Search the nearest mechanic from customers.
3. Search the nearest fuel station from customers according to their need.
Once the customer has found contact to mechanic or fuel station he/she is now able to send his/her current location to them and if they reject the customers request, it is shifted to another nearby mechanic or fuel station.
1.4. Project Scope
Our goal is to solve this real life problem. Specially for those who are in hurry to reach somewhere urgently and face such problems. We will find the nearest one mechanic/fuel station for them and let the mechanics and workers notified immediately when any one has requested for their work.
2. Literature Review/Process Review
We did an online survey and found the following systems related to our project.
2.2. Literature Review
We find these applications related to our project but in these applications, user can get the nearest taxi available whereas our project will find the nearest fuel station or mechanic available from users current location.
2.3. Functional and Non Functional Requirements
Our project functional and non-functional requirements are given below
2.3.1. Functional Requirements
? Aware clients, about nearest mechanics and fuel stations.
? Clients can send requests to mechanics/workers and they are notified immediately.
? Update petrol prices as they gets changed time to time.
? Get feedback from clients about mechanics and workers for improvement of project.
2.3.2. Non-Functional Requirements
? Maintaining history
? User friendly GUI.
2.4. Project Significance
This project is significant because it solves this real life problem for all people and minimizes it for heavy vehicles because we, humans are always concerning about facilities according to our needs.
2.5. Software Platform
Our application will run on android cell phones.
Our project services are given below.
? Search the nearest fuel station/mechanics from customers current location according to their need before its too late.
? Our android application will connect to the database using API which will return the nearest mechanic/fuel st. worker after comparison of all stored addresses of them with customers current location. So that customer can request them as per their need.
3. Projects diagrams
Based on the above literature review and project scope here are some diagrams, which illustrates that what will be our project or the system is capable to reach the desired results.