restaurant billing application

54
Restaurant Billing Application Present by Ch.samaram v.Mahesh babu k.Naresh kumar

Upload: sam-samaram

Post on 28-Jan-2015

111 views

Category:

Documents


0 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Restaurant billing application

Restaurant Billing Application

Present by Ch.samaram

v.Mahesh babuk.Naresh kumar

Page 2: Restaurant billing application

ABSTRACT

• Modern hand held devices such as smart phones and PDAs have become increasingly powerful in recent years. Dramatic breakthroughs in processing power along with the number of extra features included in these devices have opened the doors to a wide range of commercial possibilities.

• In particular, most cell phones regularly include cameras, processors comparable to PCs from only a few years ago, and internet access. However, even with all these added abilities, there are few applications that allow much passing of the environmental information and location based services.

Page 3: Restaurant billing application

• As mobile devices become more like PCs they will come to replace objects we tend to carry around such as checkbooks, credit cards, cameras, planners, mp3 players, etc. In short, we will be using them to accomplish our daily tasks. One application that falls into this category is the Restaurant Billing Application developed for the Google Android Phones.

• • The prime objective of “Restaurant Billing Application” is to create a

full fledged Android application which could locate a list of restaurants based on the location & type of the cuisine entered by the user. The user not only finds all the restaurants in the city, but also he can make a choice of the best restaurant based on the rating & cuisine he chooses to have. The user can also map the location of the restaurant on Google Maps rendered to the user on the phone & find the path from his current location or from any other location to the restaurant, the user has the facility to make a call directly to the restaurant and can also obtain the detailed review of the restaurant he chooses.

Page 4: Restaurant billing application

• The Project is developed in Java Programming Language by using the Eclipse Ganymede Integrated Development Environment (IDE). We use the Android Software Development Kit (SDK) which includes a variety of custom tools that help us develop mobile applications on the Android platform. The most important of these are the Android Emulator and the Android Development Tools (ADT) plug-in for Eclipse.

Page 5: Restaurant billing application

INTRODUCTION

• Modern hand held devices such as smart phones and PDAs have become increasingly powerful in recent years. Dramatic breakthroughs in processing power along with the number of extra features included in these devices have opened the doors to a wide range of commercial possibilities. In particular, most cell phones regularly include cameras, processors comparable to PCs from only a few years ago, and internet access. However, even with all these added abilities, there are few applications that allow much passing of the environmental information and location based services.

Page 6: Restaurant billing application

• As mobile devices become more like PCs they will come to replace objects we tend to carry around such as checkbooks, credit cards, cameras, planners, mp3 players, etc. In short, we will be using them to accomplish our daily tasks.

• One application that falls into this category is the Restaurant Billing Application developed for the Google Android Phones.

Page 7: Restaurant billing application

• The prime objective of “Restaurant Billing Application” is to create a full fledged Android application which could locate a list of restaurants based on the location & type of the cuisine entered by the user. The user not only finds all the restaurants in the city, but also he can make a choice of the best restaurant based on the rating & cuisine he chooses to have

Page 8: Restaurant billing application

• The Project is developed in Java Programming Language by using the Eclipse Ganymede Integrated Development Environment (IDE). We use the Android Software Development Kit (SDK) which includes a variety of custom tools that help us develop mobile applications on the Android platform. The most important of these are the Android Emulator and the Android Development Tools (ADT) plug-in for Eclipse.

Page 9: Restaurant billing application

Modules:

• Admin• User

• Admin: This module can take cares all the operations such as

manage the menu of items in the restaurant. View the orders and manages the employees and also manage the financial transactions that can be involve in the restaurant maintenance. Maintain the quantity details of the items.

• Some of the operations can be included as future scope of the project that can be maintain in the transactions those ca be entitled in the transactions.

Page 10: Restaurant billing application

• User: User can responsible to check the menu

item .In the menu item they can choose items those items can be ordered. So that ordering of an item can be finished so that they can maintain the complete order information at their own end.

Page 11: Restaurant billing application

• Restaurant Billing application will fetch the user friendliness to make their transactions. It consumes their resources also i.e. effective utilization of time by both restaurant maintainer and also user who will avail this facility.

Page 12: Restaurant billing application

FEASIBILITY STUDY

• All projects are feasible if they have unlimited resources and infinite time. But the development of software is plagued by the scarcity of resources and difficult delivery rates. It is necessary and prudent to evaluate the feasibility of a project at the earliest possible time. The three considerations are involved in the feasibility analysis.

Page 13: Restaurant billing application

• Economic Feasibility :• This procedure is to determine the benefits and

savings that are expected from a candidate system and compare with cost. If benefits outweigh cost then the decision is made to design and implement the system.

