沈阳工程学院毕业论文 摘 要
摘 要
在科技日益发达的今天,社会竞争越来越强烈,这要求人们不断的获取信息来充实自
己。这就要求人们能随时随地的了解并获取所需的信息。于此同时,手机的功能越来越强
大,将脱离传统的打电话、发短信等基本的功能,在此情况下,图书管理系统也将进入手
机,通过手机可对图书管理系统进行操作。
本系统是在 Android 平台下设计的,在 Google Android 平台的 SDK 2.3 环境下,运用
Eclipse 进行开发。论文概括的介绍了 Android 开发的流程,并重点介绍了基于 Android 平
台的图书管理系统的开发过程。
论文首先介绍了课题的研究背景、研究现状和主要研究内容;然后对系统中用到的理
论知识和相关技术进行了详细的阐述,同时包括对 Android 平台的相关理论知识以及系统
的详细实现过程。
关键词 Android,图书管理,智能手机平台
沈阳工程学院毕业论文 Abstract
Abstract
Nowadays, with science and technology developing increasingly, the social competition has
become more and more intense. It requires people to learn and obtain more and more
information they need to enrich themselves whenever and wherever it is possible. At the same
time, mobile phone is becoming more and more powerful than those traditional phones which
can only provide basic functions such as SMS. Under these circumstances, Books Management
System will also utilize mobile phones as a tool, through which Books Management System can
be randomly operated.
This system is designed under the Android platform, run under the environment of Google
Android platform SDK 2.2, and developed by use of Eclipse. The article introduces and
generally summarizes the development process of Android, and focuses on the introduction to
the development process of Books Management System based on the platform of Android.
The thesis first introduces the background, the current status and main contents of the
research; and then illustrates theoretical knowledge and techniques used in the system in detail as
well as the relevant theoretical knowledge and detailed realization process of the Android
platform.
Key Words Android, Library Management, Intelligent mobile phone platform
沈阳工程学院毕业论文 目 录
目 录
摘 要......................................................................................................................................I
Abstract ...................................................................................................................................II
第 1 章 绪 论 .....................................................................................................................1
1.1 智能手机平台简介 ...................................................................................................1
1.2 Android 简介..............................................................................................................2
1.3 图书管理系统简介 ....................................................................................................3
第 2 章 Android 的架构分析...............................................................................................4
2.1 Android 架构分析......................................................................................................4
2.1.1 应用程序框架 .....................................................................................................4
2.1.2 类库 .....................................................................................................................4
2.1.3 Android 运行时组件...........................................................................................5
2.2 Android 应用的构成和工作机制..............................................................................5
第 3 章 Android 应用程序结构剖析...................................................................................6
3.1 Android 的 API ..........................................................................................................6
3.2 Android 应用程序结构解析......................................................................................6
3.2.1 活动 .....................................................................................................................7
3.2.2 意图接收器 .........................................................................................................7
3.2.3 服务 .....................................................................................................................8
3.2.4 内容提供者 .........................................................................................................8
3.3 Android 活动的生命周期..........................................................................................8
3.3.1 活动的生命状态 .................................................................................................9
3.3.2 活动的运作流程 ...............................................................................................10
第 4 章 系统分析设计 .......................................................................................................12
4.1 系统分析 ..................................................................................................................12
4.2 系统具体功能: ......................................................................................................12
4.2.1 图书管理端具体功能: ...................................................................................12
4.2.2 学生客户端 .......................................................................................................13
4.3 系统模块设计 ..........................................................................................................13
第 5 章 数据库分析与设计 .................................................................................................14
5.1 数据库需求分析 ......................................................................................................14
5.2 数据库概念结构设计 ..............................................................................................14
5.3 数据库表的设计 ......................................................................................................17
第 6 章 搭建开发环境 .........................................................................................................20
6.1 Android SDK 的安装及环境变量的配置...............................................................20
6.2 Eclipse 集成开发环境的搭建 .................................................................................21
沈阳工程学院毕业论文 目 录
6.3 模拟器的创建和运行 ..............................................................................................22
第 7 章 系统详细设计与实现 .............................................................................................23
7.1 欢迎界面的设置 ......................................................................................................23
7.2 学生端登录模块 ......................................................................................................25
7.2.1 登录界面的开发 ...............................................................................................26
7.2.2 登录界面功能是实现 .......................................................................................27
7.2.3 数据库操纵方法的实现 ...................................................................................27
7.3 学生端主页模块 ......................................................................................................28
7.3.1 学生端主界面的开发 .......................................................................................29
7.3.2 界面跳转控制功能 ...........................................................................................30
7.4 学生端查询模块 ......................................................................................................31
7.4.1 查询主界面及其功能开发 ...............................................................................32
7.4.2 个人已借图书查询界面及功能 .......................................................................33
7.4.3 管内图书查询界面及其功能开发 ...................................................................34
7.4.4 数据库操作方法的实现 ...................................................................................35
7.5 学生端图书挂失功能 ..............................................................................................36
7.5.1 挂失界面及其功能的开发 ...............................................................................37
7.5.2 数据库操作方法的实现 ...................................................................................38
7.6 学生端图书预约功能模块 ......................................................................................39
7.6.1 图书预约界面及其功能的开发 .......................................................................39
7.6.2 数据库操作方法的实现 ...................................................................................41
7.7 管理端开发 ..............................................................................................................42
7.7.1 管理员登陆界面的开发 ...................................................................................42
7.7.2 管理员登陆验证模块 .......................................................................................42
7.8 管理端主界面的开发 ..............................................................................................43
7.9 图书管理模块 ..........................................................................................................43
7.9.1 图书管理界面的开发 .......................................................................................44
7.9.2 其他图书管理界面的开发 ...............................................................................44
7.9.3 图书管理界面的监听方法 ...............................................................................45
7.9.4 图书入库和图书删除方法的实现 ...................................................................46
7.9.5 图书查询和修改图书信息方法的实现 ...........................................................50
7.10 学生管理模块 ........................................................................................................51
7.10.1 学生管理界面的简介 .....................................................................................51
7.10.2 学生管理界面的发开 .....................................................................................52
7.10.3 数据库操作方法的实现 .................................................................................54
7.11 管理员管理模块 ....................................................................................................55
7.11.1 管理员管理界面开发 .....................................................................................56
7.11.2 管理员管理界面监听方法 .............................................................................57
沈阳工程学院毕业论文 目 录
7.11.3 数据库操作方法的实现 .................................................................................57
7.12 管理员图书查询模块 ............................................................................................59
7.13 管理端图书挂失模块 ............................................................................................59
7.14 管理端图书借阅预约模块 ....................................................................................60
7.14.1 图书借阅功能按钮监听 .................................................................................61
7.14.2 数据库操作方法的实现 .................................................................................62
7.15 欠款缴纳模块 ........................................................................................................62
7.15.1 欠款缴纳界面的开发 .....................................................................................63
7.15.2 数据操作方法的实现 .....................................................................................63
结 论 ...................................................................................................................................64
致 谢 ...................................................................................................................................65
参考文献 ...............................................................................................................................66