摘 要
随着信息技术的不断更新,特别是07年谷歌公司推出了Android开放源码,让Android操作系统成为了移动平台的宠儿,Android智能手机的进一步普及,本设计使用Android设计技术开发了一种运用在Android系统上的手机天气预报系统,本系统通过选择城市来获得天气,风向,温度,生活健康提示等信息。基于手机的天气预报可以使用户对于各地的天气情况的实时掌握,极大的方便了用户的出行和行程安排,避免了不必要的麻烦,具有很强的实用性。。
本设计是一个基于Android手机天气预报系统,采用C/S模式,从需求分析到考试的设计、实现、调试,最终实现实现了手机天气预报系统功能。并经过严格的测试,可以在手机上正常使用。
关键词:手机;Android;天气预报; Java
Abstract
Along with the information technology unceasing renewal, especially 07 years Google Corporation has launched the Android open source operating system, make Android become the darling of the mobile platform, Android smart phones further popularization, this design using the Android design technology to develop a use of mobile weather forecasting system in the Android system, the system obtains the weather, through the selection of urban wind direction, temperature, life health tips and other information. Master the real-time weather forecast for mobile phone users can weather conditions around the based, a great convenience to users of travel and travel arrangements, to avoid unnecessary trouble, has a strong practical..
The design is based on Android mobile weather forecasting system, using C/S mode, from requirement analysis to test the design, implementation, debugging, and ultimately realize the mobile weather forecasting system function. After rigorous testing, normal use on the phone.
Key words: mobile phone; Android; weather forecast; Java
目 录
题目:手机天气预报系统 II
摘 要 III
Abstract IV
第一章 概述 1
1.1 研究背景 1
1.2 研究目的及意义 1
1.3 Android现状分析 1
1.4 Android系统的四大组件 2
1.5 开发技术及软件介绍 3
1.5.1 Java技术 3
1.5.2 Android平台 4
1.5.3 Android内核 5
1.5.4 Tomcat 6
1.5.5 Lib 6
1.5 本章小结 7
第二章Android平台搭建 8
2.1 Android的架构分析 8
2.2 Android特征 8
2.3 Android架构 8
2.3.1关键应用程序 8
2.3.2 应用程序框架 9
2.3.3进程管理机制 9
2.3.4应用的组成 10
2.3.5 系统运行库 11
2.4 Android应用的构成和工作机制 12
2.5 Android与其他手机操作系统的比较 12
2.6 Android基本知识简介 14
2.6.1 Intent之Action 14
2.6.2 Intent之类名跳转 14
2.6.3 SharedPreferences简介 15
2.6.4 SQLite简介 16
2.7 本章小结 17
第三章 系统需求分析 18
3.1可行性分析 18
3.1.1经济上的可行性 18
3.1.2技术上的可行性 18
3.1.3操作上的可行性 18
3.3系统用户用例图 18
3.4功能需求分析 19
3.5 运行环境要求 19
第四章 系统总体设计 20
4.1系统功能结构图 20
4.2 数据流程分析 20
第五章 系统功能实现 22
5.1 系统主界面实现 22
5.2获取解析的天气数据 26
5.3 换墙纸功能设计 30
第六章 系统测试与维护 33
6.1 软件测试简介 33
6.2 系统测试的目的和意义 34
6.3 测试过程 34
结 论 35
致 谢 36
参考文献 37
第一章 概述
1.1 研究背景
随着移动通信的发展以及互联网向移动终端的普及,网络和用户对移动终端的要求越来越高,而Symbian,Windows Mobile,PalmOS等手机平台过于封闭,不能很好的满足用户的需求,因此市场迫切需要一个开放性很强的平台。经过多年的发展,第三代数字通信(3G)技术获得了广泛的接受,它为移动终端用户带来了更快的数据传输速率。Android是一套真正意义上的开放性的移动设备综合平台,它包括操作系统、中间件和一些关键的平台应用。Android是由Linux+Java构成的开源软件,允许所有厂商和个人在其基础上进行开发。Android平台的开放性等特点既能促进技术(包括平台自身)的创新,又有助于降低开发成本,还可以使运营商能非常方便地制定自己的特色化的产品。因此,它具有很大的市场发展潜力。因此本人选择基于Android的手机天气预报系统来作研究和开发,也是为帮助更多手机用户随时了解天气情况。