SMS Chat Application

32
SMS Chat Application Team 10 (Saturday) KRISHNAMOORTHY Kannan Joyson Bensam Joyson VEERAPPAN Senthil Kumar

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

Page 1: SMS Chat Application

SMS Chat Application

Team 10 (Saturday)

KRISHNAMOORTHY Kannan

Joyson Bensam Joyson

VEERAPPAN Senthil Kumar

Page 2: SMS Chat Application

Agenda• Introduction

• System Architecture

• Object Model and UI Na

• Record Schema

• Lessons Learnt

• Project Distribution

• Q & A

Page 3: SMS Chat Application

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

Page 4: SMS Chat Application

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)

Page 5: SMS Chat Application

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

Page 6: SMS Chat Application

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)

Page 7: SMS Chat Application

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)

Page 8: SMS Chat Application

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

Page 9: SMS Chat Application

JME – Client

Page 10: SMS Chat Application

Object Model - Screens JME

Page 11: SMS Chat Application

Object Model – Send JME

Page 12: SMS Chat Application

Object Model – Receive JME

Page 13: SMS Chat Application

Object Model – Record StoreJME

Page 14: SMS Chat Application

Application Startup Chat Screen

User Interface – Startup JME

Page 15: SMS Chat Application

Add Contact Menu Selection Key in Nickname and Phone No.

User Interface – Add Contact JME

Page 16: SMS Chat Application

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

User Interface – Add contact JME

Page 17: SMS Chat Application

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

User Interface – Send Message JME

Page 18: SMS Chat Application

Chat Log Search Options Chat History Search Result

User Interface – Search JME

Page 19: SMS Chat Application

View Chat Room Clear chat history

User Interface – View Chat room JME

Page 20: SMS Chat Application

Save to file Personal Settings

User Interface – Save to file JME

Page 21: SMS Chat Application

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

Page 22: SMS Chat Application

<<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

Page 23: SMS Chat Application

.NETCF – Client

Page 24: SMS Chat Application

Object Model NETCF

DBAccess

Utility classes

Page 25: SMS Chat Application

User Interface - 1 NETCF

Page 26: SMS Chat Application

User Interface - 2 NETCF

Page 27: SMS Chat Application

User Interface - 3 NETCF

Page 28: SMS Chat Application

User Interface - 4 NETCF

Page 29: SMS Chat Application

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

Page 30: SMS Chat Application

Lessons Learnt - NETCF

Familiarised with SMS programming using message interceptor

Used all common UI controls

Learnt to use ASA db in the application

Page 31: SMS Chat 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

Page 32: SMS Chat Application