安卓天气预报---毕业论文

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

本科毕业论文(设计)基于Android平台的天气查询系统的设计与开发I摘要天气预报是非常实用的信息服务,随着移动设备的性能不断提高,天气预报在科技不断进步的推动下,已实现了集中、统一、数字化的服务。随着人们日常生活水平的提高,迫切需要高效、及时、稳定的天气高速交互平台。因此,实现一个天气预报服务功能的信息系统就显得十分必要。即可以节省时间,又可以实现个性化的服务,减少不必要的等待和繁重的信息,方便用户及时了解最新的天气信息。本文介绍了通过访问聚合数据全国天气预报的数据接口,使用HttpClient进行Get方式通信,建立网络连接,使用HttpGet方法读取数据,并且通过HttpResponse获取Entity返回值。并且解析出来获取实时天气,未来4~5天的天气预报及生活信息。用户可以选择城市来获得包括风力、风向、紫外线强度等的天气信息。极大的方便了用户的行程安排或其他情况,避免了不必要的麻烦,且界面美观,操作简单,具有很强的实用性。关键字:数据接口;界面;实时天气预报;AndroidIIAbstractTheweatherforecastisverypracticalinformationservice,withthecontinuousimprovementoftheperformanceofmobiledevices,weatherforecastundertheimpetusofthecontinuousprogressofscienceandtechnology,hasrealizedthecentralizedandunified,digitalservices.Withtheimprovementofpeople'sdailylivingstandards,itisurgenttoneedefficient,timelyandstableweatherinteractiveplatform.Therefore,itisnecessarytorealizetheinformationsystemofaweatherforecastservicefunction..Thatsavestime,butalsocanachievepersonalizedservice,reduceunnecessarywaitingandheavyinformation,convenientuserstounderstandthelatestweatherinformation.Byvisitingthepolymerizationdatatheweatherdatainterface,usinghttpclienttogetcommunicationmode,toestablishanetworkconnection,usehttpgettoreadthedataandthroughthehttpresponseacquiringentityreturnvalue,isintroducedinthispaper.Andresolvedtogetreal-timeweather,weatherforecastsandlifeinformationofthenext4~5days.Userscanchoosethecitytogettheweatherinformationincludingwind,winddirection,UVintensityandsoon.Greatlyconvenientfortheuseritineraryorothercircumstances,toavoidunnecessarytrouble,andtheinterfaceisbeautiful,simpleoperation,withstrongpracticality.Keywords:API;UI;Real-timeweatherforecast;AndroidIII目录摘要.................................................................................................................................IAbstract........................................................................................................................II第1章引言...............................................................................................................11.1研究背景.......................................................................................................11.2国内外的研究状况及发展趋势...................................................................11.3系统分析及其主要内容...............................................................................21.4论文组织结构...............................................................................................2第2章系统实现所涉及的技术...............................................................................32.1Android系统概述.........................................................................................32.2Eclipse介绍...................................................................................................32.3Android系统框架.........................................................................................42.4Android四大组件.........................................................................................42.5用户界面.......................................................................................................62.6Fragment........................................................................................................72.7网络编程之使用HttpClient进行Get方式通信.........................................7第3章开发环境配置...............................................................................................93.1Android开发框架.........................................................................................93.2开发所需软件.............................................................................................123.2.1Android开发环境配置.....................................................................133.2.2Eclipse的设置...................................................................................14第4章系统总体分析与模型设计.........................................................................154.1系统的总体结构.........................................................................................154.2功能分析.....................................................................................................164.2.1天气模块功能分析...........................................................................164.2.2生活模块功能分析...........................................................................174.2.3我模块功能分析...............................................................................174.3系统流程图.................................................................................................18第5章详细设计.....................................................................................................205.1新建工程.....................................................................................................205.2AndroidUI界面的实现...............................................................................215.3登陆注册模块的实现.................................................................................225.4界面切换功能实现.....................................................................................235.5天气模块的实现........................................................

1 / 49
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功