Great Deal! Get Instant $10 FREE in Account on First Order + 10% Cashback on Every Order Order Now

Page 1 of 5 Assessment 1 — Android Programming — Term 1 2020 Due date: Electronic submission via Moodle by 5pm AEST, Monday, Week 6, 20 April 2020 ASSESSMENT Weighting: 25% of total unit assessment 1...

1 answer below »
Page 1 of 5

Assessment 1 — Android Programming — Term 1 2020
Due date:
Electronic submission via Moodle by 5pm AEST,
Monday, Week 6, 20 April 2020
ASSESSMENT
Weighting: 25% of total unit assessment
1 Length: As required

Objective
This assessment requires you to design and implement a mobile application using Java and Android
Studio.
Introduction
You have been assigned the task of creating an Android application that records the name address
and opening time of night clubs. The application will be called MusicPro
The application will consist of three screens or pages
1. A main page
2. A page containing a scrollable list of all venues
3. A detail page for a single venue selected from the list
Main Page
Page 2 of 5
The main page consists of 2 buttons.
• The first button will open the venue listing page
• The second button will be used in the second assignment to open Google Maps
The page will contain a title bar at the top of the screen with the application name MusicPro
Venue List Page
The venue list page will display a scrollable list containing all venues. Each list item will display
1. The venue name
2. The venue address
Clicking on a list item will open the Details page containing the details for that venue.
The title bar will contain the application name and a menu containing a single item called New
Venue displayed as text.
When the menu item is selected it will open an empty Details page allowing the new venue details
to be inserted.
Page 3 of 5

Details Page
The details page will consist of the following items
1. The Venue name
2. The Venue address
3. The venue Opening time
• Time is a text field and you do not need to check its format or validity
4. A Delete button which will delete the cu
ent item and return to the list page
• The deleted item should not be in the list when you return
5. A Done button which will return to the list page.
• If this is a new venue item and no name or address has been entered, the venue is to
e delete before returning (do not return an empty venue item)
• If the name and address is present then save the new venue to the database
Fragments
Both the venue list page and the venue details page must use fragments
Database
Venue details must be saved to an SQLite database. The database must be loaded when the
application starts.
Page 4 of 5

Dialogs
A dialog must be shown when the Delete button is clicked to confirm the deletion before proceeding
1. If YES is selected delete the item and return to the list view
2. If NO is selected stay on the page
If the Done button is selected, then one of the following will occur.
1. If either the venue name OR the venue address is incomplete a warning dialog is
displayed (as shown above) and the app stays on the cu
ent page
2. If both the name and address are empty the venue is deleted from the database and the
application returns to the venue list page
3. Otherwise update the venue in the database and return to the venue list page
Any inserts or deletes must be reflected in the list view.
Clicking the Back button will leave the venue unchanged (dose not save changes).
Submission
You are required to submit your assignment electronically via the Moodle course website. The
deliverable is a zip folder containing all the code and resources needed for to run the program.

Ensure the zip file is called lastname-firstname-studentId.zip
Page 5 of 5

Assessment Marking Criteria

Component Criteria Marks
Page Layouts
Layouts Options page 1
List Page 1
Details Page 1
Code
Fragments Fragments used for list page and details page 2
List View ListView, View Holder and Adapter implemented co
ectly 4
Resources Resources (such as string resources) used wherever possible 1
Menu Menu and items co
ect 1
SQLite Database Items are loaded from the database on start-up 2
Details and edits are saved to the database 2
Dialogs Dialog/s implemented co
ectly 1
Code Quality
Informative variable names, consistent indenting, adequate
commenting, no more than one blank line between blocks of code
3
Operation
Operation Options page functions co
ectly 1
List Page functions co
ectly 1
Details Page including dialogs and menus functions co
ectly 3
All e
ors are caught, and appropriate messages displayed 1
Total 25
    Assessment 1 — Android Programming — Term 1 2020
    Introduction
    Main Page
    Venue List Page
    Details Page
    Fragments
    Database
    Dialogs
    Submission
    Assessment Marking Criteria
Answered Same Day Apr 16, 2021

Solution

Aditya answered on Apr 18 2021
147 Votes
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here