ICP9 - Abinash-Banda/web-and-mobile-computing GitHub Wiki

Introduction:

In here I got to know about

  1. Android Layouts
  2. Views
  3. Intents

Software Required:

  1. Android studio

Implementation:

Understand the starter code given for ordering coffee and make a simple mobile application to order a pizza with the following requirements.

a. The main activity should look as below (make suitable changes for the pizza ordering app!).

b. Add two more options for the toppings.

c. Create the 'ORDER' and 'SUMMARY' buttons beside each other.

d. When clicked on the 'SUMMARY' button, the summary should display a new activity in a ListView.

e. When clicked on the 'GO TO ORDER' button, the screen should navigate back to the order screen

f. When clicked on the 'ORDER' button, an option to send an email with the summary of the order should be displayed as follows

Source Code

Main Activity

code 1

code 2

code 3

code 4

code 5

code 6

Order Summary

code 7

OUTPUT

code 8

code 9

code 10

code 11

code12

code 13