Answered step by step
Verified Expert Solution
Question
1 Approved Answer
In this exercise, you will write an Android application that allows a customer to reserve / book a cruise. Your application could be used by
In this exercise, you will write an Android application that allows a customer to reserve / book a cruise. Your application could be used by customer to maintain the customer and cruise details. Use Room persistence library and MVVM pattern (as shown in class examples) to create and manipulate the application's database. Create the following entities: Passengers passengerid userName password firstname lastname address city postalCode country Cruise cruiseld cruiseName startDate endDate destination places price Booking reservationid customeria cruiseld totalGuests status Your application should contain the following activities: The main activity that handles the navigation. [4 marks] The login activity will allow the customer to login or register for new customers using a link. Use email as user name with password. [4 marks] The registration activity will allow the customer to enter customer information and this information will be stored in the customer table. [4 marks] The update info activity will allow the customer to cruise information. [4 marks) The cruise activity will show all the cruise information which will be retrieved from the cruise table and will allow a customer to choose a cruise. This information should be stored in the reservation table. status value is booked) [4 marks] The update cruise activity will allow the customer to view booked information for a given customer, and allow canceling the reservation one week before the cruise start date (date validation needed). If reservation cancelled, the status should be stored as "cancelled". [6 marks] Use Shared Preferences to store custid after successful login. Provide a friendly and easy to navigate UI. Use images and image buttons. [4 marks] In this exercise, you will write an Android application that allows a customer to reserve / book a cruise. Your application could be used by customer to maintain the customer and cruise details. Use Room persistence library and MVVM pattern (as shown in class examples) to create and manipulate the application's database. Create the following entities: Passengers passengerid userName password firstname lastname address city postalCode country Cruise cruiseld cruiseName startDate endDate destination places price Booking reservationid customeria cruiseld totalGuests status Your application should contain the following activities: The main activity that handles the navigation. [4 marks] The login activity will allow the customer to login or register for new customers using a link. Use email as user name with password. [4 marks] The registration activity will allow the customer to enter customer information and this information will be stored in the customer table. [4 marks] The update info activity will allow the customer to cruise information. [4 marks) The cruise activity will show all the cruise information which will be retrieved from the cruise table and will allow a customer to choose a cruise. This information should be stored in the reservation table. status value is booked) [4 marks] The update cruise activity will allow the customer to view booked information for a given customer, and allow canceling the reservation one week before the cruise start date (date validation needed). If reservation cancelled, the status should be stored as "cancelled". [6 marks] Use Shared Preferences to store custid after successful login. Provide a friendly and easy to navigate UI. Use images and image buttons. [4 marks]
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started