Need Help Original Work Only

User Generated

oerrml901

Programming

Description

Lab Assignments

Worth 50 points apiece

Please download this document to complete and submit: CIS431_Lab5_MedicalCalculator.docx


Complete the labs based on the following:

  • Complete all of the steps in the lab document.
  • Submit the completed document in the online course shell
  • Each image in the document must contain the validation signature as described here .
  • Any and all written answers must be entered into the online course shell with the submission of the attached lab assignment.

Weekly Lab Breakdown

Week Due

Graded Lab Exercises

1

None

2

Hello World

3

None

4

Healthy Recipe App Part 1

5

Healthy Recipe App Part 2

6

Concert Ticket App

7

Medical Calculator

8

Chicago City Guide

9

Easton Music App

10

None

Each lab assignment will be graded based on the following:

  1. The program must compile, execute, produce correct results, and meet all of the specifications in the weekly lab.

Additionally you must:

  1. Organize the code for user readability.
  2. Organize the code for reusability.
  3. Provide documentation with embedded comments for reader understanding.
  4. Organize the code for efficiency.

Unformatted Attachment Preview

CIS 431 – Mobile Programming I Labs Lab 5: Medical Calculator Due Week 7 and worth 50 points Note: Completion time may vary, but this lab will take approximately seven (7) hours to complete. In this lab, you will create the Medical Calculator application. You must understand how to perform the following processes: 1. Create a customized launcher icon. 2. Add the icon using code to display in the ActionBar 3. Define a TextField for the data entry of the weight of the patient. 4. Define a RadioGroup to select pounds to kilograms or kilograms to pounds. 5. Display a Toast message for data validation. 6. Convert data so it can be used for arithmetic operations. 7. Perform arithmetic operations on data the user enters. 8. Display formatted results. The directions for the Medical Calculator project are located in Chapter 4 of the Android Boot Camp for Developers Using Java textbook on pages 132 to 164. Instructions • Capture a screenshot as you complete each one of the lab steps and paste it in the designated spot below each step. Be sure the screen shot is signed according to the requirements document. • If there is a question in a step, your response should be included directly under the screenshot of that step. • Submit the lab worksheet as an attachment in the online course shell. © 2017 Strayer University. All Rights Reserved. This document contains Strayer University Confidential and Proprietary information and may not be copied, further distributed, or otherwise disclosed in whole or in part, without the expressed written permission of Strayer University. CIS 431 Lab 5: Medical Calculator (03-01-17) Page 1 of 13 CIS 431 – Mobile Programming I Labs Lab Steps: Using the Launcher Icon 1. Read the introductory information and view Figure 4-1: Opening screen of the Medical Calculator, Figure 4-2: Results screen of the Medical Calculator, Figure 4-3: Android home screen and launcher icons, and Figure 4-4: Launcher icon for the Medical Calculator app on pages 130 to 133. Next, see STEP 1 and Figure 4-5: New Android Application named Medical Calculator on pages 134 and 135. 2. See STEP 2 and Figure 4-6: New menu on page 135. © 2017 Strayer University. All Rights Reserved. This document contains Strayer University Confidential and Proprietary information and may not be copied, further distributed, or otherwise disclosed in whole or in part, without the expressed written permission of Strayer University. CIS 431 Lab 5: Medical Calculator (03-01-17) Page 2 of 13 CIS 431 – Mobile Programming I Labs 3. See STEP 3 and Figure 4-7: Default launcher icons on pages 136. 4. See STEP 4 and Figure 4-8: Custom launcher icons on pages 136 and 137. © 2017 Strayer University. All Rights Reserved. This document contains Strayer University Confidential and Proprietary information and may not be copied, further distributed, or otherwise disclosed in whole or in part, without the expressed written permission of Strayer University. CIS 431 Lab 5: Medical Calculator (03-01-17) Page 3 of 13 CIS 431 – Mobile Programming I Labs 5. See STEP 5 and Figure 4-9: Custom icons displayed in res/mipmap folders on pages 137 and 138. 6. See STEP 6 and Figure 4-10: Selecting a theme for the application on pages 138 and 139. © 2017 Strayer University. All Rights Reserved. This document contains Strayer University Confidential and Proprietary information and may not be copied, further distributed, or otherwise disclosed in whole or in part, without the expressed written permission of Strayer University. CIS 431 Lab 5: Medical Calculator (03-01-17) Page 4 of 13 CIS 431 – Mobile Programming I Labs 7. See STEP 7 and Figure 4-11: styles.xml with updated theme on page 139 8. See STEP 8 and Figure 4-12: Action bar displays icon launcher in activity_main.xml on page 140. Displaying the Action Bar Icon using Code 9. See Step 1 and Figure 4-13: Code to display log in finished app on pages 140 and 141 © 2017 Strayer University. All Rights Reserved. This document contains Strayer University Confidential and Proprietary information and may not be copied, further distributed, or otherwise disclosed in whole or in part, without the expressed written permission of Strayer University. CIS 431 Lab 5: Medical Calculator (03-01-17) Page 5 of 13 CIS 431 – Mobile Programming I Labs String Table 10. Read the introductory information; see STEP 1 and Figure 4-14: Translations Editor with new strings on pages 141 to 142. RadioButton and RadioGroup Controls 11. Read the introductory information and view Figure 4-15: Color tab in the Resources dialog box and Figure 4-16: Gravity tool options on pages 142 to 145. Next, see STEP 1 and Figure 4-17: Plain TextView control and layout:margin property on pages 145 and 146. © 2017 Strayer University. All Rights Reserved. This document contains Strayer University Confidential and Proprietary information and may not be copied, further distributed, or otherwise disclosed in whole or in part, without the expressed written permission of Strayer University. CIS 431 Lab 5: Medical Calculator (03-01-17) Page 6 of 13 CIS 431 – Mobile Programming I Labs 12. See STEP 2 and Figure 4-18: Number Text Field control on pages 146 and 147. 13. See STEP 3 and Figure 4-19: RadioGroup control with two RadioButton controls on pages 147 and 148. Completing the User Interface 14. Read the introductory information; see STEP 1 and Figure 4-20: Button control on page 148. © 2017 Strayer University. All Rights Reserved. This document contains Strayer University Confidential and Proprietary information and may not be copied, further distributed, or otherwise disclosed in whole or in part, without the expressed written permission of Strayer University. CIS 431 Lab 5: Medical Calculator (03-01-17) Page 7 of 13 CIS 431 – Mobile Programming I Labs 15. See STEP 2 and Figure 4-21: Plain Textview control to display the results on page 149. 16. Read the introductory information under “Coding a RadioButton Control” and see STEP 1 and Figure 4-22: Variables declared on pages 149 and 150. 17. See STEP 2 and Figure 4-23: EditText and RadioButtons referenced on pages 150 to 151. © 2017 Strayer University. All Rights Reserved. This document contains Strayer University Confidential and Proprietary information and may not be copied, further distributed, or otherwise disclosed in whole or in part, without the expressed written permission of Strayer University. CIS 431 Lab 5: Medical Calculator (03-01-17) Page 8 of 13 CIS 431 – Mobile Programming I Labs 18. Read the introductory information under “Coding the Button Control” and see STEP 1 and Figure 4-24: TextView control referenced on pages 151 and 15. 19. See STEP 2 and Figure 4-25: OnClickListener for the Button control on pages 152 and 153. © 2017 Strayer University. All Rights Reserved. This document contains Strayer University Confidential and Proprietary information and may not be copied, further distributed, or otherwise disclosed in whole or in part, without the expressed written permission of Strayer University. CIS 431 Lab 5: Medical Calculator (03-01-17) Page 9 of 13 CIS 431 – Mobile Programming I Labs Making Decisions with Conditional Stat3ments 20. Read the information on pages 153 to 159. Next, see STEP 1 and Figure 4-26: Weight converted to a double data type on page 159. 21. See STEP 2 and Figure 4-27: DecimalFormat—Rounding to one decimal place on pages 159 and 160. © 2017 Strayer University. All Rights Reserved. This document contains Strayer University Confidential and Proprietary information and may not be copied, further distributed, or otherwise disclosed in whole or in part, without the expressed written permission of Strayer University. CIS 431 Lab 5: Medical Calculator (03-01-17) Page 10 of 13 CIS 431 – Mobile Programming I Labs 22. Read the information under “Coding the Nested If Statements” and see STEP 1 and Figure 4-28: If statement to test if the first radio button is checked on page 160. 23. See STEP 2 and Figure 4-29: Nested If Else Statement on page 161. © 2017 Strayer University. All Rights Reserved. This document contains Strayer University Confidential and Proprietary information and may not be copied, further distributed, or otherwise disclosed in whole or in part, without the expressed written permission of Strayer University. CIS 431 Lab 5: Medical Calculator (03-01-17) Page 11 of 13 CIS 431 – Mobile Programming I Labs 24. See STEP 3 and Figure 4-30: Equation for weight conversion and displayed results on pages 161 and 162. 25. See STEP 4 and Figure 4-31: Toast message on page 162. © 2017 Strayer University. All Rights Reserved. This document contains Strayer University Confidential and Proprietary information and may not be copied, further distributed, or otherwise disclosed in whole or in part, without the expressed written permission of Strayer University. CIS 431 Lab 5: Medical Calculator (03-01-17) Page 12 of 13 CIS 431 – Mobile Programming I Labs 26. See STEP 5 and Figure 4-32: Completed code on page 163. 27. Read the information under “Running and Testing the App” and see STEP 1 on page 164 and Figure 4-1: Opening screen of the Medical Calculator and Figure 4-2: Results screen of the Medical Calculator on page 131. . © 2017 Strayer University. All Rights Reserved. This document contains Strayer University Confidential and Proprietary information and may not be copied, further distributed, or otherwise disclosed in whole or in part, without the expressed written permission of Strayer University. CIS 431 Lab 5: Medical Calculator (03-01-17) Page 13 of 13 Scanned by CamScanner Scanned by CamScanner Scanned by CamScanner Scanned by CamScanner Scanned by CamScanner Scanned by CamScanner Scanned by CamScanner Scanned by CamScanner Scanned by CamScanner Scanned by CamScanner Scanned by CamScanner Scanned by CamScanner Scanned by CamScanner Scanned by CamScanner Scanned by CamScanner Scanned by CamScanner Scanned by CamScanner Scanned by CamScanner Scanned by CamScanner Scanned by CamScanner Scanned by CamScanner Scanned by CamScanner Scanned by CamScanner Scanned by CamScanner Scanned by CamScanner Scanned by CamScanner Scanned by CamScanner Scanned by CamScanner Scanned by CamScanner Scanned by CamScanner Scanned by CamScanner Scanned by CamScanner Scanned by CamScanner
Purchase answer to see full attachment
User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

Explanation & Answer

Hey buddy, i have fin...


Anonymous
I use Studypool every time I need help studying, and it never disappoints.

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4

Related Tags