Professional Documents
Culture Documents
INTRODUCTION
1.1 Introduction:
Many technology implementations are nowadays used helpful tools for the
business world. Besides computer software mobile applications are considers as more
important and innovative resources. The population in Pakistan is growing from year
to year. It gives opportunities to the restaurant industries to develop their business.
The growing number of restaurants makes restaurant development more competitive.
Therefore, all restaurants keep improving their quality of service; one of the services
is delivery order. Delivery order service offered by a number of restaurants is by
making order through mobile phone. Making orders through phone calling, short
messages, or even website does not give order status information in real time to its
customer. Moreover, customers can not see their order history which has been done
before. Nowadays, mobile phone is not used for calling or Sms only, many mobile
phones also provide application that support people daily activities developers
decided to create an ordering food application with Android OS platform named
Takeaway Tracking System (android and web application). This application gives
restaurant list information with provides some features such new order; reception,
order status, exit in main home screen with Google map API service. A Takeaway
Tracking system is referred to as a set of detail methods that is being used in handling
the ordering process.
Takeaway tracking system (android and web application) is an android
application which can also run on web browser having an auto tracking ability to track
the user address at any location and any time. It is basically built for the users
convenient and provides tools of place food orders who want to enjoy their food at
home. This application also improves the performance of delivering food orders in
restaurants. The preorder and postpaid payments facility would be available for users.
This auto track address of customer ability is due to the Google map API
(application programming interface) services and technology. Users can also place
order with the website as well as android phone.
Actions and functions in this takeaway tracking system (android and web
application) are performed as under;
Customer: (client or user who can place and send food orders by selecting
food products items through android application in mobile devices or through
web app).
Customer can also view the order status after confirm and place orders.
Admin can handles all database functions and manage it by login to system by
filling name and password through the reception option given in the android
application home page.
Admin can view all orders with customer information with product items,
quantity, prices and total payments of orders, handles order and confirm order.
it is being transferred to the restaurant. This confirmation is from the ordering service,
not from the restaurant. In any event, if the restaurant wants to contact the customer,
the restaurant employee must call him on the phone. Restaurants receive orders not
directly from customers but through a third party, in this case, the online food
ordering service. By using this service, the restaurant has some benefits as follows:
The application of the restaurant is professionally set up by the online
ordering service company in a consistent way, so that customers can easily choose
their favorite foods. Reduction of the amount of work the employee has on receiving
orders directly from customers per telephone. The restaurant is simply listed on the
Website of online food ordering service, which is well advertised to the market. Good
restaurants with high reputations will be presented by good ratings. It is obvious that
takeaway tracking system service is helpful. However, there are still some
inconveniences in the process. When finishing the order, the customer does not know
how long it will take to have food delivered. He just receives only the confirmation
from the ordering service that confirming that the order has been made. Otherwise, he
must contact the restaurant directly if he wants to get more information. Furthermore,
transferring orders by fax or email does not always run smoothly: paper jam by the
fax machine, quiet fax signal, late arriving email, etc. can possibly occur.
1.2 Problem Statement:
The growing number of restaurants makes restaurant development more
competitive. Therefore, all restaurants keep improving their quality of service; one of
the services is delivery order. Delivery order service offered by a number of
restaurants is by making order through mobile phone. By following the technology
development, some popular restaurants offered website as a choice for making orders
in online mode.
Making orders through phone calling, short messages, or even website
does not give order status information in real time to its customer. Moreover,
customers can not see their order history which has been done before. Nowadays,
mobile phone is not used for calling or Sms only, many mobile phones also provide
application that support people daily activities.
1.3 Aims and Objectives:
In view of the rapid development of computer and mobile technology in
almost all the fields of operation and its use in relation to information management, it
has become important to look into the development of Takeaway Tracking system for
firms to meet up with demands of the customers. Therefore, the food ordering and
delivery system will help customers and management to:
To allow the customer to make order, view order and make changes before
submitting their order and allow them make payment through post payment.
Tools that generate reports that can be used for decision making
A tool that allows the management to modify the food information such as
price, add a new order, reception and many others as well as tools for
managing user, system menu and promotion records.
CHAPTER II
REVIEW OF RELATED LITERATURE AND STUDIES
Figure 2.1 Population Census Organization; Population Projections 19982023, Planning Commission; NIPS
Link: smeda.org/index.php?option=com...Fast-food-restaurant
The growing number of restaurants makes restaurant development more
competitive. Therefore, all restaurants keep improving their quality of service; one of
the services is delivery order. Delivery order service offered by a number of
restaurants is by making order through mobile phone. By following the technology
development, some popular restaurants offered website as a choice for making orders
in online mode.
2.2 Existing Projects:
2.2.1 Online food ordering service:
Currently, there are many big names in Pakistan providing online food ordering
services for restaurants such as
1. Toss down: website: http://tossdown.com/
2. Food Panda: Website: www.foodpanda.pk
3. Super meal Website: www.supermeal.pk
4. Eat Oye! Website: https://eatoye.pk/
These companies have almost the same concept: they serve users orders
through a website. This website can be opened on a customized mobile application. It
lists all the restaurants with their menus. Users just browse through and choose
favorites foods, then complete the order process and wait for the delivery.
2.2 Surveys conducted:
Apple reported, on June 2012, that since the inception of App Store, 30
billion apps have been downloaded. At the same time, Xyologic also estimated that
the total mobile applications on four popular platforms are about 1.5 million and that
there are currently 400,402 publishers. More and more mobile applications are
downloaded and uploaded daily. Users have now become acquainted with this type of
software: the mobile app.
Due to the mobility and the ability for calculating, mobile apps on mobile
devices seem to be very helpful in everyday life. Furthermore, when integrating with
modern online services, mobile apps have the potential to be a useful and powerful
resource for every business.
2.2.1 Mobile Systems:
In the first quarter of 2012 there were 419.1 million mobile phones sold to
end users worldwide. These mobile phones work based on different platforms.
Figure 2.2: Forecast of worldwide market shares for mobile operating system in years
browser. This great feature is the advantage of web app over native app: plat-form
independence.
Developers often use HTML5 together with jQuery Mobile when developing mobile
web app. These techniques have special focus on mobile devices and provide some
useful features: offline cache, local storage, video and audio streaming, canvas
drawing, geo location API. Almost all modern mobile operating systems support these
HTML5 features.
From all backgrounds and research surveys above, developers decided to
create an ordering food application with Android OS platform named Takeaway
Tracking System (android and web application).
CHAPTER III
RESEARCH METHODOLOGY
Takeaway tracking system (android and web application) is created by using
waterfall model. The waterfall model is a system development model designed to
simplify the understanding of the simplicity associated with the developing systems.
3.1 Research Methodology Based on Android Features Of existing system
Order with using online website such as www.foodpanda.co.id and
www.klik-eat.com requires its customer to do registration first by filling too many
profile information. Moreover, not all ordering food websites provide pictures and
menus descriptions for its customer.
Takeaway Tracking System application gives restaurant provides some
features such as new order, reception, exit and order status with Google map API
(application programming interface) service by which the address of customer can be
auto locate as Google address. This also ensure that there will no error and effort
need to record the address of customer.
Features that are needed in application for customer are as follows:
3.1.1 New Order
New order feature to make an order by choosing restaurant and menus
provided freely, and the second one is using My Favorites feature to make an order by
choosing one of the top three favorites restaurant.
a. Customer details ( this feature enable a user to fill name, contact number and
address)
b. Product items ( this feature shows the products to choose with quantity)
c. Order now( this feature shows the order to be done and ready to take response
from restaurant)
d. View bill (this feature shows all selected product with price and total
payments and information related to customer order that has been filled by
customer).
e. Confirm order (customer will finally complete send order by hit it)
3.1.2 Order Status
Order status is the feature that will used to show order status consist of
order pending means that order has not been confirmed by restaurant, order
delivered means that order has been sent to its destiny by delivery driver.
Features that are needed in application for admin are as follows:
3.1.3 Reception
a. Login(admin login in by enter name and password)
b. All Orders (admin see all order and manage them as orders are confirms from
kitchen side.)
c. Confirm order(after food ready admin confirm order of customer by click on
confirm)
d. Delivery now( handed over to delivery driver then click on delivery now)
e. Exit (this feature means admin go out from app)
Specifications
Recommended Requirements
Processor
Hard disk
Memory
512 MB
CRT/LCD monitor
Internet
wifi
Table 3.2(a) Hardware Requirements
Specifications
Operating System
Front end
Recommended Requirements
Windows XP, Android
JavaScript(ajax,Jquery,Jquery
Backend
mobile),CSS3,HTML5
MYSQL , PHP, Android
Web browser
Google Chrome
Server
Apache Server 2.5
Integrated Development Environment Cordova, phone gap
(IDE)
Web Server Package Tool
orders status
Both application handled and controlled by the admin/delivery driver/customers
5
back the answer as web pages through HTTP protocol. In the system suggested,
Apache HTTP server works as an interface to communicate with the database for
inputting and receiving data.
When bundling with CSS and Jquery Mobile, HTML5 becomes a very
good combination for serving rich media content to different platforms, particularly
mobile devices. In addition to the normal functions, HTML5 provides new features to
support development website for mobile device. Some of these features are very
useful for developing the mobile application:
Meta name Viewport: this will resize the viewport of the web site to fit
devices width. Offline Caching: allow users to view web site offline after having
visited it before.
Local storage: let the web server to store data on the device so that it can
be used later directly from the device.
If HTML5 is for the content, CSS for the styling, then Jquery Mobile
comes to support the behavior and mix them all to give web apps a look nearly the
same as a native app. The Jquery Foundation has introduced Jquery Mobile on their
website like this.
A unified, HTML5-based user interface system for all popular mobile device platforms, built on the rock-solid Jquery and Jquery UI foundation. Its
lightweight code is built with progressive enhancement, and has a flexible, easily
theme able design.
Jquery Mobile has been widely used in creating native-like mobile web
apps. Although, the framework is based on JavaScript, developers will find it easier to
implement than JavaScript: The web app must include the Jquery Mobile script in the
html code. In the body of html, some predefined elements of the framework will be
used to mark the content of web app. Jquery Mobile will find these elements based on
the appropriate tag names and attributes. The web app at the end will be rendered to
have a nice interface on a mobile device.
3.6.4 Phone gap Technology for Android Application
Phone gap is an open source framework, which is developed by Nit obi but
was acquired by Adobe in October 201. It helps developers in creating hybrid apps by
using usual web technologies. Phone gap provides its SDK named Cordova. The SDK
offers API to access many devices features from Accelerometer to Storage. The main
function to be focused upon in this thesis is its ability to convert a web app into a
hybrid app so that it can be installed on a mobile phone by the driver.
To use Phone gap, developers generally go through some steps according
to which platform the app will run on. Below is a brief description of the steps needed
to build hybrid app for Android
1
into the mobile device. Another way to build Phone gap hybrid app more comfortably
is by using its online build service. Developers register an account at
http://build.phonegap.com, then upload the whole web app project to that particular
website, choose the destination platform and let the service do all the building process
itself.
CHAPTER IV
PROJECT DESCRIPTION
4.0 (Project Design, Testing and Implementation)
4.1 Architecture (System and software design)
Make the application design workflow for customer side, restaurant admin
side using the storyboard design; the user experience design; the Unified Modeling
Language (UML) design consist of use case and activity diagram; and database
structure design.
a. Storyboard design
The storyboard design is designing the user interface including each
interface description.
b. User experience design
The user experience design is designing the totality of end user perception
when interacting with the application
c. UML design
The UML design consists of use case to define the system function from
each actor perspective then completed by explanation in use case narrative, activity
diagram to draw the process of each actor in diagram, class diagram to draw object or
class of system with its relationship, and sequence diagram to draw the message
interaction with its objects base on its order of time.
d. Database structure design
Database structure design is made by the result of class diagram. It draws
the classes that need to be saved in database and its relationship.
The takeaway tracking system (android and web application) structure is shown as
Under;
Confir
m
ii.
iii.
Figure 4.2: Use case diagram for both admin and customer
Takeaway Android application
4.3.2
admin.
Figure 4.3: use case diagram for admin Takeaway Android application
Description of use case diagram for admin:
Use case
Description
Actor
RECEPTION
Login
Admin
Admin login to system by
entering correct name and
password.
Admin
Admin can view the list of
orders with customers names,
address,
contacts
product
items, quantity, price payments
etc
3
Admin
Admin
View best
Route
throughAfter choosing which orders
Google address
are finished, the Admin
can see the best
route to deliver orders
Delivery now
5
Admin
6
Exit
Admin
Table 4.4: Description of the use case diagram for Takeaway android
application
4.3.3 Use Case Diagram For Customer
This usecase diagram show the action done by customer
1.By hit on NEW ORDER Enters the name, contact number, address and hit NEXT
then select product items, category, quantities then hit ORDER NOW to go ahead
.user also facilitated options to REST order and go BACK to previous page.
2. Hit CONFIRMS ORDER now.
Use-case
New order
Customer
Details
Product items
Order now
View bill
Confirm
Exit
Description
Customer
place
New order
Customer
enter
information like
name,
contact,
address
customer
can
select
desire
Items of food
Actor
customer
customer
can
proceed order by
clicking this
option
customer
customer
can
view the order
Bill with product
price and total
payments
customer
Customer
can
confirm and make
mind to order
finally by clicking
confirm option.
Customer can quit
from system by
clicking
exit
option
customer
customer
customer
customer
4.6:
Description
Actor
Customer
Either pending or delivered
Table 4.8: Description of the use case diagram order status for
customers
4.4 Activity Diagram( Flowcharts) of Takeaway Android application
Activity diagram to draw the process of each actor in diagram.
Figure 4.9: Flowchart describes actions the customer does with the application
4.4.2
food to customers.
Figure 4.11: Flowchart describes actions a customer takes on the order status for
customers
4.5 Database Design Architecture
Below is a design of the database schema:
Before submitting the code to Phone gap build, a small configuration should be made.
Because the application runs on mobile device and send request to the server, the
address of the server must be defined beforehand.
var serviceURL = "http://192.168.1.5/takeawy/services/";
It is in the variable service URL and locates in the file index.js.
4.7 Implementation and unit testing
This is the developing application phase; it includes making database and
translating the design result done in the previous phases to programming language
codes. After that, a program unit testing will be done.
The application development divided to two phases, which are:
a. Database making
Database is made based on the design. It used MySQL database
management system which will be related between the applications developed in
Android OS and the website developed in using phone gap online services/ Java
Server Page.
b. Application and website development
This phase is translating the result of design into phone gap for customer
side android application, and apache Server for admin side web application.
After doing these two phases, a program unit testing will be done.
4.8 Integration and system testing
After doing program unit testing in the previous phase, all applications and
websites will be integrated into one whole system. After that, a system testing will be
done. The applications and websites will be integrated using one database.
4.9 Operation and maintenance
After doing integration into one whole system, if there is any changes or
reparations needed then the previous phases can be back.
4.10 Results and Application Screenshots
After uploading the application to the online build service, Phone gap
builds it and offers different completed files for different OS. Users can also
download these setup file direct to the devices by using QR-code . . Following are the
screenshots of the test.
QR-code: Quick Response code http://www.qrcode.com/en/qrfeature.html
SCREENSHOT 1:
This is the main home screen of the
Android Application named
Takeaway Tracking System
Main home page have following
Features;
1.
2.
3.
4.
NEW ORDER
ORDER STATUS
RECEPTION
EXIT
SCREENSHOT 5:
This screen shows when admin hit on
RECEPTION then input his/her personal
Data for LOGIN will appear on screen
LOGIN
Admin Name
Password
Admin can enter in the database of takeaway
Tracking system after correct name and password enter.
Back
Admin can go back to Home screen by hit it
Figure 4.14(e): Reception or
admin can login for view all
orders, and the orders will
be deliver to the customer
SCREENSHOT 6:
This screen shows when admin LOGIN to system
All order information will be appear on screen with
Customer
Contact
Order
VIEW
Customer can hit it to view the bill
the information of of the customers order and location ,then deliver that order
4.11
Food Delivery
Depot on Call
System
Based on Android
OS
Order by Phone
Calling
Order by web
Application
GPS Tracking
Category Menu
Product items
All Order History
Customer detail
Order Status (real
time)
The similar application compared to Takeaway Tracking System
application is Food Delivery Depot on Call application. By comparing to Takeaway
Tracking System application, it can only be run in offline mode, it can only be used
to show menu, and the order can only be made by phone calling, while Takeaway
Tracking System application show user the menu product and description,
moreover the order is made through application in online mode.Food Delivery
Depot on Call application does not have several features provided in Takeaway
Tracking System application, such as All Order(history) to show the order which
has been made by user, product to show users favorite menu, and Order Status
to show order status in real time to user.
4.11.1 Application Evaluation Based on Eight Golden Rules
Below are the user interface evaluation based on eight golden rules:
1. Consistency
Takeaway Tracking System keeps its consistency by using the same font
type, color, layout, menu, and menu icon in each page. It applies to website
controller and system will response users action. For example in the customer side
application, there is a feature to let users change their own profile.
8. Reduce the Information Capacity for Short-Term Memory
Takeaway Tracking System application has integrated the reduction of
information capacity for short-term memory. For example, the menu icons used
relevant icons with the menu such as exit button used the exit door icon.
CHAPTER V
CONCLUSIONS AND RECOMMENDATIONS
5.1 Conclusions
Now a days world become global village and every people want to do his
work at home and everyone has no time for go to restaurant or any food
street/cafeteria. Therefore, by using this application user can order from home and get
free home delivery when admin or reception confirm the order form android or web
application. This application allows user free home delivery with auto address
tracking system and finds the location.
It will specially design for purpose of time saving and get easily home
delivery with auto address tracking. User will give order of fast food and admin or
reception will receive and confirm order. This project can be used for any type of
restaurant or fast food or canteens/cafeterias. Takeaway tracking system has been
successfully developed. It ran well on an android mobile phone. In addition, it would
be built to six other platforms supported by Phone gap. The development process was
comfortable thanks to the framework Jquery Mobile. However, because this type of
application based on web technologies, which works with stateless protocol, it was
difficult to track when there are any error to be debugged. The performance of the app
in comparison with a normal native app is obviously slower by its speed.
Nevertheless, the ability to be built for multiplatform is wonderful. Although the app
has met the main requirements of the suggested system, it could always be improved.
A nicer interface by styling the layout with CSS will make the app more enjoyable in
its look. The more features of HTML5 should also be applied into the app to make it
works better. A further development should be made is the integration of the app into
a new system when Takeaway Tracking system decides to register with an online
ordering service. In conclusion, the idea of integrating modern software and online
services into building was makeable and it has been successfully implemented.
1. Takeaway tracking system (android and web app) can help customer in
making order easily.
2. Takeaway tracking system (android and web app) gives information needed in
making order to customer
3. Takeaway tracking system (android and web app) made for restaurant can help
restaurant in receiving orders and modifying its data.
4. Takeaway tracking system (android and web app) made for admin can help
admin in controlling all Takeaway tracking system (android and web app).
5.2 Recommendations and Future Work:
REFERENCES
There are many current resources for PHP and android Programming and Databases
because its a vast tool to design any kind of projects.
There are also many resources for Database also because database is doing great job
the field of computers
Internet Resources:
[1] www.sunmicrosystem.com (1-8-2015)
[2] www.osborne.com (1-8-2015)
[3] www.vbsource.com (10-8-2015)
Internet Resources For Database
[1] www.php.net (20-8-2015)
[2] www.Databaseprograms.com (26-8-2015)
Internet Resources for Android:
[1] Cellular News.
news.com/story/29824.php>.(1-9-2015)
[2] WRD Systems Ltd Company Website.
(http://www.wrdsystems.com> .(2-9-15)
[3] VisiRun Company website.
Available
on
the
Internet:
<URL:
http://www.visirun.com/>. (4-9-2015)
[4] Track Peers. Available on the Internet: <URL: http://www.trackpeers.com/>.(109-2015)
ABBREVIATIONS
ADT
AVDM
JSON
API
HTML
XHTML
XML
JS
ASP
CSS
MySQL
Jquery
Software Requirements
1 ANDROID SDK
PROGRAMMER GUIDE