基于Android平台的手机通讯录研究与实现

 2022-10-10 07:10

论文总字数:31078字

摘 要

当代社会智能手机已经非常普及,作为智能手机最基础的应用软件之一,通讯录的研究与实现对手机用户有着非常重要的意义。本系统是基于Google公司提供的Android操作系统,以Eclipse为开发工具,Java作为开发语言而设计出的一款手机通讯录。

在对手机通讯录软件进行需求分析并了解关键技术后,本文将系统划分为底部导航、拨号与通话记录、联系人、短信和个人设置五个功能模块。不仅实现了APP应用商店中现有通讯录软件的拨号、发短信、添加联系人、删除联系人等基础功能,并在此基础上实现了对联系人的过滤查询与侧栏索引、左滑拨号和右滑发送短信的快捷通讯、头像设置等功能。同时,本系统利用异步查询数据库的方法,提高了读取手机数据库中通话记录、短信记录、联系人信息等大量数据时的速度,解决了当通话记录、短信记录以及联系人数量庞大时,界面加载卡顿的问题。

此系统针对Android系统原生手机通讯录软件普遍存在的功能单一却操作复杂,人机界面不友好等问题进行整改与设计,实现了一款操作简单、界面友好、能够快捷搜索、快捷通讯,运行流畅的安卓手机通讯录。

关键词: 安卓,手机通讯录,异步查询

Abstract

In contemporary society, smart phone has been very popular among people, as one of the most basic applications of smart phones, the research and implementation of mobile phone contacts is a matter of cardinal significance. This system is based on Google's Android operating system, and I use Eclipse as a development tool and Java as a development language to design a mobile phone contacts.

After knowing the requirement and the key technologies of contacts,my phone contacts is divided into the following five parts:bottom navigation bar,dial-up and call records, contacts, text messages and settings. This system can not only complete the basic functions like phone call, send text message, add contacts, delete contacts and so on, but also allows users quickly searching contacts by using a quick search box or the sidebar. What’s more, users of my contacts can not only call or send message to the selected people quickly by sliding to the left and right respectively,but also set head portrait randomly. In addition, my contacts system solves the annoying problem that if users have large amount of contacts, SMS records or call records ,the speed of loading large amounts of data from database can be very slow, and can make users feel very sluggish when using the application.

As we all know, outdated phone contacts usually have several disadvantages like the man-machine interface is not friendly ,the operation is too complex and so on. So I make full use of all kinds of class in Android so that I can simplify the operation, make the app interface more simple and friendly.

Keywords: Android, phone contacts, Asynchronous query

目 录

摘要 I

Abstract II

第一章 绪论 1

1.1 研究背景 1

1.1.1 Android平台研究背景 1

1.1.2 手机通讯录研究背景 1

1.2 国内外研究现状 1

1.3 本文研究内容及意义 3

1.4 论文组织结构 3

第二章 软件需求分析和关键技术简介 4

2.1 需求分析 4

2.1.1 用户需求分析 4

2.1.2 软件性能需求分析 4

2.1.3 软件安全需求分析 5

2.2 通讯录系统关键技术简介 5

2.2.1 汉字的转化 5

2.2.2 联系人数据库简介 6

2.2.3 AsyncQueryHandler的使用 7

2.3 本章小结 8

第三章 通讯录系统的实现 10

3.1 系统总体功能设计 10

3.2 通讯录系统导航栏的实现 11

3.2.1 导航栏与切换方法的选择 11

3.2.2 TabHost选项卡的实现 11

3.3 拨号与通话记录模块的实现 14

3.3.1 拨号与通话记录界面设计 14

3.3.2 自定义软键盘与拨号功能的实现 15

3.3.3 通话记录列表的实现 16

3.4 联系人模块的实现 19

3.4.1 联系人模块界面设计 19

3.4.2 加载联系人列表的实现 20

3.4.3 联系人增删改查功能的实现 21

3.4.4 首字母侧栏快速索引功能的实现 22

3.4.5 搜索框过滤搜索联系人的实现 24

3.4.6 快捷通讯功能的实现 24

3.5 短信功能模块的实现 25

3.5.1 短信模块界面设计 25

3.5.2 短信列表界面的实现 26

3.5.3 短信聊天对话框的实现 26

3.5.4 新建短信息并发送功能的实现 27

3.5.5 群发短信功能的实现 28

3.6 个人设置模块的实现 28

3.6.1 模块界面设计 28

3.6.2 管理者头像设置功能的实现 29

3.7 本章小结 30

第四章 系统测试 31

4.1 系统测试环境与方法 31

4.2 系统测试结果 31

4.2.1 导航栏切换功能测试 31

4.2.2 拨号与通话记录功能测试 31

4.2.3 联系人模块功能测试 32

4.2.4 短信模块功能测试 36

4.2.5 个人设置模块功能测试 38

4.3 测试功能小结 39

第五章 总结与展望 40

5.1 总结 40

5.2 展望 40

致 谢 41

参考文献 42

绪论

研究背景

Android平台研究背景

Android平台是谷歌公司推出的基于Linux平台,由操作系统、中间件、用户界面和应用软件组成的一款开源的移动设备综合平台[1]。Android从2007年诞生起就凭借它的低成本、高开放性、良好的用户体验等特点吸引着许多的终端厂商[2],较于iOS、Windows等其他操作平台,安卓平台拥有Android Market和众多第三方应用商作为后盾,也因此拥有丰富的应用资源。拓展性和可定制性在它身上也诠释得非常到位,通俗的说,只要你愿意,基于安卓平台的某款软件可以变为你的“私人订制”。

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

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

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