Assignment title: Information
WORK FOR THE FUTURE
SIT 207 Android Programming
Assignment 1: Based on UI Development and the enhanced Android development
(Assignment-1, Part-1, Total Marks=50, Weight=15%)
(Assignment-1, Part-2, Weight=15%)
Part-1: Due date Sunday of Week 5, (14th August) at 11:59pm Via CloudDeakin Dropbox
Part-2: Due date Sunday of Week 9, (18th September) at 11:59pm Via CloudDeakin
Dropbox
The two parts of Assignment-1 should be submitted separately by the aforementioned due date.
Assignment-1, Part-1:
I. Description of assignment-1, part-1
In this assignment, you are required to implement an Android application described by the specifications below. The
application will be a basic pinball training game.
Figure 1: Main Figure 2: About me Figure 3: Select a Game
difficulty
Figure 4: GameWORK FOR THE FUTURE
Figure 5: Reset game Figure 6: Score list Figure 7: Game Menu Figure 8 Landscape
It is important to follow exactly the specifications and your implementation must conform to these:
1. Create the project with the Application Name using format: LastName_FirstName_ID
2. When the application starts, it presents the user 4 buttons labelled, New Game, Score List, About, Exit as an
example shown in Figure 1.
3. Clicking on the "About" button, it should present an activity to introduce the developer, as in Figure 2.
4. Clicking on the "New Game" button, starts a new game for the player. The players are presented with four levels
of game difficulty: "Beginner", "Intermediate", "Advanced" and "Expert", as shown in Figure 3. After selecting
a game difficulty, the game interface will be appear as shown in Figure 4. This is a simple pinball game with a
bar on the bottom to prevent the falling ball getting to the bottom. The ball will bounce when hitting the bar.
Player can move the bar by putting a finger on the bar and dragging it on the screen. The difficulty of the game
can be represented by the falling speed of the ball or the bar length, or both.
5. When the ball hit the bottom line outside the bar region, the game is over. A popup window is shown in Figure
5, to ask the user if he/she would like to reset the game or exit to the main menu. When user click "Exit" button
as in Figure-5, the user will be directed to the score list as shown in Figure 6. The game result will be printed
with an image icon shown on the left. Therefore, by clicking "Exit" button, the camera will launch first to take
a photo of the user. The photo will be then saved and applied in the score list.
6. During the game, the user can hit the menu button on the keyboard, or the action bar button. This will popup
the menu which allows the user to configure the game as shown in Figure 7. (Hint: for more information about
the menu, please refer to http://developer.android.com/guide/topics/ui/menus.html). When user click "Exit to
menu" button in the option menu in previous step, the user gets to the main menu of the game as shown in
Figure 1. If the user click "Select Difficulty", Figure 3 is presented, and a new game can be launched with the
selected difficulty. If the user click "Reset", the game will restart.
7. Clicking on the "Exit" button in Figure1 should terminate the application.
8. On the main menu shown in Figure 1, the "Score List" button is not required to be implemented at this step. We
are going to make up the function in the next assignment.
9. The app supports both portrait and landscape orientations, as in Figure 8.
10. Define and apply strings and colors as structured resources.WORK FOR THE FUTURE
II. Assessment Guide for Assignment-1, part-1
Description Marks
Assets, Layout and Design:
Apply appropriate UI widgets (button, menu, etc.) to achieve the desired
functions.
Can apply custom assets, font, design to improve the graphic quality
Can apply appropriate layout to adapt to different screen sizes
Use resources to organize all strings and colors used
10
Scene transition and Navigations:
Can develop all the required scenes
Provide smooth navigations among the scenes
Can support the menu
10
Structured Resource and Landscape
Can use the Android resources (3 marks)
Can support the landscape (2 marks)
5
Intent and List View:
Apply custom list view to achieve the desired functions (5 marks).
Can pass game data from game activity to score list activity using Intent
(5 marks)
Can apply one game activity to adapt to different game difficulties. (5
marks)
15
Java Convention:
Use the Java programming convention described in the lecture slides. (6
marks)
Comments:
Provide detailed comments on list view activity (4 marks)
10
III. Submission Guide & Deadline of Assignment-1, part-1
Due: 11:59pm, 14th August (Sunday), 2016
Submission:
Create the project with the Application Name using the format: LastName_FirstName_IDWORK FOR THE FUTURE
Zip all project files into a .zip file
Submit with the faculty electronic assignment cover sheet
Upload the zip file and cover sheet 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.
Assignment-1, Part-2: This part will be released soon.