Question: Instruction: Read each item and code according to the specification. (3 items, 30 Points peritem) Task 1: Time Difference (Estimated Coding time: I day) Create

Instruction: Read each item and code according to
Instruction: Read each item and code according to the specification. (3 items, 30 Points peritem) Task 1: Time Difference (Estimated Coding time: I day) Create a simple android application that will simulate a time calculator that can perform "addition" and "subtraction" to the two (2) time values inputted. Conditions: 3. The starting and ending time will use a 24 hours time format. Ante and Post Meridiem is not induded. b. If the user selected the radiobox Add -> Perform Addition between two (2) time values. c. If the user selected the radiobox Subtraction -> Perform Subtraction between two (2) time values. d. Include at least two (2) or more methods Not including the built-in or overridable methods such as oncreate() or onClick(). e. Include at least one (1) object-oriented programming concept in your code. f. Any use of static keyword is prohibited. g. Any use of Math, Time, and Date related pack ages or classes are prohibited. h. The user can input positive or negative numbers and correct ranges of day ( 1 to 31), hour (1 to 24), minute (1 to 60), and seconds (1 to 60). Display an error message (through toast notification) if invalid characters are found. i . Use Shared Preferences during text changed and click event. If the user accidentally closed the app, the inputted data can still be viewed once the app is executed again. Application Design & Layout: Day Hour Minute Second Abte: You can use any layout manager to 0 structure your design. Legend Control /View Used Add(+) ( Subtraction () Day, Hour, Minute, Second Text View RESULT Day Hour Minute Spoond O 0 0 Edit Text Add ( + ) CALCULATE Subtraction (-) RadioBox 0 hours, 0 RESULT minutes, and 0 Edit Text seconds (and all: enabled='Talz='7 0 days 0 hours 0 minutes 0 seconds CALCULATE Button

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 Mathematics Questions!