[Solved] ITCS5180 Homework 4- calculation IC4 1 solved

$25

File Name: ITCS5180_Homework_4__calculation_IC4_1_solved.zip
File Size: 423.9 KB

SKU: [Solved] ITCS5180 Homework 4- calculation IC4 1 solved Category: Tag:
5/5 - (1 vote)

This is a short review of the previous weeks tasks. We will do two simple tasks, adding, and subtracting.

Main Activity
Calculating Activity
Calculating Activity
(a) Main activity (b) Adding (c) Subtracting
Figure 1, Screens

Please complete the following:

  1. There will be two activities, (i) Main activity, and (ii) Calculation activity.
  2. Main Activity:
    • Will have two Buttons: Add and Subtract.
    • One TextView with a fixed String, Result. 2.3. Another TextView to display the result.
  3. Calculation activity:
    • One TextView displaying the operation it is doing.
    • Will have two EditTexts to take Double inputs.
    • One Button to calculate the result and get back to the main activity.
  4. Tasks:
    • On Add Button clicked:
      • Go to Calculation activity, and set the text of operation TextView to Adding.
      • Take two inputs (Doubles).
      • On Calculate clicked get back to the Main activity with the result and set the result to TextView for result.
    • On Subtract Button clicked:
      • Go to Calculation activity, and set the text of operation TextView to Subtracting.
      • Take two inputs (Doubles).
      • On Calculate clicked get back to the Main activity with the result and set the result to TextView for result.

__________________________________________________________

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] ITCS5180 Homework 4- calculation IC4 1 solved[Solved] ITCS5180 Homework 4- calculation IC4 1 solved
$25