• Otherwise further justification or alterations in proposed systems that have to be made if it is having a change of being approved. This is an ongoing effort that improves any feasibility costs spent on this project because here I am using open source environments.

Page 14: Restaurant billing application

• Technical Feasibility :• Technical feasibility centers on the existing

mobile system (hardware, software…etc) and to what extent it can support the proposed addition if the budget is a serious constraint, then the project is judged not feasible. The technical feasibilities are important role in my project because here I am using android operating system.

Page 15: Restaurant billing application

• Operational Feasibility :• People are inherently resistant to change and

mobiles have been known to facilitate change. In my project a technical people require to configure the software and technical background is necessary to work on the sensors.

Page 16: Restaurant billing application

Intent Developers :Operators

Software Companies

Commercialization Companies

Semiconductor Companies

Handset Manufacturers

KDDI Corporation

NTT DOCOMO

Sprint Nextel

T-Mobile

Telecom Italia

Telefonica

Ascender Corporation

eBay

Esmertec

Google

LivingImage

NMS Communications

Nuance Communications

PacketVideo

SkyPop

SONIVOX

Aplix

Noser Engineering

The Astonishing Tribe

Systems

Audience

Broadcom Corporation

Intel Corporation

Marvell Technology Group

NVIDIA Corporation

Qualcomm

SIRF Technology Holdings

Synaptics

Instruments

HTC

LG

Motorola

Samsung Electronics

Page 17: Restaurant billing application

SYSTEM REQUIREMENT SPECIFICATION

• Functional Requirements • Android APIs will be available on every Android

Phone, but there are a few APIs which have special concerns: the “optional” APIs.

• These are “optional” in the sense that a given handset may not support them fully or even at all. For instance, a given handset may not have GPS or Wi-Fi hardware. In this case, the APIs for accessing these features will still be present, but they may not work in the same way.

Page 18: Restaurant billing application

• For instance, the Location API will still exist on devices without GPS, but there may simply be no installed provider meaning that the API can’t be usefully used.

Page 19: Restaurant billing application

Hardware Requirements :

• Minimum 80 GB Hard Disk Drive• Android Phone (optional)• P – IV with 2 GHz• 1 GB RAM

Page 20: Restaurant billing application

Software Requirements :

• Operating System : Android, Windows XP, LINUX

• Software : JAVA 1.5, Mobile IDE Plugins

• Development Tools : Android SDK, Eclipse 3.4 GANYMADE

• Database : SQLite• Protocols : HTTP Protoocl• Front-end : HTML

Page 21: Restaurant billing application

Nonfunctional Requirements :

• Safety Requirements :• Never use an unapproved battery since this could damage

the phone and/or battery and could cause the battery to explode.

• Do not dispose your battery by fire or with hazardous or flammable materials.

• Make sure that no sharp edged items such as animal’s teeth, nails come into contact with the battery. There is a risk of this causing a fire.

• Do not use your phone in high explosive areas as the phone may generate sparks.

Page 22: Restaurant billing application

Security Requirements :

• Android is a multi-process system, where each application (and parts of the system) runs in its own process.

• Most security between applications and the system is enforced at the process level through standard Linux facilities, such as user and group IDs that are assigned to applications.

• Additional finer-grained security features are provided through a “permission” mechanism that enforces restrictions on the specific operations that a particular process can perform, and per-URI permissions for granting ad-hoc access to specific pieces of data.

Page 23: Restaurant billing application

• A central design point of the Android security architecture is that no application, by default, has permission to perform any operations that would adversely impact other applications, the operating system, or the user.

• This includes reading and writing the user’s private data (such as contacts or e-mails), reading or writing another application’s files, performing network access, keeping the device awake, etc.

Page 24: Restaurant billing application

PROJECT ANALYSIS• Work Flow :• Mobile :• This is an Android based mobile device working on Linux operating

system. Applications in this mobile run on Dalvik Virtual Machine. Applications are written using JAVA programming language. Applications are developed using Android SDK.

• Adapter :• An Adapter object acts as a bridge between an Adapter View

and the underlying data for that view. The adapter provides access to the data items. The Adapter is also responsible for making a View for each item in the data set. An Adapter View is a view whose children are determined by an Adapter.

Page 25: Restaurant billing application

Connectivity Technologies :

• Android supports connectivity technologies including GSM/EDGE, CDMA, EV-DO, UMTS, Bluetooth, Wi-Fi and GPRS (General Packet Radio Service). These connectivity technologies are used depending upon the locations.

Page 26: Restaurant billing application

Use case Diagrams

ClientServer

City,state

Dish type

History

Details of restaurent

About

Page 27: Restaurant billing application

CLASS DIAGRAM:Details

com.mis.Assignment.RestaurantDetailscom.mis.Assignment.RestaurantDetails.onCreate(Bundle)

Restaurant activity

