You need to create an employee app that can add employee first name, last name, and mobile number. Name the app as assessment_studentID The app should contain three activities (interfaces). The first...

You need to create an employee app that can add employee first name, last name, and mobile number. Name the app as assessment_studentID

The app should contain three activities (interfaces).


The first activity is shown in Figure 1. It contains a fingerprint as a logo, and two buttons. The first button is named “Add Employee”, while the second is “Check Employee”.



Figure 1. The first page of the employees App.


When users click on the first button “Add Employee”, another window appears, shown in Figure 2.



Figure 2. The second page of add a new employee


The “Add a new Employee” page shows three text fields with one button. The text fields create a new employee with the three attributes. When you fill-in the text fields and press the “Add Employee” button. The employee details are stored in the database. As a result a toast message appear showing that the employee has been added successfully. If not successful for some reason, such as empty fields, then an error message should appear saying the data has not been added.



To do so the following database schemas and tables need to be created:



Database name: organization



Database table: employee



Attributes: firstName, lastName, Mobile. All attributes are “text” types.



Figure 3. The third page of verifying if the employee is available or not


The “Check Employee” page meant to verify the data that you just entered in the previous page. The app should verify whether the employee is available or not. A toast message should appear to inform the user if the employee is available or not. You can use the first name and the last name only to verify the user availability.



Nov 17, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here