基于Android的电子邮件应用的开发

 2023-03-06 09:03

论文总字数:34368字

摘 要

随着移动通信的发展以及互联网向移动终端的普及,手机行业的快速发展,已经紧紧地与人们生活联系在一起,与传统互联网模式相比,移动互联网对搜索的需求量也非常大,有了移动互联网后,人们从此抛开了包袱,随时随地的浏览查阅信息,非常符合现代高节奏社会发展的需求。时隔四年,Android手机在市场中占的市场份额正以非常迅猛的速度上升,与此同时基于Android平台开发的应用app越来越多,结合桌面的操作系统和手机的移动性,使人类的生活越来越便捷,所以未来如何捕捉移动互联网用户,为其提供全新的广告信息服务消费方式成为业界关注的焦点,当用户更多的使用移动端接入互联网时将成为应用厂商带来巨大的商机。而电子邮件做为一个非常普及实用的应用app,穿梭在各个行业领域里,它为人们提供了远距离信息传递和显示功能,在信息化时代里,扮演了一个很重要的角色。电子邮件使人们可以在任何地点时间收发信件,解决了时空的限制,大大提高了工作效率,为办公自动化,商业活动提供了很大的便利。

我所做的电子邮件应用是在安卓系统上实现,我选择Eclipse开发工具来实现电子邮件客户端,本设计阐述了在安卓平台下电子邮件的设计和实现过程,该系统利用SMTP和POP3等协议,采用JavaMail包,开发的一个功能简单实用的Android客户端程序。它实现了在Android手机平台上实现收发和即时查看电子邮件等功能。

关键词:Android;邮件;移动应用

Development of e-mail application based on Android

Abstract

With the development of mobile communication and the popularization of the Internet to the mobile terminal, the rapid development of mobile phone industry, has been closely linked with people"s life, compared with the traditional mode of Internet, mobile Internet to search the demand is very big also, after a mobile Internet, people from then on, put aside the burden, browsing access to information anytime and anywhere, very can meet the demand of the modern high pace of social development. After four years, Android phones in the market share of the market share is rising at very fast speed, at the same time more and more application development based on the Android platform app, combined with the desktop operating system and the mobility of mobile phones, make human life more and more convenient, so how to capture future mobile Internet users, and provide a new way of advertising information service consumption has become the focus of the industry, when a user more access to the Internet using the mobile terminal will be application vendors bring enormous business opportunities. And E-mail as a very popular and practical application of app, shuttle in the field of various industries, it provides people with long distance information transmission and display function, in the information age, plays a very important role. Email so people can at any point of time to send and receive letters, solved the limitation of time and space, greatly improving the work efficiency, for office automation, business provides a great convenience.

The email application that I do is realized in the Android system, I choose Eclipse development tools to achieve the e-mail client, this design describes the design and Realization of e-mail in the Android platform, the system uses SMTP and POP3 protocol, using JavaMail package, a simple and practical function development of Android client program. It realizes the function of receiving and sending and checking e-mail on Android platform.

Keyword:Android,Mail,Mobile application

目录

摘要 I

Abstract II

第一章 绪论 1

1.1 项目简介 2

1.2 项目开发背景 2

1.3 国内外手机系统现状 2

第二章 系统需求分析 3

2.1 邮件收发系统设计原则 3

2.1.1总体设计原则 3

2.1.2详细设计需求 3

2.2用户需求分析 3

2.2.1 产品可行性分析 4

2.2.2 电子邮件系统收发邮件的过程 5

2.2.3 产品功能分析 6

2.3 可行性分析 6

2.3.1社会可行性分析 6

2.3.2 技术可行性分析 6

2.3.3 经济可行性分析 6

2.4 系统开发目标 6

2.5 系统开发计划 6

第三章 相关技术介绍 7

3.1 XML技术 7

3.1.1 什么是XML 7

3.1.2 XML的用途 7

3.2 Android SDK开发环境简介 8

3.2.1 系统架构 8

3.2.2 系统特点 9

3.2.3 Android基本框架 10

3.2.4Android系统的四大组件 11

3.2.5 核心包(Core Packages) 12

3.2.6 其他值得注意的包 12

3.3 SMTP协议简介及工作原理 13

3.3.1 SMTP简介 13

3.3.2 SMTP协议的命令 13

3.3.3 SMTP的工作原理 13

3.4 POP3协议介绍和工作原理 13

3.4.1 POP3简介与命令 13

3.4.2 POP工作原理简介 14

3.5 IMAP,MIME,NNP和其他协议 15

3.6 JavaMail中的核心类 15

3.6.1 Session类 15

3.6.2 Message类 16

3.6.3 Address类 16

3.6.4 Authenticator类 17

3.6.5 Store和 Folder类 18

第四章 功能的详细设计与实现 19

4.1 用户登录模块 19

4.2联系人模块 21

4.3发件模块 23

4.4邮件接受模块 25

第五章 系统测试 27

5.1 运行环境测试 27

5.1.1硬件环境 27

5.1.2 软件环境 27

5.2 功能测试 27

5.2.1测试目标 27

5.2.2 测试目标 27

5.3 收发邮件的测试 28

第六章 结束语 30

致谢 31

参考文献 32

第一章 绪论

在最近几年里,移动通信和互联网成为当今世界上发展最快,市场潜力最大,前景最诱人的两大业务。它们增长速度都是任何预测家未曾预料到的,迄今为止,全球移动用户已超过15亿,互联网用户也超过7亿。中国移动通信用户超过3.6亿,互联网用户则超过1亿。这一历史上从来没有过的告诉增长现象反映了随着时代与技术的进步,人类对移动性和信息的需求急剧上升。越来越多的人希望在移动的过程中高速接入互联网,获取需求信息,完成目标任务。Android的诞生顺应了潮流的发展,所以出现的移动与互联网相结合的趋势是历史的必然。

而随着移动通信的发展以及互联网向移动终端的普及,网络和用户对移动终端的要求越来越高,而Symbian,Windows Mobile等手机平台过于封闭,不能很好的满足用户的需求,因此市场迫切需要一个开放性很强的平台。经过多年的发展,第四代数字通信(4G)技术获得了广泛的接受,它为移动终端用户带来了更快的数据传输速率。随着4G网络的普及,移动终端不再仅仅是通讯网络的终端,还将成为互联网的终端。因此,移动终端的应用软件和需要的服务将会有很大的发展空间。Google为此于2007年11月推出一个专门为移动设备设计得软件平台——Android。Android是一套真正意义上的开放性的移动设备综合平台,它包括操作系统,中间件和一些关键的平台应用。Android是由Linux Java构成的开源软件,允许所有厂商和个人在其基础上进行开发。Android平台的开放性等特点既能促进技术(包括平台自身)的创新,又有助于降低开发成本,还可以使运营商能非常方便地制定自己的特色化产品。因此,它具有很大的市场发展潜力。

剩余内容已隐藏,请支付后下载全文,论文总字数:34368字

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

该课题毕业论文、开题报告、外文翻译、程序设计、图纸设计等资料可联系客服协助查找;