A Design and Implementation of A Network Instant Messaging Application over Android

碩士 === 國立雲林科技大學 === 電機工程系碩士班 === 100 === Due to increasing smartphone penetration in recent years, nearly everyone now has a smartphone. Traditional instant messaging software is usually run on desktop computers; however, due to constant improvements in smartphone functions, a growing number of inst...

Full description

Bibliographic Details
Main Authors: Ji-Wen Hong, 洪基文
Other Authors: Kuang-hui Chi
Format: Others
Language:zh-TW
Published: 2012
Online Access:http://ndltd.ncl.edu.tw/handle/90044480157572109342
Description
Summary:碩士 === 國立雲林科技大學 === 電機工程系碩士班 === 100 === Due to increasing smartphone penetration in recent years, nearly everyone now has a smartphone. Traditional instant messaging software is usually run on desktop computers; however, due to constant improvements in smartphone functions, a growing number of instant messaging software programs are available for smartphone utilization. The rapid development and integration of mobile communications and the Internet has provided an ideal environment for the transfer of instant messaging software from desktops to smartphones. This study focuses on creating a web-based instant messaging program for mobile devices. With this in place, users can chat with their friends anytime and anywhere and also locate them without the expense of SMS texting fees. This study developed web-based instant messaging software for the Android platform that is based on a client-server model. Android Socket was used to establish a complete communication process to allow client-server communication. The client-end and the server-end performed actions according to the relative action code defined in the study. The client-end utilized the Android SQLite database to store the user chat history, monitored changes to the database through Android Content Provider, and then displayed each message instantly on the smartphone screen, further implementing one-to-one instant message communication. Considering the fact that users may not always be online, the program design includes an offline messaging function. When the user is offline, any un-received messages will be kept within the server database and then re-sent when the user logs on, a process which can avoid any loss of messages. Lastly, the software successfully integrated Android GPS and Google Maps, such that users can send their location information to friends in the course of chatting, while still using the navigation function.