Presentation is loading. Please wait.

Presentation is loading. Please wait.

Tutorial 2 Introduction to Android App Development Course: Network Protocols (NETW703) Department of Networks Faculty of Information Engineering and Technology.

Similar presentations


Presentation on theme: "Tutorial 2 Introduction to Android App Development Course: Network Protocols (NETW703) Department of Networks Faculty of Information Engineering and Technology."— Presentation transcript:

1 Tutorial 2 Introduction to Android App Development Course: Network Protocols (NETW703) Department of Networks Faculty of Information Engineering and Technology German University in Cairo

2 YearProject 2012Pictionary 2013Battleship 2014Connect 4 2015Checkers 2016? Previous Projects

3 YearProject 2012Pictionary 2013Battleship 2014Connect 4 2015Checkers 2016Ultimate Tic-Tac-Toe (X/O of X/Os) Previous Projects

4 Rules of the Game Link: https://www.youtube.com/watch?v=37PC0bGMiTI

5 Project Architecture Java server Android clients sockets

6 Demonstrated Example Java server Android client B Android client A

7 Demonstrated Example Java server Android client B Android client A Welcome, A!

8 Demonstrated Example Java server Android client B Android client A B has signed in! Welcome, B!

9 Milestone 1

10 1.Each user should select and enter a unique username, which will be used by the server to distinguish between different users (connections). If a user selects a username which has already been selected by a previous user, the server should send back a message indicating that this is a duplicate username.

11 Milestone 1 1.Each user should select and enter a unique username, which will be used by the server to distinguish between different users (connections). If a user selects a username which has already been selected by a previous user, the server should send back a message indicating that this is a duplicate username. 2.After a user has selected a valid username, all usernames of all other online users should be displayed. For instance, if there are 4 online users, their usernames should be displayed as follows: Player 1Player 2 Player 3Player 4

12 Milestone 1 1.Each user should select and enter a unique username, which will be used by the server to distinguish between different users (connections). If a user selects a username which has already been selected by a previous user, the server should send back a message indicating that this is a duplicate username. 2.After a user has selected a valid username, all usernames of all OTHER online users should be displayed using ListView, GridView, or TableLayout. For instance, if there are 4 online users, their usernames should be displayed as follows: 3.If a user clicks on another user’s username, an invitation should be sent, and the recipient should be able to either accept or reject the invitation. Player 1Player 2 Player 3Player 4

13 Milestone 1 4.Suppose that there are 3 online users called A, B and C. Now assume that A has sent an invitation to B, and that B has accepted this invitation. If C then tries to send an invitation to B, the server should inform C that this is not possible, as B has already accepted an invitation from A.

14 Milestone 1 4.Suppose that there are 3 online users called A, B and C. Now assume that A has sent an invitation to B, and that B has accepted this invitation. If C then tries to send an invitation to B, the server should inform C that this is not possible, as B has already accepted an invitation from A. 5.For testing purposes, open 3 emulators and ensure that all of the above mentioned conditions are functioning correctly.

15 Milestone 1 4.Suppose that there are 3 online users called A, B and C. Now assume that A has sent an invitation to B, and that B has accepted this invitation. If C then tries to send an invitation to B, the server should inform C that this is not possible, as B has already accepted an invitation from A. 5.For testing purposes, open 3 emulators and ensure that all of the above mentioned conditions are functioning correctly. The deadline for submitting milestone 1 AND submitting your project team’s details (names and IDs) will be midnight of Saturday 13/02/2016. This milestone is an individual task. Each team should be composed of no more than 3 members.

16 And remember… Start NOW before it’s TOO LATE!


Download ppt "Tutorial 2 Introduction to Android App Development Course: Network Protocols (NETW703) Department of Networks Faculty of Information Engineering and Technology."

Similar presentations


Ads by Google