SMS Chat Application

Post on 23-Jan-2016

68 views 0 download

Tags:

description

Wireless Application Development - CA. SMS Chat Application. Team 10 (Saturday) KRISHNAMOORTHY Kannan Joyson Bensam Joyson VEERAPPAN Senthil Kumar. Agenda. Introduction System Architecture Object Model and UI Na Record Schema Lessons Learnt Project Distribution Q & A. - PowerPoint PPT Presentation

Transcript of SMS Chat Application

SMS Chat Application

Team 10 (Saturday)

KRISHNAMOORTHY Kannan

Joyson Bensam Joyson

VEERAPPAN Senthil Kumar

Agenda• Introduction

• System Architecture

• Object Model and UI Na

• Record Schema

• Lessons Learnt

• Project Distribution

• Q & A

SMS Chat is a mobile wireless application

Users can initiate/create a chat room and invite other users.

Any mobile device with SMS feature can install this application.

Introduction

User need not install or subscribe to any other services to chat with multiple users

Application is developed in JME and .NETCF

Introduction (cont’d)

Chat log history:

The sent and received chat messages can be

saved locally for future reference.

For JME, it is done using RMS API

For NETCF, it is done using Sybase ASA

database.

Application Features

Search Chat history:

Option to search the chat log by received date

time, send date time, sender, etc.

Sorting Chat history:

Option to sort the chat log by date time and

sender nicknames, etc.

Features (cont’d)

Save history to file:

The chat message can be saved to a text file

locally for feature reference.

Clear history:

Clear the chat history permanently from the

device to save space.

Features (cont’d)

System Architecture

GSM/GPRS

SMS Chat app:JME based

clientInitiator acts like

SMS chat session server

SMS msg

SMS Chat App: NETCF based client

SMS Chat app:JME based

client

SMS msg

SMS msg

SMS msg

SMS Chat App: NETCF based client

ASA db

RMS DS

RMS DS

ASA db

JME – Client

Object Model - Screens JME

Object Model – Send JME

Object Model – Receive JME

Object Model – Record StoreJME

Application Startup Chat Screen

User Interface – Startup JME

Add Contact Menu Selection Key in Nickname and Phone No.

User Interface – Add Contact JME

Alert Screen for mandatory field validation Invitee Screen – Prompt for Acceptance

User Interface – Add contact JME

Type the msg. and click sendSMS in action Recipient receive the msg.

User Interface – Send Message JME

Chat Log Search Options Chat History Search Result

User Interface – Search JME

View Chat Room Clear chat history

User Interface – View Chat room JME

Save to file Personal Settings

User Interface – Save to file JME

S.No Field Name Field type Mandatory Description

1 ReceiverName String No Optional field for additional info

2 ReceiverPhone String No Optional field for additional info

3 Sender Name String Yes Sender nick name

4 Sender Phone String No Sender phone no

5 Datetime String Yes Date & time of the message is logged into the history;Format: yyyy/mm/dd hh24:mm:ss

6 ChatMessage String Yes Free text message

Record Schema JME

<<tag1>> <<tag2>> <<chat message>>

Tag1 Tag2 Description

<I> <initiator nickname> Inviting the contact to join. <List of contacts separated by |>First contact => initiatorLast contact =>invitee nick name

<J> <acceptor nickname> Response from contact for invitation (joining response)

<D> <declined nickname> Declined nickname

<S> <sender> SMS messaging

<F> <actual sender nickname>

Forwarding message

<A> <Initiator nickname> Contacts added message to be displayed on to the clients chat history.

<R> <nickname> Contact removed message

<X> <nickname> The contact is busy already in another chat session and can’t be included.

System Message Format JME

.NETCF – Client

Object Model NETCF

DBAccess

Utility classes

User Interface - 1 NETCF

User Interface - 2 NETCF

User Interface - 3 NETCF

User Interface - 4 NETCF

General concept on MIDP program and CDLC How to create Thread and how java threading works in JME Record management Store API package How to create Forms, Items, custom items, canvas, images, text fields and other controls in JME Connection framework in JME

Lessons Learnt

Lessons Learnt - NETCF

Familiarised with SMS programming using message interceptor

Used all common UI controls

Learnt to use ASA db in the application

S.No Name Scope

1. Joyson Bensam Joyson

• Design and development of SMS Chat app – .NETCF portion complete;• Preparing design document for NETCF;• Reviewing of documents;

2. Krishnamoorthy Kannan

• Design and development of JME portion – RMS, • Send msg, Chat setting option, Chat history store, add contacts; • Preparing design document for JME and proposal documentation.

3. Veerappan Senthil Kumar

• Design and development of JME portion – • Send message thread, receiver listener controller, threading, session management, • System message handshaking ; • Reviewing of documents and preparing slides

Project Distribution