Post on 07-Jul-2015
transcript
Project specification
Software requirement specification
Coding Architecture based on MVC
Features of our application
OTA and WAP push
Demonstration
A 2-person mobile game via a fixed server is implemented, also known as “CONNECT 4”;
The platform of development J2ME;
Type of handset and server;
The function of Server and Clients;
Data type/amount that need to be
exchanged or transferred;
Quality of Service of game data communication.
Explanation in the diagram
Thanks to Wikipedia
MVC Control
View(Canvas) Network
Midlet
Server
Client Side
Server Side
Internet
Socket connection
Send and receive data
Dynamic domain name
(Server could be anywhere)
Responsible for logic and algorithm
Invoke View layer and Network layer
Composition a chess class which stores
all data of chess
Responsible for displaying everything in
Canvas
If something should be displayed on
screen, invoke repaint()
Flash lite: already saw
OTA, Wap push: new version notification
Demonstration: game
Run seamlessly on a variety of devices
• Socket connetion
WURFL
Flash lite
› already saw
› Version 1.1
Can be download Over the air
WAP push functionality
› Each time launch the game, if there is a new
version, the server will notify the user
WAP push
server only accept 2 users exit now? Both disconnect playing
exceed 30s? Automatically… win continue show…
one exit, both disconnect
Run seamlessly on a variety of devices
› We use socket connection to server
› SO devices must support MIDP 2.0
› Some Sony Ericsson devices not support
socket connection
WURFL
› PC
› Mobile device
Thank You