Assignment title: Information
WORK FOR THE FUTURE
SIT 207 Android Programming
Assignment-1 (Part-2): Data Persistence (15%)
Due date 18th of September 2016 Via CloudDeakin Dropbox
I. Description
In this assignment, we are going to finish the pinball game with the support of data persistence using SQLite database.
Fig. 1 Main Fig. 2 Select Difficulty Fig. 3 Game Fig. 4 Menu Button
Fig. 5 Game Over Fig. 6 Input Name Fig. 7 Sorted Score List
Based on the app you have made for assignment-1, (Part-1), achieve the following requirements:
1. When the game is over, show the player's result in a dialog box as in Fig. 5. By clicking the "Exit" button, popout a new dialog to ask the player to input his/her name as in Figure 6. By clicking the "Show Score List" button
in Figure 6, transfer the user to the score list activity as a prototype shown in Fig. 7. If the user click on the
"Cancel" button in Figure 6, the app returns to the main menu as in Figure 1.WORK FOR THE FUTURE
2. When user is transferred from Figure 6 to Figure 7, update the score list by adding the new result to all previous
results, and sort the score list in an ascending order based on the game time. In the score list, use a custom list
in which the top three users have different icons as others.
II. Assessment Guide
Description Marks
Applications
Popout a dialog as in Figure 5 (3 mark).
Popout a dialog to input the user name as in Figure 6 (3 mark)
Can enable the SQLite database for data persistence (4 marks)
Can sort the scores (2 mark)
Can enable different icon images for the top three players (2)
14
Java Convention:
Use the Java programming convention described in slide 14 of the lecture
notes in week 3.
Comments:
Provide detailed comments on list view activity
1
III. Submission & Deadline
Due: 11:59pm, 18th September (Sunday), 2016
Submission:
Zip all project files into a .zip file
Submit with the faculty electronic assignment cover sheet, and zipped project files to CloudDeakin
Email submissions are not accepted. Late submissions will be punished according to the university rule
YOUR CODE WILL BE CHECKED FROM THE BEGINNING TO THE
END. Note particularly that reproducing someone else's work is not
permitted at all.
Your attention is drawn to the Plagiarism Statement on CloudDeakin.
Anyone using cut-and-paste or copying other people's work will be easily
detected automatically by the CloudDeakin submission system and the
teaching staff members; the outcome is a disciplinary committee hearing.