Android Vehicle Tracking Report
Android Vehicle Tracking Report
Submitted By:
Sanjay Adhikari (TU. Roll No : 2911/070)
Submitted to:
Texas International College
Department of Computer Science & IT
Mitrapark, Chabahil, Kathmandu
February 2018
ACKNOWLEDGEMENT
I would also like to thank Mr. Amod Pudasini, Project Manager, for his constant
suggestions and guidance. His painstaking encouragements boosted morale for the
completion of this project.
I would also like to appreciate Mr Ambika Luitel, CEO of the e-Zone, for his
valuable guidance throughout of the project. Without his guidance, the project
would not have been successful.
Lastly, I offer my best regards and gratitude to all our colleagues, fellow workers
and others who supported us in any respect during the completion of the project.
Thanking You,
i
ABSTRACT
This report contains the details of the activities carried out during the internship
conducted for the three months internship duration.
The current location and estimated arrival time and distance of the vehicle is
provided to the passenger by the vehicle tracking system. In relation to the
estimated arrival time the passengers can decide whether to wait for the
vehicle or not. This helps in making better travelling decisions by the
passengers. From this system it can also be determined whether the vehicle is
yet to come or has been missed. To make life more efficient the system
provides necessary basic information.
Android based vehicle tracking system is required which tracks the real time
location of the vehicle and this information is used effectively by the
commuters to make better travelling decision. GPS is growing its popularity in
day to day life applications. In this era of 4th Generation Smartphone and
palmtops have become a valuable part of the human beings. We often listen to
the words Android and Maps. Android has made life easier and comfortable
This thesis describes the process of designing a client server android based
application for the efficient vehicle tracking. Quality of life of people in India
is demeaning with the growing traffic congestion. Congestion leads to air
pollution, decrease in accessibility and increased travel time. System and
technology is growing even in microseconds. GPS is mounting its reputation in
day to day life applications. With increasing use of smart phones and growing
popularity of the GPS based applications, it has become feasible for the
commuter to track the real time position of the vehicle and make better
travelling decision.
ii
TABLE OF CONTENT
ACKNOWLEDGEMENT.....................................................................i
ABSTRACT..........................................................................................ii
LIST OF FIGURE................................................................................vi
LIST OF TABLE................................................................................vii
LIST OF ABBREVIATIONS............................................................viii
CHAPTER 1: INTRODUCTION.........................................................9
1.2 Background.............................................................................10
1.3 Objectives...............................................................................11
4.1 TestingStrategies.......................................................................36
4.2.1....................................................................Hardware Requirement
.....................................................................................................38
4.2.2.....................................................................Software Requirement
.....................................................................................................38
CHAPTER 5: RESULT ANALYSIS..................................................39
5.1 Result.........................................................................................39
CHAPTER 6: CONCLUSION............................................................43
CHAPTER 7: REFERENCE...............................................................44
CHAPTER 8: APPENDIX..................................................................47
Appendix 1: Screenshots..................................................................47
LIST OF FIGURE
vi
LIST OF TABLE
vii
LIST OF ABBREVIATIONS
IT Information Technology
TU Tribhuwan University
viii
CHAPTER 1: INTRODUCTION
As per the requirement of the TU for the BSc. CSIT final year students are required to
complete a six credit (minimum ten weeks/180 hour long) internship as a part of the
course requirement. Industry is a crucial requirement of the internship course and this
will have to be secured before getting started with the course. The internship in
specialized field provides students in‐depth understanding about the field, market
exposure, and help to identify the potential career opportunities. Internship project is
good for students to understand real world implications of the sound academic
knowledge gained in college.The internship gives the real world exposure to the
professional life and show wider exploration of the career opportunities in
information technology and software development.
The internship experience is expected to enable the students to assist in the resolution
of complex problem associated with database systems. The broad objectives of
internship are as follows:
- To test the interest in particular field before permanent commitment are made.
- To develop skills in the application of theory to practical work situations.
- To test the aptitude for a particular career.
- To know the value of time management and interpersonal skills.
- To develop skills and techniques directly applicable to the careers.
- To acquire in-depth knowledge of the formal functional activities of a
participating organization.
9
1.2 Background
10
1.3 Objectives
The goal of this application is to develop a web and mobile based tracking solution
for customers and organization. The system would be easy to use and hence make the
riding experience pleasant for the users. The main objective of the project of this
internship is to develop working in real world and to develop a online web-based
Tracking system. Some of the objectives of this website are as following:
1. To develop an easy to use web based interface for organization where organization
can view the location of the vehicle, speed of vehicle, battery level of vehicle and
keep track of organization's driver history and so on.
2. A customer based application where customer can also view the current location of
the vehicle and make booking of the vehicle as per the price they find efficient.
3. To develop and easy to use driver based application where driver can continuously
send its location to the server and can also bill its customer on order to organizational
pricing models.
The main objective of the internship project in simple term is to get practical
experience of the theoretical knowledge gained in the classroom. The main task is to
get enrolled into the organization and do tasks as required by the organization as well
as the course of study i.e. BSc.CSIT. The internship attachment project is a
remarkable opening to experience the real world working environment and culture
where the knowledge learned during B.Sc. CSIT course might be implemented. The
solution given to the
11
organization will be in terms of system analysis and design and developing an
integrated system that helps in planning and decision making for the organization.
The report is prepared for the purpose of acquainting the achievement of the author
during internship at the company, Softech Foundation Pvt. Ltd.
The specific objectives related to the placement of the author in the Softech Foundation
Pvt. Ltd. is as follows:
12
develop a web based interface and android based application for tracking system. The
system would be easy to use and hence make the tracking experience pleasant for the
organization as well as its customer. Some of the objectives of this application are as
following:
1. To develop an easy to use web based interface where users can search for products,
view a complete description of the products and order the product.
2. A search engine that provides an easy and convenient way to search for products
specific to their needs. The search engine would list a set of products based on the
search term and the user can further filter the list based on various parameters.
3. Various kinds of goods can be placed in online shopping cart for sale and
promotion of each and every good with the product description.
4. To sell various goods and items to customers online by allowing customers to add
item into the cart or to remove in the undesirable case.
Softech Foundation Pvt. Ltd is a company established with concrete aims to catapult
the growing prospect of IT in Nepal to the un-scalable height by providing qualitative
training, services, Data Entry and electronic document management solution,
webpage design and development, IT consultancy & other computer related jobs
independently. This exceptional team has every solution to their clients' biggest and
most complicated problems. This organization services are offered both on and
offshore, and delivered with pride and passion. Since it's establishment, Softech
Foundation has been leading custom and common software, web & database
development company delivering world-class service for both government and non-
government organization around Nepal. This organization is a group of energetic,
13
motivated, skilled people whose main goal is to provide their clients with an
innovative solution regarding web development and software development.
Softech Foundation has achieved the honor to be Microsoft Certified Gold Partner,
Prometric Test Center and member of CAN. As a Microsoft Certified Gold Partner, Softech
14
Foundation Pvt. Ltd. has attained and achieved the honor of Security Solution Competency,
Information Worker Solution Competency, Desktop Platform Competency, System
Management Competency and Business Intelligence Competency of Microsoft Corporation
which has proved the technical expertise and work efficiency on those arenas.
1.5.1 About Organization
15
are the major steps for any new web development and software development service
they provide. They believe in creating the best technology and product through the
combination of best people and best equipment. Everything they do reflects this
mission and the values that make it possible. Their Values: Honesty, Trust, Freedom,
Innovation, Integrity, Team spirit and Fun are some values influence the way we meet
client needs.
16
CHAPTER 2: ANALYSIS OF ACTIVITY DONE
It is very important to select organization that fulfills our objectives. As it is for our
internship, it is necessary to select organization where there is learning environment
because as an intern our first motive is to learn how the works are carried out in the
real field.
The four-year degree of BSc. CSIT allows us to attain knowledge on various aspects
of Information Technology. At the same time the internship is the one of the major
highlight of the program to expose the students to the professional world. Among the
various criteria and sectors provided to us in internship prerequisite statement,
software Development Company was chosen. Various organizations were shortlisted
and approached out of which the organization with the best lucrative offer and
environment was selected. Softech Foundation Pvt. Ltd. which is located at Mid-
Baneshowr, Kathmandu, an IT company that covers software development, wired &
wireless solutions, network design and implementation, business applications
solutions and others internet related systems and I got selected there. The company
helped me gain wide experience by getting me involved in their projects.
2.1.2 Placement
During the internship tenure, the author was provided with work space in the
Development Department at the organization, not only that author was treated as
trainee staff with the access to the very information of the organization, its
organizational resources, information and equipment.
17
2.1.3 Duration
Duration 12 weeks
Besides study of, Core Javascript and HTML/CSS, other major activities carried out
during internship was extensive study of current system, presentations of study
analysis and practical implementations, and most importantly the team discussions to
analyze the
18
customer change request. The regular meetings with the Supervisor and discussion
with mentors helped me to wide my horizon of knowledge of the existing system and
problem background.
2.2Literature Review
Uber
GPS Tracking Solutions by Telematics provides real-time vehicle location along with
a detailed trip history with just a few clicks. You will be able to see when driver
breaks policy for speeding, idling, unauthorized trips and much more. We provide a
real time trail utilizing a patented technology that provides the most advanced insights
into your employee’s driving behavior.
OLA CABS
Ola provides different types of service, ranging from economic to luxury travel. The
cabs are reserved through a mobile app and the service accepts both cash and cashless
payments with Ola money. It claims to clock an average of more than 150,000
bookings per day and commands 60% of the market share in India.
In November 2014 Ola started on-demand auto rickshaw service on its mobile app in
Bangalore and Pune. It now available in 73 cities
19
Tracking System in Nepal
Many companies have started tracking vehicle project in Nepal decade ago, but the
challenges are still the same. The actual sales have not been able to start due to lack
of knowledge, awareness and online payment systems. Selling globally and inside the
country is the same in years. Tracking Systems are being developed but they have
their limitation due to hardware cost issues. In past recent years due to education,
reach to internet and smartphones being able to track the location many people in
Nepal are giving the think about tracking system. There are also many other tracking
system available like GeoMate, GPS Nepal etc and so on. But these system uses
makes its customer buy expensive hardware which is the reason why tracking system
hasn't flourished that much well.
Many tracking system has been launched recently. Leaving the measurement of success
behind, they are now on the top list. Tracking systems like uber, ola etc generate revenues
worth millions. Peeping into the future of tracking system, launch of few large online
shopping portals was thought as milestone, everyone thought there will be a turnaround
in the e-Commerce industry in Nepal. Now having dozens of tracking system, they still
have the same problem of payment, belief of people (they still have a level of trust to
build among the visitors ) and the deployment of expensive hardware devices for accurate location.
The tracking system is the web and android application that allows organization to
track their vehicle. This system can be categorize to three models:
20
Mobile application is installed in the mobile device(Android) of the driver which
continuously sends the updated location, battery level and speed of the vehicle in
which the driver is moving. The driver can also use the billing system fixed by the
organization.
User Model
User model is used by normal customers who can see the vehicles and book the
vehicle for their ride. They can set up their pickup location and dropup location and
can select the driver they want to travel with. User can see the current location of
driver so they can leave at the accurate time.
2.3.2 Development of Project Goals
The goal of this application is to develop a tracking system for various organization.
The system would be easy to use. The goal of this application is:
Simply just by installing an application allowing drivers to send their real time
location update to the server by utilizing their phone that is without using
expensive GPS tracking hardwares.
The system should allow the organization to login into their account and
create drivers username to provide it to drivers.
21
A driver should able to notify the system when they are driving, the drive has
ended and when they bill the customer.
The user should be able select the drivers manually.
2.4Management Strategy
Time management and cost management strategies are very important. Both of them
must be considered while doing any or the project. Likewise, it was also taken care of
during the internship project.
This strategy involves brief study all the steps of Software Development Life Cycle
and assigning a deadline to complete those stages in correct time. Also ideas are made
to complete any step as fast as possible and also the most important strategy is given
more priority by analyzing them.
22
2.4.2 Cost Management
Budget is one of the limited factors of the project. In this particular project
there are three kinds of budget involved. Development cost was minimal as
the PHP Programming Language is an open-source programming language.
Maintenance cost includes the maintenance of hardware and bug fix and
improvement of the system.
23
CHAPTER 3: SOLUTION DESIGN
The overall development of the system was carefully analyzed under the proper
guidance from the supervisor to make this project a grand success.
System Analysis is the process of studying an activity in order to define its goals or
purposes and to discover operations and procedures for accomplishing them most
efficiently. Analysis is defined as the procedure by which we break down an intellectual
or substantial whole into parts. Synthesis is defined as the procedure by which we
combine separate elements or components in order to form a coherent whole. Systems
analysis researchers apply methodology to the analysis of systems involved to form an
overall picture. System analysis is used in every field where there is a work of developing
something.
Feasibility analysis helps to figure out if the project will is successful of not. The
feasibility analysis should be carried out on various aspects like economic, technical,
legal and operational.
Technical feasibility was to make sure that the new system would be able to work in
the existing infrastructure and integrate with the existing database. We can strongly
say that it is technically feasible, since there will not be much difficulty in getting
required resources for the development and maintaining the system as well. All the
resources needed for the development of the software as well as the maintenance of
the same is available in the organization.
24
3.1.1.1.2 Economic Feasibility
Legal Feasibility analyzes and deals with various legal issues, contracts, policies,
laws and violations that staffs are usually unknown about. It ensures if the application
is legal to operate or not. Some systems may require license to operate. In such cases
legal feasibility needs to be checked. This was done by going through all the legal
requirements of the government of Nepal.
The Operational feasibility study helps in measuring the degree to which the system
solves the problems and the extent to which it fulfills the requirements stated in the
requirements document. It helps to understand the operation of the system before and
after implementing new functionalities. It determines how well the system functions
in the operational level. The enhanced GUI feature will help the users to operate
easily and no detailed knowledge is required [13]. Therefore, it is operationally
feasible. The operational feasibility of the project was evaluated by testing its server’s
capacities and connection with the existing Database.
25
3.1.1.1.5 Schedule Feasibility
All the required phases of development had to be finished within the given time
frame. The analysis and design phase required about 3 weeks of time. The effort was
reduced due to clear requirement and database. The development process required
only about one month because PHP framework allows to develop application rapidly.
[14] Testing required further two weeks. Hence the project is feasible in the
dimension of schedule.
The design of the system was developed keeping in mind the MVC Model. Design
covered the requirements for managing the shopping cart of the organization and tried to
integrate the different requirements of the Company [15]. Design patterns are program
structures used to solve common problems, separate concerns and improve
understandability of code among other things. The design pattern used in this system is
MVC pattern
They required the system to be based on the MVC (Model – View – Controller) model of
designing the system. Model-View-Controller (MVC) is a classic design pattern often
used by applications that need the ability to maintain multiple views of the same data.
The MVC pattern hinges on a clean separation of objects into one of three categories:
There are 5 basic steps in the process of intelligently rescaling the image. These basic
steps also consist of many sub steps. There might be some changes to the phases as
the source of the image change from time to time as shown above.
These steps are the basic of what happens inside of the system. Every process of
intelligently scaling the image goes through these activities.
26
3.1.3 Data Flow Diagram of Vechicle Tracking
The data flow diagram (DFD) for the Online Shopping cart System is a graphical
representation of the "flow" of data through the system, modeling its process
aspects. DFD is a preliminary step used to create an overview of the system which
can later be elaborated. DFD is used for the visualization of data processing and
structured design.
Context Level Diagram is a diagram that defines the boundary between the
system, or part of a system, and its environment, showing the entities that interact
with it. This diagram is a high level view of a system.
30
This context diagram in figure 4 consists of user that interacts with various items
in online shopping to buy the various product items. The online shopping
application acknowledges by providing with various products and categories that
user required.
31
3.1.2.2Schema Diagram
Use case diagram consists of use cases and actors and shows the interaction between
them. The main purpose is to show the interaction between the use cases and the
actor. It represents the system requirement from user’s perspective. These are the
functions
that are to be performed in the module. An actor could be the end-user of the system
or an external system.
32
Figure 7: Use Case Diagram
33
CHAPTER 4: IMPLEMENTATION STRATEGIES
Unit testing emphasizes the verification effort on the smallest unit of software
design i.e.; a software component or module. Unit testing is a dynamic method for
verification, where program is actually compiled and executed. Unit testing is
performed in parallel with the coding phase. Unit testing tests units or modules not
the whole software.
Unit testing emphasizes the verification effort on the smallest unit of software
design i.e.; a software component or module. Unit testing is a dynamic method for
verification, where program is actually compiled and executed. Unit testing is
performed in parallel with the coding phase. Unit testing tests units or modules not
the whole software.
34
kind of input and checking the corresponding output until module is working
correctly.
It provides final assurances that software meets all functional, behavioral &
performance requirement. Black box testing techniques are used. There are two
main components are:
Validation test criteria (no. in place of no. & char in place of char). Configuration
review (to ensure the completeness of s/w configuration.)
- Platform: windows
- Integrate Development Environment (IDE): Sublime text 3
- Database: MongoDB
- Language: Node JS
- Web framework: WordPress 4.1
36
CHAPTER 5: RESULT ANALYSIS
5.1 Result
The organization can track the vehicle. They can create new drivers and update
bills information. They can view the history of the vehicle. The driver can bill the
customer as per the billing standard provided by the organization. The customer
can view the available vehicles for ride. The users can book the vehicle. Then user
have to log in before booking the ride.
The tracking system in Nepal is an easy web and mobile based interface
developed for both customers and organization for easy tracking with utilizing
mobile phones. This web based system is built in Node JS in the MVC platform
and the android based system is built on JAVA and XML. It makes the tracking
reliable and efficient..
37
knowledge for R&D (Research & Development). But the companies are not
risking taking any steps in R&D. Putting hands in R&D involve huge risk factors.
It requires huge investment and efficient manpower. It can’t be guaranteed that
the
company will sustain and will be able to compete with rest of the companies
around the globe.
The companies are just focusing into maintaining and growing their customer base
and bring more projects. Companies are involved in outsourcing jobs. The IT
market within the country is very less. There are fewer places where IT products
are sold, as the working procedure in Nepal is still traditional involving pen and
paper. So, absence companies working in computer science R&D has caused
lower exploration of our knowledge gained during four years.
38
CHAPTER 6: CONCLUSION
The internship in Softech Foundation Pvt. Ltd. has provided a great opportunity to
enhance knowledge and skills. It helped author to gain the experience of working
in real and practical field and most importantly working in team. Moreover, it
presented an opportunity to work in the project related to author interest and
specialization. The main objective of the internship is learning the things that is
necessary to get yourself into the real field of work. This internship has enhanced
author knowledge and skills. It has given author the opportunity to understand this
industry and how the work is actually done.
To conclude, author found that the internship was very beneficial as a part of
development of career and the experience gained through this would be helpful
and beneficial for the future opportunities. Besides developing a project other
lessons are also learnt and they are as follows:
The importance of communication to coordinate the tasks. How important it is to
work in team and the way to work in team.
How to bring ideas into the implementation. How to work within the time
constraints.
The process of gathering the information that is required to develop a software.
The ‘Tracking System’ is designed to provide a web and android based
application that would make tracking easier. The organization can then view the
specification of each driver. The application can be used for any organization that
has vehicles. It is easy to use. Customers can view the vehicles that available for
booking and also can book the driver accordingly. The application is easy to use
and interactive making tracking system a recreational activity for users and
organization. It has been thoroughly tested and implemented.
39
CHAPTER 7: REFERENCE
http://issuu.com/loozarcmemag/docs/looza_rcm_emag4_low_high .
40
[10] [Online]. Available: Online-Shopping in Deutschland weit verbreitet,
Presseinformation. Berlin,
2009.http://www.bitkom.org/files/documents/BITKOM_Presseinfo_E-
Commerce_21_05_2009.pdf (accessed December 30, 2009)..
41
[18] "Joel Reyes.”PHP frameworks” Noupe Editorial Team[Online].Available:
http://www.noupe.com/php/discussing-php-frameworks.html
42
CHAPTER 8: APPENDIX
Appendix 1: Screenshots
Shop:
Above figure 9 shows how the site looks after the URL is entered.
43
Here in figure 10 the vendors can add his/her product and similarly buyer can
search his/her product in the sub categories.
Login
In this figure 11 we can see the login page from which vendors and buyers should
login in order to carry out their task.
44
In figure 12 we can see a particular item selected by a buyer inorder to buy or add
the product into his/her cart.
Checkout
In above figure 13, we can see the product being ready to checkout buy the buyer.
Billing Information
45
In above figure 14 we can see the final process that is filling up the billing
info by the buyer.