Lab AssignmentsWorth 60 points eachPlease download this document to complete and submit: CIS432 Lab 1, Sailing Adventures App To review screen shot signature requirements for this lab click hereAny 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
None

3
Lab 1: Sailing Adventures App

4
None

5
Lab 2: Bike and Barge App

6
None

7
Lab 3: Northern Lights Animation App

8
None

9
Lab 4: Electric Car Financing App

10
Lab 5: Publishing Your Android App

Each lab assignment will be graded based on the following:
The program must compile, execute, produce correct results, and meet all of the specifications in the weekly lab.
Additionally you must:
Organize the code for user readability.
Organize the code for reusability.
Provide documentation with embedded comments for reader understanding.
Organize the code for efficiency.
cis432_lab1_sailingadventuresapp.doc

new_doc_2019_01_16_22.07.02.pdf

Unformatted Attachment Preview

CIS 432 – Mobile Programming II Labs
Lab 1: Sailing Adventures App
Due Week 3 and worth 60 points
Note: Completion time may vary, but this lab will take approximately 3.5 hours to complete.
In order to complete this and future labs, Java JDK8, the Android IDE and Android SDK need to be
installed on your computer. If Eclipse IDE and Android SDK are not installed on your computer, the
installation directions are located in the Android Boot Camp for Developers Using Java textbook in the
prelude titled, “Prelude! Installing the Android SDK with Eclipse.”

PC Users: Follow the instructions from pages xxi to xxviii.
• Mac Users: Follow the instructions from pages xxix to xl.
Note: Confirm that your hard drive has at least 500 MB of available space, and that the latest free Java
updates for your computer has been installed.
In this lab, you will create the “Sailing Adventures” application. You must understand how to perform the
following processes, among others:
1. Add an Android Virtual Device specifically designed for tablets.
2. Add the images used in this project.
3. Change the theme and icon for the tablet display.
4. Create a custom XML file with a Table layout.
5. Add and initialize the TextView controls and the Button control.
6. Initialize a DatePickerDialog with the present date and listen for the user to select a date.
7. Return the selected date.
8. Display the selected reservation date in the TextView control.
The directions for the Sailing Adventures App are located in Chapter 8 of the Android Boot Camp for
Developers Using Java on pages 300 to 329.
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 432 Lab 1: Sailing Adventures App / 1176 (5-26-2017)
Page 1 of 11
CIS 432 – Mobile Programming II Labs
Lab Steps:
Adding an Android Virtual Device for the Tablet
1. Read the introductory information on pages 300 to 304. Next, see STEP 1 and Figure 8-5: Create
New Project dialog box on pages 304 and 305.

2. See STEP 2 and Figure 8-6: activity_main.xml is displayed as a tablet layout on pages 305 and
306.

© 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 432 Lab 1: Sailing Adventures App / 1176 (5-26-2017)
Page 2 of 11
CIS 432 – Mobile Programming II Labs
Creating a Tablet App
3. See STEP 1 and Figure 8-7: Adding a tablet emulator on pages 306 and 307.

4. See STEP 2 and Figure 8-8: Adding a tablet emulator on page 307.

© 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 432 Lab 1: Sailing Adventures App / 1176 (5-26-2017)
Page 3 of 11
CIS 432 – Mobile Programming II Labs
5. See STEP 3 and Figure 8-9: Android Virtual Device settings on page 308. Then see STEP 4 on
page 308.

6. Read the information under “Creating the String Table,” Next, see STEP 1 and Figure 8-10:
Strings added for the Sailing Adventures app on pages 309 and 310.

7. See STEP 2 and Figure 8-11: sail.png added to drawable folder on page 310.

© 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 432 Lab 1: Sailing Adventures App / 1176 (5-26-2017)
Page 4 of 11
CIS 432 – Mobile Programming II Labs
8. Read the information under “Designing a Tablet Table Layout” on pages 311 and 312. Next, see
STEP 1 and Figure 8-12 LinearLayout (Horizontal) in the emulator on page 312.

9. See STEP 2 and Figure 8-13: LinearLayout in Text XML code on page 313.

10. See STEP 1 and Figure 8-14: ImageView on pages 313 and 314.

© 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 432 Lab 1: Sailing Adventures App / 1176 (5-26-2017)
Page 5 of 11
CIS 432 – Mobile Programming II Labs
11. See STEP 2 and Figure 8-15: TableLayout XML code for first two TableRows on pages 314 and
315.

12. See STEP 3 and Figure 8-16: TableLayout XML code for last two TableRows and Figure 8-17:
activity_main.xml Tablet layout on pages 315 to 317. Next, read the information under “Date,
Time, and Clocks” and view Figure 8-18: TimePicker, DatePicker, CalendarView, Chronometer,
and AnalogClock widgets on pages 317 to 319.

© 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 432 Lab 1: Sailing Adventures App / 1176 (5-26-2017)
Page 6 of 11
CIS 432 – Mobile Programming II Labs
Instantiating the Objects
13. Read the introductory information on page 319. Next, see STEP 1 and Figure 8-19: Date class
variable on pages 319 and 320.

14. See STEP 2 and Figure 8-20: Class variables for Button and TextView controls on pages 320 and
321.

© 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 432 Lab 1: Sailing Adventures App / 1176 (5-26-2017)
Page 7 of 11
CIS 432 – Mobile Programming II Labs
15. See STEP 3 and Figure 8-21: OnClickListener ( )method for the button on pages 321 and 322.

Using the Calendar Class
16. Read the introductory information on pages 322 to 324. Next, see STEP 1 and Figure 8-22:
Instance of Calendar class on page 324.

17. See STEP 2 and Figure 8-23: Format set with DateFormat on pages 324 and 325.

© 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 432 Lab 1: Sailing Adventures App / 1176 (5-26-2017)
Page 8 of 11
CIS 432 – Mobile Programming II Labs
18. See STEP 3 and Figure 8-24: DatePickerDialog launched within the onClick method on page
325.

19. Read the information under “Selecting the Date from the DatePickerDialog” and “Adding the
onDateSet( ) Method” on pages 325 and 326. Next, see STEP 1 and Figure 8-25:
OnDateSetListener awaits the user to select reservation date on pages 326 and 327.

© 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 432 Lab 1: Sailing Adventures App / 1176 (5-26-2017)
Page 9 of 11
CIS 432 – Mobile Programming II Labs
20. See STEP 2 and Figure 8-26: Setting the desired date for the sailing reservation on page 327.

21. Read the information under “Displaying the Date Using the getTime( ) Method on pages 327 and
328. Next, see STEP 1and Figure 8-27: Complete Code on page 328.

© 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 432 Lab 1: Sailing Adventures App / 1176 (5-26-2017)
Page 10 of 11
CIS 432 – Mobile Programming II Labs
Running and Testing the Application
22. Follow the directions under “Running and Testing the Application” on page 329.

© 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 432 Lab 1: Sailing Adventures App / 1176 (5-26-2017)
Page 11 of 11
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