Question: Task: Build an Android Application Your task is to build an Android application that satisfies the following requirements: Activities: The app should have two activities:
Task: Build an Android Application
Your task is to build an Android application that satisfies the following requirements:
Activities:
The app should have two activities:
MainActivity: Implements the main functionality of the application.AboutActivity: Displays your full name as per college records and your student ID
Menu:
The AboutActivity should be accessible through a menu in MainActivity.
Back Button:
A back button should appear in the ActionBar of the AboutActivity.The back button should navigate the user back to the MainActivity.This should be configured through the app's settings via manifest or action bar configuration
MainActivity Functionality:
Input:
Read the following input from the user:
Number of hours worked.Hourly rate.
Pay Calculation:
Calculate the pay using the following formula:
If the number of hours is less than or equal to : paynumberofhourshourlyratetextpaytextnumber of hourstimes texthourly ratepaynumberofhourshourlyrateIf the number of hours is greater than : paynumberofhourshourlyratehourlyratetextpaytextnumber of hourstimes texthourly ratetimes times texthourly ratepaynumberofhourshourlyratehourlyrate
Tax Calculation:
Calculate the tax using the formula: taxpaytexttaxtextpaytimes taxpay
Output:
Present the following data to the user:
Pay.Overtime pay.Total pay.Tax.
Marking Scheme:
AboutActivity: points
Menu Implementation: points
MainActivity:
Input Implementation: pointsCalculation: pointsOutput Implementation: points
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
