Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This is using Android Studio - Java Case Project: Reserve a Restaurant App Application title: Reserve a Restaurant App Purpose: A restaurant reservation app provides

This is using Android Studio - Java Case Project: Reserve a Restaurant App

Application title: Reserve a Restaurant App

Purpose: A restaurant reservation app provides a listing of at least 5 restaurants. By selecting a restaurant, users get info about the restaurant.

Algorithm: 1. An opening screen displays a welcome message (such as Welcome to Restaurant App!) and a button for users to go to the next screen.

2. The second screen displays a listing of restaurants.

3. Some restaurants can be selected to view a Web site.

4. The others are local/small restaurants that do not have a Web site. When the user selects this type of restaurants, a third screen displays the name, street address, and city of the restaurant. In addition, and a Phone button is included in the screen.

5. After the Phone is touched, a popup message is displayed to show the restaurants phone number. If the restaurant does not have a phone number, you display the message: No phone number!.

Conditions: 1. Create a Restaurant class including the Id, Name, City, Address, URL, and Phone Number properties. An array of Restaurant objects must be created by your Android activity and used by your Android adopter to show information of the restaurants.

2. In the second page, create a custom layout for the list items.

3. Each list item displays the name and city of a restaurant in the list view.

4. If the phone number of the selected restaurant is not available (empty in the corresponding Restaurant object), you display a popup message saying that the restaurant phone number is not available.

5. Each list item include an image (same for all of the restaurants). You go to find/use your own image.

6. Create/use a single activity class & its layout for all the restaurants without a Web site.

7. Include at least three restaurants without a Web site.

8. Include at least one restaurant without a phone number (the Phone Number property value is null or empty).

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Time Series Databases New Ways To Store And Access Data

Authors: Ted Dunning, Ellen Friedman

1st Edition

1491914726, 978-1491914724

More Books

Students also viewed these Databases questions