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

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

本科毕业论文(设计)题目基于Android平台的天气预报软件设计

基于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)

相关文档
最新文档