登录

  • 登录
  • 忘记密码?点击找回

注册

  • 获取手机验证码 60
  • 注册

找回密码

  • 获取手机验证码60
  • 找回
毕业论文网 > 毕业论文 > 理工学类 > 信息与计算科学 > 正文

基于Android的聊天网络软件的设计与实现毕业论文

 2021-03-22 11:03  

摘 要

近年来移动互联网的飞速发展,使得移动设备的使用率大大提高,人们可以随时随地接入互联网,获取相关服务。比如移动支付,滴滴打车,美团外卖等。移动互联网的发展极大地方便了人们的生活。至于移动设备的系统,80%都是android系统。Android系统以其开放源码,极佳的用户体验赢得了市场。在android系统上开发的应用称为android应用(简称app),目前人们已经离不开各种各样的android应用。

市场上已经有了许多成熟的即时通讯app,比如QQ,微信等。这些应用的出现使得人们可以随时随地地进行沟通,包括文字聊天,语音聊天,视频通话,发送表情等。这些app使得人们的沟通方式变得多样化,碎片化,也拉近了人与人之间的距离。

本设计所开发的app是建立在android studio,eclipse平台上的,基于tcp/ip协议的,一个具有完整文字聊天功能的android应用。在本文中,给出了该项目的完整系统分析,设计以及开发过程,包括android客户端的实现,服务器端的实现,整个项目的搭建。最后构建的app可以运行在大多数android系统上,满足随时随地只要联网就能聊天的需求。

关键字:android;tcp/ip;多线程;即时通讯

Abstract

In recent years, the utilization of mobile devices has been greatly improved. People can access the Internet anytime and anywhere to obtain relevant services. Such as mobile payments, drops taxi, the U.S. mission takeaway and so on. The development of mobile Internet greatly facilitates people's life. As for mobile devices, 80% are Android systems. The Android system has won the market with its open source and excellent user experience. The application developed on the Android system is called Android application (APP). At present, people can not do without all kinds of Android applications.

The market already has many mature im app, such as QQ, WeChat and so on. The advent of these applications allows people to communicate anytime, anywhere, including text chat, voice chat, video calls, facial expressions, and so on. These app enable people to become more diverse communication, fragmentation, but also closer to the distance between people.

The app developed by this design is built on Android studio, Eclipse platform, and based on tcp/ip protocol, a Android application with full text chat function. In this paper, the whole system analysis, design and development process of the project are given, including the realization of Android client, the implementation of server and the construction of the whole project. Finally, the build app can run on most Android systems and meet the needs of chatting whenever you can.

Keywords: android, tcp/ip, instant messaging , Multithreading,

目录

摘 要 I

Abstract II

1 绪论 2

1.1 研究背景 2

1.2 研究现状 4

1.3 主要工作 5

1.4 本文结构 5

2 Android技术与理论 7

2.1 Android系统开发简介 7

2.2 Android应用的构成和工作机制 7

3 需求分析 10

3.1 功能需求分析 10

3.2性能需求分析 11

3.3安全需求 11

4 功能设计 12

4.1 总体设计 12

4.2 客户端,服务端消息通信原理 12

5 具体实现 14

5.1Android开发平台搭建 14

5.2客户端具体功能实现 14

5.3服务端具体功能实现 19

5.3本章小结 24

6 系统测试 25

6.1系统部署 25

6.2系统测试 25

7 总结 29

7.1全文总结与展望 29

参考文献 30

致 谢 31

1 绪论

研究背景

  1. Android操作系统

由于移动设备不断发展,不断更新,涌现了一大批进入移动开发行业的程序员。目前,移动开发领域以android的发展最为迅速,不过短短几年时间,就取代了诺基亚塞班系统称为了移动设备系统的霸主。通过其在线市场,程序员不仅仅可以向全世界贡献自己的程序,而且可以通过销售渠道获得不菲的收入。Android是专门为移动设备开发的,它不仅仅包含了操作系统,更是一个巨大的开发平台。Android由Andy Rubin创办。2005年google收购了Android的使用权。2007年11月5日,google正式发布了android平台。不久它就成为了全球最受欢迎的智能手机平台。

智能手机是指使用独立操作系统的一种具有类似电脑功能的移动设备。除了手机默认自带的如打电话、发短信、相册等基本功能外,用户可以安装各种各样的应用,使得手机的功能更加丰富。而且智能手机还可以接入网络,从而可以像电脑一样进行网络冲浪、发送电子邮件,语音助手等十分智能化的操作。目前最受欢迎的智能手机品牌有apple,三星,还有我国的oppo,小米,魅族,华为等。

您需要先支付 80元 才能查看全部内容!立即支付

企业微信

Copyright © 2010-2022 毕业论文网 站点地图