INQ241B
Mobile Apps

Activity 14

Create a Menu App

In this activity you will create an app that displays items from the Commons menu.

Details

Use App Inventor to create an app that allows the user to select and display items on the Commons menu. The app should have the following components:

  1. Two ListPicker components, and a Label component. One list picker's text should be "Monday" and the other list picker's text should be "Breakfast". The label's text should be empty.

  2. A Web component with the default properties.

The app should have blocks that do the following:

  1. Add blocks so that one list picker allows the user to choose the day of the week, Monday through Friday, and the other allows the user to choose a meal, Breakfast, Lunch, or Dinner.

  2. When the user selects an item from a list picker, the list picker's text should change to the item that was selected.

  3. When a user selects an item from either list picker, the app should update the label to display the Commons menu for the currently selected day and meal. Only the first item on the menu needs to be displayed. So for example, if the user picks Thursday and Lunch the label text should be:

    Baked Spaghetti

    Use the following web site to get the menu text:

    https://webapps.roanoke.edu/dailyemail/dining.cfm