Question: Persistent Data Part 2 7 . 1 . Exercises - chapter 5 B Create a project called MealRater a ) The activity layout should contain

Persistent Data Part 2
7.1. Exercises - chapter 5B
Create a project called MealRater
a) The activity layout should contain two EditTexts, one button, and four TextViews
b) One edit text will allow entering the name of the dish and the other the name of the restaurant.
c) The button will open a dialog that will allow the user to rate the meal on a 1 to 5 scale and then display that rating in a TextView.
d) Include a Save button. The button should save the restaurant name, meal and rating to a database and a database table. Create a DBMealRaterHelper class to create the database and a MealRaterDataSource class to provide the SQL insert statement for the data.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!