目 录
摘 要...................................................................................................................................................................I
目 录..................................................................................................................................................................II
第 1 章 绪论........................................................................................................................................................1
1.1 背景......................................................................................................................................................2
1.2 课题来源 ..............................................................................................................................................3
1.3 国内外研究现状 ..................................................................................................................................3
1.4 论文主要工作 ......................................................................................................................................4
第 2 章 Android 的开发环境 ..............................................................................................................................5
2.1 操作系统 ..............................................................................................................................................5
2.2 Android 开发环境 ...............................................................................................................................5
2.3 Android 开发环境变量配置 ...............................................................................................................5
2.3.1 jdk 的配置 ...............................................................................................................................5
2.3.2 sdk 的配置 ...............................................................................................................................7
2.4 eclipse 设置 .......................................................................................................................................7
2.5 Android 开发环境配置最终步骤 .......................................................................................................7
第 3 章 Android 应用程序核心 ..........................................................................................................................8
3.1 应用程序基础 ........................................................................................................................................8
3.2 应用程序组件 .......................................................................................................................................8
3.2.1 活动(Activities) .....................................................................................................................9
3.2.2 服务(Services).....................................................................................................................11
3.2.3 广播接收者(Broadcast receivers) ......................................................................................12
3.2.4 内容提供者(Content providers).........................................................................................12
第 4 章 相关技术概念 ......................................................................................................................................14
4.1 坐标布局(AbsoluteLayout).............................................................................................................14
4.2 Intent ....................................................................................................................................................15
4.3 AlertDialog......................................................................................................................................17
4.4 相关的算法研究: .............................................................................................................................17
4.4.1 相关的数据结构 .....................................................................................................................17
4.4.2 分析规则...................................................................................................................................18
4.4.3 胜负判断...................................................................................................................................20
4.4.4 算法实现描述 ...........................................................................................................................20
第 5 章 实现运行情况,以及各个模块的截图 ..............................................................................................23
5.1 概要设计 ..............................................................................................................................................23
5.2 游戏界面 .............................................................................................................................................24
5.2.1 游戏主界面..............................................................................................................................24
5.2.2 新游戏界面 ...............................................................................................................................25
5.2.3 帮助界面..................................................................................................................................25
5.2.4 关于五子棋介绍界面 ..............................................................................................................26
5.2.5 五子棋的退出 ..........................................................................................................................27
总结....................................................................................................................................................................28