摘 要
随着智能手机一步步走进普通人的生活,它将成为人们获取信息的主要设备。本文对目前应用的Symbian、WindowsMobile、MacOSX和RIM等平台的现状进行了分析与比较。进而研究分析了Android平台的系统架构和组件模型,接着解析了Android中的重要API和应用构成,以Intent和生命周期的机制。在此基础上,基于Android平台设计和开发手机短信管理。本系统界面友好、操作便捷,具有良好的可扩展性和可维护性。完成了根据人名、日期、信息类型分类索引排序自动归纳及内容
搜索功能。手机可以通过GPRS与
计算机远程备份和恢复。系统经过测试,可以稳定运行,能够满足手机用户的基本需求。
关键词:Android;Java;短信管理;Intent;布局
Abstract
With the Mobile Phone enters into the live step by step,it will become the main device to obtain information. Services of mobile Phone will have With the Mobile Phone enters into the live step by step,it will become the main device to obtain information. This thesis discusses the present application of Symbian, Windows Mobile, Mac OS X and RIM situation of such platform are analyzed and compared. Further research and analysis of the Android platform system architecture and the component model, then analyzes the important Android API and the application form, with Intent and life cycle mechanism, on this basis, design and development of mobile phone constellation inquires the software based on the Android platform. This system friendly interface, Convenient operation, Has good expansibility and maintainability; Completed automatically summarized under the names, dates, type of information classification index sort and content search capabilities. Mobile phone via GPRS and computer remote backup and recovery after test of system, can stable operation, To meet the basic needs of mobile phone users.
Key
words: Android; Java; Constellation query; Intent; Layout
目 录
第1章 绪论 1
1.1 课题背景 1
1.2 Android平台与其他平台的比较 1
1.3 本文主要工作 2
1.4 论文组织结构 2
第2章 android的架构分析 4
2.1 Android的功能特征 4
2.2 Android架构分析 5
2.2.1 应用程序框架 6
2.2.2 类库 7
2.2.3 Android运行时组件 8
2.3 Android应用的构成和工作机制 8
第3章 android应用程序结构剖析 9
3.1 Android的API 9
3.2 Android应用程序结构解析 10
3.2.1 活动 10
3.2.2 意图接收器 11
3.2.3 服务 11
3.2.4 内容提供者 11
3.3 Intent的详细解析 12
3.3.1 Intent的抽象描述 12
3.3.2 Android如何解析Intent 13
3.4 Android活动的生命周期 14
3.4.1 活动的生命状态 14
3.4.2 活动的运作流程 16
第4章 手机短信软件设计实现 18
4.1 系统设计需求 18
4.1.1 需求分析 18
4.1.2 下载开发资源 18
4.1.3 更新Ec1ipse并下载ADT(Android开发插件) 19
4.1.4 使用Ec1ipse开发Android应用 20
4.2 短信管理软件程序中各类组件 21
4.2.1 Package Explorer中的组件 22
4.2.2 应用程序的资源 22
4.2.3 布局文件main.xml 22
4.2.4 AndroidManifest.
xml 23
4.3 手机短信软件设计实现 24
4.3.1 系统主界面的实现 24
4.3.2 短信管理功能实现 27
4.3.3 常见的错误分析解决 29
第5章 短信息的备份与恢复 31
第6章 结语 33
6.1 总结 33
6.2 展望 33
参考文献 34
第1章 绪论
1.1 课题背景
随着移动通信的发展以及互联网向移动终端的普及,网络和用户对移动终端的要求越来越高,而Symbian,windows Mobile,Palm OS等手机平台过于封闭,不能很好的满足用户的需求,因此市场迫切需要一个开放性很强的平台。
Android是一套真正意义上的开放性移动设备综合平台,它包括操作系统、中间件和一些关键的平台应用。Android是由Linux+Java 构成的开源软件,允许所有厂商和个人在其基础上进行开发。Android 平台的开放性等特点既能促进技术(包括平台自身)的创新,又有助于降低开发成本,还可以使运营商能非常方便地制定自己的特色化的产品。因此,它具有很大的市场发展潜力。
经过多年的发展,第三代数字通信( 3G)技术获得了广泛的接受,它为移动终端用户带来了更快的数据传输速率。随着3G网络的使用,移动终端不再仅是通讯网络的终端,还将成为互联网的终端。因此,移动终端的应用软件和需要的服务将会有很大的发展空间。 Google与包括中国移动、摩托罗拉在内的三十多家技术和无线应用