Mobile ICP2 - abndnc/CS5590-0003 GitHub Wiki

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 pizza ordering app!).

b.Add two more options for the toppings.

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

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

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

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

Implementation: For the Order button, SubmitOrder function gets all the input information from users to calculate the bill and print out a text template to inform user. Similar to SubmitOrder function, gotoSummary has the same progress and moves to another activity. I think the code could have been optimized(repetitive tasks such as getting user input information), but due to time limit, I could not finish it.