ref : String[]onCreateOptionsMenu(Menu)onCreate(Bundle)onListItemClick(ListView, View, int, long)onOptionsItemSelected(MenuItem)es()

Finder Activity

ref : String[]onCreateOptionsMenu(Menu)onCreate(Bundle)onClick(View)getReview()getRestaurantList(String, String)onOptionsItemSelected(MenuItem)

Goople maps viewer

ref : String[]onCreateOptionsMenu(Menu)onCreate(Bundle)onClick(View)getReview()getRestaurantList(String, String)onOptionsItemSelected(MenuItem)

Page 28: Restaurant billing application

Sequence Diagram :

Page 29: Restaurant billing application

CODE IMPLEMENTATION

• Android :• The Android platform is a software stack for

mobile devices including an operating system, middleware and key applications. Developers can create applications for the platform using the Android SDK. Applications are written using the Java programming language and run on Dalvik, a custom virtual machine designed for embedded use, which runs on top of a Linux kernel

Page 30: Restaurant billing application

• Android Architecture• The following diagram shows the major

components of the Android operating system. Each section is described in more detail below

Page 31: Restaurant billing application

• Applications • Android will ship with a set of core applications

including an email client, SMS program, calendar, maps, browser, contacts, and others. All applications are written using the Java programming language.

Page 32: Restaurant billing application

SCREENSAndroid Emulator :

Page 33: Restaurant billing application

Android Emulator Home Screen :

Page 34: Restaurant billing application

Android Translate Icon in Home Screen :

Page 35: Restaurant billing application

Snapshot of outputs:

Page 36: Restaurant billing application

Selecting dish

Page 37: Restaurant billing application
Page 38: Restaurant billing application
Page 39: Restaurant billing application
Page 40: Restaurant billing application
Page 41: Restaurant billing application
Page 42: Restaurant billing application
Page 43: Restaurant billing application
Page 44: Restaurant billing application
Page 45: Restaurant billing application
Page 46: Restaurant billing application
Page 47: Restaurant billing application

TESTING• Testing is the process of executing a program with the intent of finding

errors.

• Testing Objectives• The main objective of testing is to uncover a host of errors, systematically

and with minimum effort and time. Stating formally, we can say,• Testing is a process of executing a program with the intent of finding an

error.• A successful test is one that uncovers an as yet discovered error.• A good test case is one that has a high probability of finding error, if it

exists.• The tests are inadequate to detect possibly present errors.• The software more or les confirms to the quality and reliable standards.

Page 48: Restaurant billing application

Software Testing

• It is the process of testing the functionality and correctness of a software by running it.

• A good test case is the one that has a high probability of finding an as yet undiscovered error. A successful test is one that uncovers an as yet undiscovered error. Software testing is usually performed for one of the two reasons.

• • Defect detection.• Reliability estimation.

Page 49: Restaurant billing application

Black Box Testing

• Black Box Testing is not a type of testing; it instead is a testing strategy, which does not need any knowledge of internal design or code etc. As the name "black box" suggests, no knowledge of internal logic or code structure is required. The types of testing under this strategy are totally based/focused on the testing for requirements and functionality of the work product/software application. Black box testing is sometimes also called as "Opaque Testing", "Functional/Behavioral Testing" and "Closed Box Testing".

Page 50: Restaurant billing application

• The base of the Black box testing strategy lies in the selection of appropriate data as per functionality and testing it against the functional specifications in order to check for normal and abnormal behavior of the system. Now a days, it is becoming common to route the Testing work to a third party as the developer of the system knows too much of the internal logic and coding of the system, which makes it unfit to test the application by the developer. In order to implement Black Box Testing Strategy, the tester is needed to be thorough with the requirement specifications of the system and as a user, should know, how the system should behave in response to the particular action.

Page 51: Restaurant billing application

White Box Testing• White box testing is a security testing method that can be used to

validate whether code implementation follows intended design, to validate implemented security functionality, and to uncover exploitable vulnerabilities White box testing is performed based on the knowledge of how the system is implemented.

• White box testing includes analyzing data flow, control flow, information flow, coding practices, and exception and error handling within the system, to test the intended and unintended software behavior. White box testing can be performed to validate whether code implementation follows intended design, to validate implemented security functionality, and to uncover exploitable vulnerabilities.

Page 52: Restaurant billing application

• White box testing requires access to the source code. Though white box testing can be performed any time in the life cycle after the code is developed, it is a good practice to perform white box testing during the unit testing phase

Page 53: Restaurant billing application

• Levels of Testing• In order to uncover the errors present in different phases we

have the concept of levels of testing. The basic levels of testing are

• Client needs Acceptance Testing

• Requirements System Testing

• Design Integration Testing

• Code Unit Testing

Page 54: Restaurant billing application

CONCLUSION