安卓毕业设计论文
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
基于Android的校园聊天软件的设计与实现Design and Implementation of Campus Chat Software Based on Android
摘要
在智能手机中,Android平台约占75%市场份额。安卓系统的广泛应用,使得Android 手机应用程序的数量快速增长,即时通讯APP的应用范围也更加广泛。另一方面,高校师生需要在教学过程中加强沟通,而开发一款智能手机的校园聊天APP则可以满足这一需要,弥补传统教学形式的不足。
本文旨在设计并实现一个基于Android的校园聊天软件。本文在对校园聊天客户端进行调查研究基础上,进行了需求分析和系统设计,进一步完成了UI界面设计,在Eclipse 中使用Java语言实现了APP各个功能模块。APP的IM通信部分基于第三方通信云SDK进行开发。该APP的功能主要包括用户登录、注册、聊天框架、通讯录管理、个人信息管理等功能模块。
基于Android平台校园聊天软件将为管理者、教师、学生之间提供一个高效的沟通平台,它的实施将有利于加强对教育教学过程的监督,增进师生之间、学生之间的学习交流,增强教学互动性,提高教育教学效率。
关键词:Android;校园聊天;智能手机
ABSTRACT
For smart phones, the Android platform accounts for about 75% market share. The extensive application of the Android system allows the number of APPs for Android cellphones to grow rapidly. The application scope of instant messaging APPs has become wider as well. It is necessary for college teachers and students to enhance communication in the teaching process, developing a campus chatting APP for smart phones can exactly meet this need and compensate for the inadequacies of the traditional teaching form.
This paper aims to design a kind of Android-based campus chatting software. Through the survey on the campus chatting client, the demand analysis and systematic design are carried, and the UI interface design is further completed. Java language is used in Eclipse to realize various functional modules of the APP. The IM part of the APP is based on the third-party communication cloud SDK. Functions of the APP mainly include user login, registration, chatting framework, address book management, and personal information management.
Based on the campus chatting software of the Android platform, it is to provide an efficient communication platform for school managers, teachers and students, the implementation of which will facilitate the supervision on the education process by schools and increase academic communication among teachers and students. The teaching interactivity will be enhanced along with the improvement of the education efficiency as well.
Key Words: Android; campus chat; Smartphone
1 绪论3
1.1开发背景3
1.2课题意义3
1.3研究内容3
1.4本章小结4
2 软件需求分析5
2.1技术介绍5
2.1.1软件开发的工具和环境5
2.1.2Eclipse介绍5
2.1.3安装JDK和SDK 5
2.2需求分析5
2.2.1主要参与者5
2.2.2功能需求6
2.3.3性能需求7
2.3本章小结7
3 软件设计8
3.1软件功能设计8
3.1.1客户端功能设计8
3.1.2服务器功能设计12
3.2软件的数据库设计12
3.3本章小结14
4 软件实现16
4.1服务器端16
4.1.1配置OpenFire服务器16
4.1.2使用Smack API与OpenFire建立连接通信17 4.2客户端18
4.2.1用户注册模块18
4.2.2用户登录模块20
4.2.3个人信息设置管理22
4.2.4好友信息管理模块24
4.3本章小结30
5 软件测试32
5.1软件功能测试32
5.1.1用户注册模块测试32
5.1.2用户登录块测试32
5.1.3用户设置管理模块测试33
5.1.4好友管理模块测试33
5.1.5消息模块测试34
5.2本章小结34
结论35
参考文献36
附录:系统主要功能代码37
致谢48