【正文】
...................... 7 第二章 即時(shí)通訊系統(tǒng)分析與設(shè)計(jì) ................................................................................. 8 需求分析 .......................................................................................................... 9 功能需求 ............................................................................................... 9 概要設(shè)計(jì) ........................................................................................................ 11 系統(tǒng)框架設(shè)計(jì) ...................................................................................... 11 功能設(shè)計(jì) ............................................................................................. 13 數(shù)據(jù)庫設(shè)計(jì) .................................................................................................... 17 第三章 系統(tǒng)客戶端、服務(wù)器開發(fā)平臺(tái)搭建 ................................................................ 19 系統(tǒng)客戶端開發(fā)平臺(tái)搭建 .............................................................................. 19 開發(fā) Android 程序軟件需求 ............................................................... 19 開發(fā) Android 程序硬件最低需求 ....................................................... 19 JDK 的安裝 .......................................................................................... 19 Android 開發(fā)環(huán)境的安裝 .................................................................... 21 安裝 Eclipse 插件 ADT ....................................................................... 23 系統(tǒng)服務(wù)器開發(fā)平臺(tái)搭建 .............................................................................. 24 第四章 系統(tǒng)客戶端設(shè)計(jì)與實(shí)現(xiàn) ................................................................................... 25 Android 系統(tǒng)簡(jiǎn)介 .......................................................................................... 25 客戶端使用到的接口介紹 .............................................................................. 28 客戶端實(shí)現(xiàn) .................................................................................................... 31 用戶注冊(cè)模塊實(shí)現(xiàn) .............................................................................. 31 用戶登錄模塊實(shí)現(xiàn) .............................................................................. 33 刷新好友列表模塊 實(shí)現(xiàn) ....................................................................... 34 好友管理模塊實(shí)現(xiàn) .............................................................................. 35 用戶查詢模塊實(shí)現(xiàn) .............................................................................. 39 聊天模塊實(shí)現(xiàn) ...................................................................................... 40 第五章 系統(tǒng)服務(wù)器設(shè)計(jì)與實(shí)現(xiàn) ................................................................................... 42 Google App Engine 簡(jiǎn)介 ............................................................................... 42 服務(wù)器端實(shí)現(xiàn) ................................................................................................ 43 服務(wù)器用戶注冊(cè) .................................................................................. 43 服務(wù)器用戶登錄 .................................................................................. 44 服務(wù)器在線服務(wù) .................................................................................. 46 服務(wù)器運(yùn)行截圖 ............................................................................................. 51 第六章 結(jié) 論 ............................................................................................................... 54 致 謝 ........................................................................................................................ 55 5 參考文獻(xiàn): ................................................................................................................... 55 第一章 緒 論 即時(shí)通訊的概念 即時(shí)通訊( Instant Messenger,簡(jiǎn)稱 IM),是指能夠即時(shí)發(fā)送和接收互聯(lián)網(wǎng) 消息等的業(yè)務(wù)。根據(jù) 大量文獻(xiàn)總結(jié)和對(duì)實(shí)際情況調(diào)查,從兩方面進(jìn)行了詳細(xì)的闡述:一方面目前的 IM 軟件基本上都集中在 MS Windows 平臺(tái)上,很少考慮智能手持設(shè)備終端用戶的需求;另一方面各個(gè)商業(yè)軟件使用各自的私有的 IM協(xié)議,使得各個(gè) IM 之間不能互相通訊,這給 IM 應(yīng)用的普及帶來了不便。 1 摘 要 Inter 的出現(xiàn),不僅為人類提供了信息交流的新技術(shù)、新方法和新媒體,而且為人類提供了新的開放式的交流平臺(tái),開創(chuàng)了新的生活方式。正因?yàn)樗闹匾?,找出其存在的問題和其自身的局限性,顯得尤為迫切。 ( 摘要還要寫自己在什么開發(fā)平臺(tái)上,用什么開發(fā)工具,開發(fā)語言,做了什么事情(軟件工程的分析,設(shè)計(jì),實(shí)現(xiàn))?,結(jié)果怎么樣?效果怎么樣?有什么特色?特點(diǎn)? 關(guān)鍵詞:即時(shí)通訊、 Android、 XML 2 Abstract Today, instant message( IM) have bee an essential tool for each person on the overes the traditional interpersonal space time constraint, expand the exchanging space and means between people. However, its rapid development has greatly changed understanding, the way of people’s exchanges and emotion, which lets some relationships in real time bee virtual and indirect, enables the practical skills of people to drop in, and also makes people’s mental problems emerge, such as loneliness and indifference, trust crisis and so on. All of this makes the relationships that seem to get closer and closer under the influence of the Inter bee more distant, lack of mutual understanding, and be on the alert between people. So the study for the Instant messaging to the impact of interpersonal relationships has important practical significance, and attracts increasing attention. As a kind of convenient socket munication technique, instant messaging software has deep into people’s heart, application range from single work chat tool to information munication platform. Due to importance, finding out exiting problems and localization seems especially imperious. According to a mount of literature summary and survey to practical situation, two facets are set forth as follows:First: at present, IM software centralizes under the MS Window platform on the whole, not taking int account the need of users who apply intelligence support facility。是一種終端連網(wǎng)即時(shí)通訊網(wǎng)絡(luò)的服務(wù)。它的產(chǎn)生有著深刻的社會(huì)和技術(shù)的原因。從這點(diǎn)上講,即時(shí)通訊的出現(xiàn)改變了人們的溝通方式和交友文化,大大拓展了個(gè)人生活交流的空間。可以說,即時(shí)通訊 6 的發(fā)展把后 PC時(shí)代的特征體現(xiàn)的淋漓盡致,人們從來沒有像今天這樣感受到天涯咫尺。截止到目前,全球約有近 3 億多人使用即時(shí)通訊軟件進(jìn)行交流,正因?yàn)榧磿r(shí)通訊軟件擁有數(shù)以億計(jì)的用戶和迅速增長(zhǎng)的市場(chǎng),所以各個(gè)公司都盯上了中國這個(gè)潛在的最大市場(chǎng),一時(shí)間,即時(shí)通訊市場(chǎng)硝煙四起。這天標(biāo)志著In