sms chat application
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 PresentationTRANSCRIPT
![Page 1: SMS Chat Application](https://reader033.vdocuments.mx/reader033/viewer/2022061612/568151bc550346895dbfee71/html5/thumbnails/1.jpg)
SMS Chat Application
Team 10 (Saturday)
KRISHNAMOORTHY Kannan
Joyson Bensam Joyson
VEERAPPAN Senthil Kumar
![Page 2: SMS Chat Application](https://reader033.vdocuments.mx/reader033/viewer/2022061612/568151bc550346895dbfee71/html5/thumbnails/2.jpg)
Agenda• Introduction
• System Architecture
• Object Model and UI Na
• Record Schema
• Lessons Learnt
• Project Distribution
• Q & A
![Page 3: SMS Chat Application](https://reader033.vdocuments.mx/reader033/viewer/2022061612/568151bc550346895dbfee71/html5/thumbnails/3.jpg)
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](https://reader033.vdocuments.mx/reader033/viewer/2022061612/568151bc550346895dbfee71/html5/thumbnails/4.jpg)
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](https://reader033.vdocuments.mx/reader033/viewer/2022061612/568151bc550346895dbfee71/html5/thumbnails/5.jpg)
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](https://reader033.vdocuments.mx/reader033/viewer/2022061612/568151bc550346895dbfee71/html5/thumbnails/6.jpg)
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](https://reader033.vdocuments.mx/reader033/viewer/2022061612/568151bc550346895dbfee71/html5/thumbnails/7.jpg)
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](https://reader033.vdocuments.mx/reader033/viewer/2022061612/568151bc550346895dbfee71/html5/thumbnails/8.jpg)
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](https://reader033.vdocuments.mx/reader033/viewer/2022061612/568151bc550346895dbfee71/html5/thumbnails/9.jpg)
JME – Client
![Page 10: SMS Chat Application](https://reader033.vdocuments.mx/reader033/viewer/2022061612/568151bc550346895dbfee71/html5/thumbnails/10.jpg)
Object Model - Screens JME
![Page 11: SMS Chat Application](https://reader033.vdocuments.mx/reader033/viewer/2022061612/568151bc550346895dbfee71/html5/thumbnails/11.jpg)
Object Model – Send JME
![Page 12: SMS Chat Application](https://reader033.vdocuments.mx/reader033/viewer/2022061612/568151bc550346895dbfee71/html5/thumbnails/12.jpg)
Object Model – Receive JME
![Page 13: SMS Chat Application](https://reader033.vdocuments.mx/reader033/viewer/2022061612/568151bc550346895dbfee71/html5/thumbnails/13.jpg)
Object Model – Record StoreJME
![Page 14: SMS Chat Application](https://reader033.vdocuments.mx/reader033/viewer/2022061612/568151bc550346895dbfee71/html5/thumbnails/14.jpg)
Application Startup Chat Screen
User Interface – Startup JME
![Page 15: SMS Chat Application](https://reader033.vdocuments.mx/reader033/viewer/2022061612/568151bc550346895dbfee71/html5/thumbnails/15.jpg)
Add Contact Menu Selection Key in Nickname and Phone No.
User Interface – Add Contact JME
![Page 16: SMS Chat Application](https://reader033.vdocuments.mx/reader033/viewer/2022061612/568151bc550346895dbfee71/html5/thumbnails/16.jpg)
Alert Screen for mandatory field validation Invitee Screen – Prompt for Acceptance
User Interface – Add contact JME
![Page 17: SMS Chat Application](https://reader033.vdocuments.mx/reader033/viewer/2022061612/568151bc550346895dbfee71/html5/thumbnails/17.jpg)
Type the msg. and click sendSMS in action Recipient receive the msg.
User Interface – Send Message JME
![Page 18: SMS Chat Application](https://reader033.vdocuments.mx/reader033/viewer/2022061612/568151bc550346895dbfee71/html5/thumbnails/18.jpg)
Chat Log Search Options Chat History Search Result
User Interface – Search JME
![Page 19: SMS Chat Application](https://reader033.vdocuments.mx/reader033/viewer/2022061612/568151bc550346895dbfee71/html5/thumbnails/19.jpg)
View Chat Room Clear chat history
User Interface – View Chat room JME
![Page 20: SMS Chat Application](https://reader033.vdocuments.mx/reader033/viewer/2022061612/568151bc550346895dbfee71/html5/thumbnails/20.jpg)
Save to file Personal Settings
User Interface – Save to file JME
![Page 21: SMS Chat Application](https://reader033.vdocuments.mx/reader033/viewer/2022061612/568151bc550346895dbfee71/html5/thumbnails/21.jpg)
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](https://reader033.vdocuments.mx/reader033/viewer/2022061612/568151bc550346895dbfee71/html5/thumbnails/22.jpg)
<<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](https://reader033.vdocuments.mx/reader033/viewer/2022061612/568151bc550346895dbfee71/html5/thumbnails/23.jpg)
.NETCF – Client
![Page 24: SMS Chat Application](https://reader033.vdocuments.mx/reader033/viewer/2022061612/568151bc550346895dbfee71/html5/thumbnails/24.jpg)
Object Model NETCF
DBAccess
Utility classes
![Page 25: SMS Chat Application](https://reader033.vdocuments.mx/reader033/viewer/2022061612/568151bc550346895dbfee71/html5/thumbnails/25.jpg)
User Interface - 1 NETCF
![Page 26: SMS Chat Application](https://reader033.vdocuments.mx/reader033/viewer/2022061612/568151bc550346895dbfee71/html5/thumbnails/26.jpg)
User Interface - 2 NETCF
![Page 27: SMS Chat Application](https://reader033.vdocuments.mx/reader033/viewer/2022061612/568151bc550346895dbfee71/html5/thumbnails/27.jpg)
User Interface - 3 NETCF
![Page 28: SMS Chat Application](https://reader033.vdocuments.mx/reader033/viewer/2022061612/568151bc550346895dbfee71/html5/thumbnails/28.jpg)
User Interface - 4 NETCF
![Page 29: SMS Chat Application](https://reader033.vdocuments.mx/reader033/viewer/2022061612/568151bc550346895dbfee71/html5/thumbnails/29.jpg)
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](https://reader033.vdocuments.mx/reader033/viewer/2022061612/568151bc550346895dbfee71/html5/thumbnails/30.jpg)
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](https://reader033.vdocuments.mx/reader033/viewer/2022061612/568151bc550346895dbfee71/html5/thumbnails/31.jpg)
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](https://reader033.vdocuments.mx/reader033/viewer/2022061612/568151bc550346895dbfee71/html5/thumbnails/32.jpg)