基于Android平台的天气查询系统的设计与开发安卓天气预报(毕业论文).doc
文本预览下载声明
本科毕业论文(设计)
基于Android平台的天气查询系统的设计与开发
PAGE \* MERGEFORMAT
PAGE \* MERGEFORMAT II
PAGE \* MERGEFORMAT
PAGE \* MERGEFORMAT III
Ⅰ
摘要
天气预报是非常实用的信息服务,随着移动设备的性能不断提高,天气预报在科技不断进步的推动下,已实现了集中、统一、数字化的服务。随着人们日常生活水平的提高,迫切需要高效、及时、稳定的天气高速交互平台。因此,实现一个天气预报服务功能的信息系统就显得十分必要。即可以节省时间,又可以实现个性化的服务,减少不必要的等待和繁重的信息,方便用户及时了解最新的天气信息。
本文介绍了通过访问聚合数据全国天气预报的数据接口,使用HttpClient进行Get方式通信,建立网络连接,使用HttpGet方法读取数据,并且通过HttpResponse获取Entity返回值。并且解析出来获取实时天气,未来4~5天的天气预报及生活信息。用户可以选择城市来获得包括风力、风向、紫外线强度等的天气信息。极大的方便了用户的行程安排或其他情况,避免了不必要的麻烦,且界面美观,操作简单,具有很强的实用性。
关键字:数据接口;界面;实时天气预报;Android
Abstract
The weather forecast is very practical information service, with the continuous improvement of the performance of mobile devices, weather forecast under the impetus of the continuous progress of science and technology, has realized the centralized and unified, digital services. With the improvement of peoples daily living standards, it is urgent to need efficient, timely and stable weather interactive platform. Therefore, it is necessary to realize the information system of a weather forecast service function.. That saves time, but also can achieve personalized service, reduce unnecessary waiting and heavy information, convenient users to understand the latest weather information.
By visiting the polymerization data the weather data interface, using httpclient to get communication mode, to establish a network connection, use httpget to read the data and through the httpresponse acquiring entity return value, is introduced in this paper. And resolved to get real-time weather, weather forecasts and life information of the next 4~5 days. Users can choose the city to get the weather information including wind, wind direction, UV intensity and so on. Greatly convenient for the user itinerary or other circumstances, to avoid unnecessary trouble, and the interface is beautiful, simple operation, with strong practicality.
Keywords: API; UI; Real-time weather forecast; Andr
显示全部