Lab 3
This assignment relates to the following Course Learning Requirements:
• CLR 1: Write a graphical user interface-based program, given design documents. Techniques used will be object-oriented programming, structured programming, top-down coding, and event-driven coding.
• CLR 2: Produce tested code that executes correctly and consistently. Testing procedure will involve the use of iterative testing of GUI program components, valid data only, invalid data only, a combination of valid and invalid data and set wise refinement involving users.
• CLR 3: Prepare program documentation using prescribed program specifications.
• CLR 4: Debug program problems using manual and programmatic methods.
• CLR 5: Modify an existing program according to program specifications.
• CLR 6: Access and modify a database table from within the graphical user interface. Create a layered application (Presentation, Business, and Data access layers). Use a Data Access layer to provide data access to an application.
• CLR 7: Create GUI programs that support internationalization as well as sustainability.
• CLR 8: Collaborate with fellow students in a team to complete complex assignments.
Objective of this Assignment:
The following is an exercise to help you implement what you have learned in this module. It will allow you to familiarize yourself with the module content as well as practice the skills required to develop software in the Android Studio. The goal of this particular lab is to familiarize yourself with the Activity lifecycle. Various callback functions are called throughout the stages of starting and stopping an Activity. Also, you will learn how to launch an Activity from another activity.
Pre-Assignment Instructions:
1. To prepare you for this assignment, please read the content presented in the associated module.
2. References:
a. https://developer.android.com/training/basics/data-storage/shared-preferences.html
b. https://developer.android.com/guide/components/activities.html
c. https://developer.android.com/reference/android/util/Log.html
d. https://developer.android.com/training/basics/intents/result.html
Assignment Tasks/Steps:
1. Create a branch of your software from Lab 2. Select the VCS menu in Android Studio and click “Git” -> “branches”. From the dialog box, select “New Branch” and call it “Lab 3”. You should now have the “master” branch, which is your work from Lab 1, and then another branch called Lab 2, and the newly created Lab 3 (not committed yet).
2. Write a layout file that looks like this:
Students succeed in their courses by connecting and communicating with an expert until they receive help on their questions
Consult our trusted tutors.