没有合适的资源?快使用搜索试试~ 我知道了~
基于Android平台的天气预报软件设计设计.doc
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 95 浏览量
2023-06-19
20:58:02
上传
评论
收藏 1.5MB DOC 举报
温馨提示
试读
43页
基于Android平台的天气预报软件设计设计.doc
资源推荐
资源详情
资源评论
题 目 基于 Android 平台的天气预报软件设计
2013 年 5 月 20 日
基于 Android 平台的天气预报软件设计
摘要:Google 于 2008 年推出了一款名为 Android 的开源智能手机操作系统,它
采用 Linux 内核,开放手机联盟(OHA)成员可以任意使用和修改 SDK 包,系统的
开源性使其具有良好的拓展性。Android 的最大特点是其开放性体系架构,不仅
具有非常好的开发、调试环境,而且还支持各种可扩展的用户体验。因此,对于
软件从业人员来说,Android 平台具有无限的吸引力。目前 Android 操作系统已
经成为用户最多的智能操作系统。
本天气预报软件的设计,为 Android 终端用户提供一款方便的实时天气预报
查询软件,为用户带来良好的用户体验及便利的对天气情况进行掌控。本天气预
报软件采用 ViewFlipper 组件,提供友好的界面滑动切换方式,同时减少系统运
行时占用的空间。使用 Files 方式保存天气信息,Shared Preferences 保存用户
偏好设置,节约了文件存储的空间。本文就在分析讨论 Android 手机软件开发技
术原理的基础上,利用 Android 中基本组件和常用设计模式,开发出能为用户提
供更好的基于 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 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 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 experience 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, save 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 on the Android platform.
Keywords:Android;weather forecast;smart phone platform
目 录
1 系统概述..........................................................1
1.1 研究内容 .................................................1
1.2 研究意义 .................................................1
1.3 研究现状和发展趋势 .......................................1
2 系统分析..........................................................4
2.1 研究目标 ..................................................4
2.2 需求分析 ..................................................4
2.3 性能分析 ..................................................4
3 程序设计..........................................................6
3.1 用户界面设计 ..............................................6
3.2 程序模块设计 ..............................................9
4 程序开发.........................................................10
4.1 文件结构与用途 ..........................................10
4.2 数据存储 ................................................13
4.2.1 Shared 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 系统测试.........................................................29
剩余42页未读,继续阅读
资源评论
oligaga
- 粉丝: 52
- 资源: 2万+
下载权益
C知道特权
VIP文章
课程特权
开通VIP
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 树莓派连接 DS18B20 温度传感器读取温度时监控客户端,服务器端连接状况,实现断线重连机制
- jQuery 3.7.1
- 校园失物招领小程序源码可作毕业设计
- SAP客户端GUI740安装包(JAVA版本)
- winlibs-x86-64-posix-seh-gcc-13.2.0-llvm-16.0.6-mingw-w64msvcrt
- HTML5小游戏【愤怒的小红帽-优秀H5小游戏合集射击游戏-过关游戏】游戏源码分享下载 - fndxhm.zip
- 医学影像处理-图像分割-肿瘤识别-诊断辅助-matlab图像分割肿瘤代码-DeepBTSeg.zip
- 抖音取图表情包小程序源码+创作者入驻+流量主
- 数字电子-JK触发器-可逆计数器-教学模拟-同步六进制加减法可逆计数器(JK).ms7.zip
- 小程序项目源码之熊猫签证.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功