Font Size: a A A

Design And Implementation Of Component Instant Messaging System Based On Android

Posted on:2018-10-14Degree:MasterType:Thesis
Country:ChinaCandidate:H Y GouFull Text:PDF
GTID:2348330518496701Subject:Computer technology
Abstract/Summary:PDF Full Text Request
With rapid development of the Internet, communication between people changes from traditional telephone to Internet gradually. For real-time and high-efficiency, Instant Messaging (i.e., IM) has become the most popular means of communication on Internet. At present, many instant message softwares based on mobile exist in the market, in order to meet users' needs, more and more functional modules are added during the iterative updating process. While users have gained richer experience,the high coupling between modules has brought more difficulties to the development and debugging work. In response to these phenomena and problems, this thesis presents an instant messaging system based on Android platform, and make different functions and business components,so that modules can be independently developed and tested, while released as a dependent library, integrated into the main APP.This thesis researches on component instant message system from three aspects.First, investigating about function of pre-existing IM systems and raising a new IM system implemented with push mechanism. The system is divided into five modules according to functions and services:BaseLibrary, Login, Message, Dynamic and Contact.Then, in the form of components, design and implement above modules. Each component is divided into the debug model and release mode, and prepares two different Manifests and resources. Calling component with the ActivityRouter framework, to achieve the implicit call and decoupling between modules. Among them, the basic library module achieves base function for other modules, including overrided Android components, picture asynchronous loading class, network request methods. This module is shared and voked by other four modules.Other four modules are for business. The design and implementation is discussed from three aspects: client, server and database respectively.Message transimission uses push function of GeTui. Local message storage relies on SQLite database. Interfaces of server are based on SpringMVC and Mybatis.Finally, a prototype system is implemented according to the component instant communication system designed in this thesis. The functional test and the compatibility test are carried out. The experimental results show that the component instant messaging system designed in this thesis can realize the basic communication function based on Android platform, and each functional module can be developed and called independently in the form of components.
Keywords/Search Tags:Instant Messaging, Android, component, message push
PDF Full Text Request
Related items