基于Android平台的天气预报软件设计

上传人:飞****9 文档编号:143929982 上传时间:2020-09-03 格式:DOC 页数:43 大小:1.50MB
返回 下载 相关 举报
基于Android平台的天气预报软件设计_第1页
第1页 / 共43页
基于Android平台的天气预报软件设计_第2页
第2页 / 共43页
基于Android平台的天气预报软件设计_第3页
第3页 / 共43页
基于Android平台的天气预报软件设计_第4页
第4页 / 共43页
基于Android平台的天气预报软件设计_第5页
第5页 / 共43页
点击查看更多>>
资源描述

《基于Android平台的天气预报软件设计》由会员分享,可在线阅读,更多相关《基于Android平台的天气预报软件设计(43页珍藏版)》请在金锄头文库上搜索。

1、教学单位 学生学号 本科毕业论文(设计)本科毕业论文(设计) 题目基于 Android 平台的天气预报软件设计 学生姓名lion 专业名称 指导教师 2013 年5月20日 基于基于 AndroidAndroid 平台的天气预报软件设计平台的天气预报软件设计 摘要摘要:Google 于 2008 年推出了一款名为 Android 的开源智能手机操作系统, 它采用 Linux 内核,开放手机联盟(OHA)成员可以任意使用和修改 SDK 包,系统 的开源性使其具有良好的拓展性。Android 的最大特点是其开放性体系架构, 不仅具有非常好的开发、调试环境,而且还支持各种可扩展的用户体验。因此, 对

2、于软件从业人员来说,Android 平台具有无限的吸引力。目前 Android 操作 系统已经成为用户最多的智能操作系统。 本天气预报软件的设计,为 Android 终端用户提供一款方便的实时天气预 报查询软件,为用户带来良好的用户体验及便利的对天气情况进行掌控。本天 气预报软件采用 ViewFlipper 组件,提供友好的界面滑动切换方式,同时减少 系统运行时占用的空间。使用 Files 方式保存天气信息,Shared Preferences 保存用户偏好设置,节约了文件存储的空间。本文就在分析讨论 Android 手机 软件开发技术原理的基础上,利用 Android 中基本组件和常用设计模

3、式,开发 出能为用户提供更好的基于 Android 平台的手机天气预报软件。 关键字:关键字:Android;天气预报;智能手机平台 Design of weather forecast software Based on the Android Abstract:Google in 2008 launched a product called the Android open source smart phone operating system, which uses the Linux kernel, Open Handset Alliance (OHA) members can be

4、free to use and modify the SDK package, open source, it has good scalability of the system. The most important feature of Android is its open architecture, not only has a very good development and debugging environment, but also supports a variety of scalable user experience. Therefore, for software

5、 professionals, the Android platform has unlimited appeal. Android operating system has become the user the most intelligent operating system. The weather software designed for the Android end users to provide a convenient, real-time weather query software, to provide users with a good user experien

6、ce and convenience of control of the weather conditions. The weather forecast software the ViewFlipper components, friendly interface sliding switch, while reducing the space occupied when the system is running. Files saved Weather Information, Shared Preferences to save user preferences settings, s

7、ave the file storage space. This article on the basis of analysis and discussion of the Android mobile phone software development technical principles, using the basic components and common design patterns Android, developers can provide users with better mobile phone weather forecast software based

8、 on the Android platform. Keywords:Android;weather forecast;smart phone platform 目目 录录 1 1 系统概述系统概述 .1 1 11 研究内容 .1 12 研究意义 .1 13 研究现状和发展趋势 .1 2 2 系统分析系统分析 .4 4 2.1 研究目标 .4 2.2 需求分析 .4 2.3 性能分析 .4 3 3 程序设计程序设计 .6 6 3.1 用户界面设计 .6 3.2 程序模块设计 .9 4 4 程序开发程序开发 .1010 4.1 文件结构与用途 .10 4.2 数据存储 .13 4.2.1 Sha

9、red Preferences .13 4.2.2 Files .14 4.3 主要功能代码 .18 4.3.1 获取天气数据 .18 4.3.2 网络检查 .20 4.3.3 定时更新时间 .21 4.3.4 ViewFlipper 手势监听 .21 4.3.5 城市管理中城市点击事件 .23 4.4 主要界面结构布局代码 .24 4.4.1 ViewFlipper 框架结构 .25 4.4.2 城市管理界面 .25 4.4.3 生活指数 .26 4.4.4 城市简介 .27 5 5 系统测试系统测试 .2929 总结总结.3636 参考文献参考文献.3737 致致 谢谢.3838 1 1

10、系统概述系统概述 1 11 1 研究内容研究内容 Android 平台手机天气预报软件是基于 Android 手机平台,运用 Java 语言, 应用 webService 接口获取天 气预报信息,深入研究 Android 平台 Activity、Service、Broadcast Receiver、Content Provider 这四大组件及 Android 平台的程序运行机制,开 发出针对使用 Android 平台的手机天气预报系统。 1 12 2 研究意义研究意义 Android 平台手机天气预报软件的开发可以进一步扩大气象信息的覆盖面, 让广大公众能够在第一时间方便快捷地获取最新的气象预报(预警)信息,以 便提前

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 学术论文 > 管理论文

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号