A
PROJECT REPORT
ON
“Dream Café”
(Online Canteen Food Ordering )
For
PIREN’S Institute, Loni
Submitted By
Miss. Jangam Dhanashri Ganesh
To
UNDER THE GUIDANCE OF
Prof. Dandawate M.B.
DEPARTMENT OF MCA
PIRENS Institute of computer Technology,
Loni(bk) Tal Rahata Dist Ahmednagar.
(Year 2018-19)
PIRENS Institute of Computer Technology, LONI
(Approved by AICTE, Govt. of Maharashtra, Affiliated to Savitribai Phule
Pune University)
Tal-Rahata Dist - Ahmadnagar (M.S.) Pin 413736
1
Certificate
This is to certify that Miss. Jangam Dhanashri Ganesh has submitted the project report entitled
“PIRENS Institute,Loni” to Savitribai Phule Pune University for the partial fulfillment of the
Requirement for the award of the Master in Computer Application. This is his/her original work
carried out under the guidance and Supervision of project guide.
We further certify that to the best of our knowledge and belief the matter presented in the project
report is bonafied and has not due submitted to this, any other degree, diploma or any membership.
Satisfactorily completed the their project titled as:
“Dream cafe”
(online canteen food ordering)
As a part of the curriculum of MCA SEM V during the academic year 2018-2019.
This project represents their sincere work carried out under guidance. Their
project work is satisfactory.
Project Guide Head of the Dept. Director
([Link]) ([Link]) (Dr. [Link])
Internal External
2
INDEX
Sr. no Name Page No
1. Introduction 4
2. Scope 5
3. Code 6
4. Screen Shots 15
5. Advantages 30
6. Future Enhancement 30
7. Conclusion 31
8. Bibliography 31
3
Introduction :-
Objective:
Dream Café (Online Canteen Food Ordering) that can be used by small
and large canteen like as a flexible and low-cost way to effectively
manage orders.
Thanks to a system like this, canteen can effectively control employee
access to resources. This leads to a medium-term increase in
productivity.
Using a system of canteen management, the information and
knowledge generated within a system can be made universally available
to its customers.
Description:
Online Canteen Food Ordering is the system where customer order
their food and receive food in the canteen without any delay as they can
directly go and collect what they ordered without waiting for turn or
waiting time. This system aims to accelerate customer orders and
customer order system used by employees to accept customer [Link]
system requires very fewer time factor as compared to manual system.
The system will provide fast and efficient automated environment
instead of slow and error prone manual system, thus reducing time and
manpower spend in running the system.
The system will have GUI interface and very less user training is
required to learn it.
4
Scope:-
Our project aims at process automation, i.e. we have tried to computerize
various processes of Canteen Online Ordering.
In computer system the person has to fill the various forms and number
of copies of the forms can be easily generated at a time.
In computer system, it is not necessary to create the manifest but we can
directly print.
To utilize resources in an efficient manner to create the manifest but we
can directly print it, which saves our time.
It satisfy the user requirements.
Be easy to understand by the user and operator.
Have a good user interface.
Be easy to operate.
Be expendable.
Future Enhancement:-
The technology has always depended upon its requirement. At this point
of time and the coming (it would be safe to say) decade, the
demand/requirement of Android if only, is going to [Link]
Mobile User Experience Design.
When you can order the food then it will tally the daily order reports.
Also customer can order the food then some times they can cancel that
food order. When customer can order the food then generate the food
wise bills and it will pay the customer and also manage the foods by
daily insert and update the food system. One is that you can add payment
getaway for online ordering.
5
Coding
Xml Code:-
FirstPage .Xml :-
<?xml version="1.0" encoding="utf-8"?>
<[Link]
xmlns:android="[Link]
xmlns:app="[Link]
xmlns:tools="[Link]
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity">
<ImageView
android:id="@+id/imageView7"
android:layout_width="329dp"
android:layout_height="413dp"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:layout_marginEnd="8dp"
android:layout_marginBottom="8dp"
android:contentDescription="TODO"
android:cropToPadding="true"
android:src="@drawable/frnt"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.478"
6
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.511" />
</[Link]>
Registration .Xml :-
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="[Link]
xmlns:app="[Link]
xmlns:tools="[Link]
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".Registration"
android:orientation="vertical"
android:background="@drawable/front1"
><[Link]
android:layout_margin="30dp"
app:cardCornerRadius="4dp"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<LinearLayout
android:layout_gravity="center_horizontal"
android:orientation="vertical"
android:layout_width="wrap_content"
android:layout_height="wrap_content” >
<TextView
android:layout_marginTop="10dp"
7
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Registration"
android:textSize="50sp"
android:textStyle="bold"
android:layout_gravity="center_horizontal"
android:textColor="@color/colorPrimaryDark"/>
<EditText
android:layout_width="280dp"
android:layout_height="50dp"
android:layout_gravity="center_horizontal"
android:layout_marginTop="10dp"
android:background="@drawable/edittextstyle"
android:hint="Enter Name"
android:id="@+id/editText1"/>
<EditText
android:layout_width="280dp"
android:layout_height="50dp"
android:layout_gravity="center_horizontal"
android:layout_marginTop="10dp"
android:background="@drawable/edittextstyle"
android:hint="Enter Email"
android:id="@+id/editText2"/>
<EditText
android:layout_width="280dp"
android:layout_height="50dp"
8
android:layout_gravity="center_horizontal"
android:layout_marginTop="10dp"
android:background="@drawable/edittextstyle"
android:hint="Enter Contact no"
android:id="@+id/editText3"/>
<EditText
android:hint="Enter Username"
android:layout_marginTop="10dp"
android:layout_width="280dp"
android:layout_height="50dp"
android:layout_gravity="center_horizontal"
android:background="@drawable/edittextstyle"
android:id="@+id/editText4"/>
<EditText
android:hint="Enter Password"
android:layout_marginTop="10dp"
android:layout_width="280dp"
android:layout_height="50dp"
android:inputType="textPassword"
android:layout_gravity="center_horizontal"
android:background="@drawable/edittextstyle"
android:id="@+id/editText5"/>
<Button
android:id="@+id/btn_otp"
android:textColor="@color/white"
android:background="@drawable/button"
9
android:text="REGISTER"
android:layout_marginTop="10dp"
android:layout_width="200dp"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:onClick="onClick"
android:textSize="16dp"
/>
</LinearLayout>
</[Link]>
</LinearLayout>
package [Link];
import [Link];
import [Link];
import [Link];
import [Link];
import [Link];
public class MainActivity extends AppCompatActivity {
private int SLEEP_TIMER =5;
@Override
protected void onCreate(Bundle savedInstanceState) {
[Link](savedInstanceState);
requestWindowFeature(Window.FEATURE_NO_TITLE);
10
getWindow().setFlags([Link].FLAG_FULLSCREEN,[Link]
rams.FLAG_FULLSCREEN);
setContentView([Link].activity_main);
LogoLauncher logoLauncher=new LogoLauncher();
[Link]();
private class LogoLauncher extends Thread
@Override
public void run() {
try{
sleep(1000 * SLEEP_TIMER);
}catch(InterruptedException e){
[Link]();
Intent intent=new Intent([Link], [Link]);
startActivity(intent);
[Link]();
11
Java Code:-
[Link]:-
package [Link];
import [Link];
import [Link];
import [Link];
import [Link];
import [Link];
public class MainActivity extends AppCompatActivity {
private int SLEEP_TIMER =5;
@Override
protected void onCreate(Bundle savedInstanceState) {
[Link](savedInstanceState);
requestWindowFeature(Window.FEATURE_NO_TITLE);
getWindow().setFlags([Link].FLAG_FULLSCREEN,[Link]
utParams.FLAG_FULLSCREEN);
setContentView([Link].activity_main);
LogoLauncher logoLauncher=new LogoLauncher();
[Link]();
private class LogoLauncher extends Thread
@Override
12
public void run() {
try{
sleep(1000 * SLEEP_TIMER);
}catch(InterruptedException e){
[Link]();
Intent intent=new Intent([Link], [Link]);
startActivity(intent);
[Link]();
[Link]:-
package [Link];
import [Link];
import [Link];
import [Link];
import [Link];
import [Link];
import [Link];
import [Link];
import [Link];
import [Link];
import [Link];
13
import [Link];
import [Link];
import [Link];
import [Link];
import [Link];
import [Link];
import [Link];
public class Registration extends AppCompatActivity {
DatabaseHelper myDb;
EditText editName,editEmail,editContact,editTextId,editUsername,editPassword;
Button btn_otp;
@Override
protected void onCreate(Bundle savedInstanceState) {
[Link](savedInstanceState);
setContentView([Link].activity_registration);
myDb = new DatabaseHelper(this);
editName = (EditText)findViewById([Link].editText1);
editEmail = (EditText) findViewById([Link].editText2);
editContact = (EditText) findViewById([Link].editText3);
editUsername = (EditText)findViewById([Link].editText4);
editPassword = (EditText)findViewById([Link].editText5);
btn_otp=(Button)findViewById([Link].btn_otp);
AddData();
14
public void AddData(){
btn_otp.setOnClickListener(new [Link]() {
@Override
public void onClick(View v) {
boolean isInserted=[Link]([Link]().toString(),
[Link]().toString(),[Link]().toString(),
[Link]().toString(),[Link]().toString());
if(isInserted == true) {
[Link]([Link], "Data Inserted", Toast.LENGTH_LONG).show();
Intent intent=new Intent([Link],[Link]);
startActivity(intent);
} else
[Link]([Link],"Data not Inserted",Toast.LENGTH_LONG).show();
});
//POST Request
Screenshot-
Firstpage-
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Order Report:
29
Advantages:-
1. Save your Time.
2. Efficient and Reliable Technical Support
3. Easy Customization
4. Available 24 hours
Disadvantages:-
Requires an active internet connection.
Requires an order phone if user is ordering.
Future Enhancement:-
The technology has always depended upon its requirement. At this point
of time and the coming (it would be safe to say) decade, the
demand/requirement of Android if only, is going to [Link]
Mobile User Experience Design.
When you can order the food then it will tally the daily order reports.
Also customer can order the food then some times they can cancel that
food order. When customer can order the food then generate the food
wise bills and it will pay the customer and also manage the foods by
daily insert and update the food system. One is that you can add payment
getaway for online ordering.
30
Conclusion:-
Android is a much more diverse operating system than iOS and
Windows Phone Mobile. Android has grown rapidly over the past 4
years becoming the most used smartphone operating system in the
world. It's because Android doesn't release 1 phone from 1 company
with 1 new OS every year, but countless phones from numerous
companies, adding their own twist, throughout the year, developing
gradually day-by-day. Android's ability to customize is unparalleled
compared to Apple's and Microsoft's software allowing the user to
change and customize nearly every aspect of Android which most
iPhone and Windows 7 users wouldn't dream possible. I am not one to
say that Android is better or worse than one OS, but is unique and
incomparable to other mobile operating systems
Bibliography:-
[Link]
[Link] [Link]
…..Thank You
31