基于安卓系统开发的移动天气预报系统.docxVIP

  • 30
  • 0
  • 约2.42万字
  • 约 74页
  • 2024-03-16 发布于湖北
  • 举报

基于安卓系统开发的移动天气预报系统.docx

PAGE2

摘要

自改革开放以来,人们的生活水平与经济情况比起以前有了翻天覆地的变化,再加上交通工具的高速发展使得人们的出行比以前更加的频繁。而时至今日,无论是日常工作或者是娱乐出行都已离不开天气预报了,因此本文开发了一套基于安卓开发平台的移动天气预报应用系统。本系统主要运用androidstudio软件进行开发与维护,其脚本语言是Java,后台数据库则是Litepal数据库。该系统主要是通过用户点击查询天气预报的城市,后台会自动从指定的网站上获取该城市实时的时间、温度、天气情况、空气质量、还有未来七天的气温与生活建议等一系列JSON数据信息,随后采用GSON方法解析数据,并通过XML布局使天气预报的信息显示在应用系统上。另外本系统还实现了后台自动刷新功能与手动更新功能,使用户能够第一时间掌握最新的天气信息,极大地方便了用户的出行及行程安排,避免了恶劣天气带来的不必要麻烦。

关键词:移动天气预报应用系统AndroidStudioLitepal

1.1.1

1.

ABSTRACT

Sincethereformandopeningup,peopleslivingstandardsandeconomicconditionshavechangeddramaticallycomparedwiththeprevious,coupledwiththesubway,busconvenienceandotherreasonsmakepeopletravelmorefrequentlythanbefore.Today,peoplecannotdowithoutweatherforecast,whetheritisdailyworkorentertainmenttravel,sothispaperhasdevelopedamobileweatherforecastapplicationsystembasedonAndroiddevelopmentplatform.Thissystemmainlyusestheandroidstudiosoftwaretocarryonthedevelopment,itsdevelopmentscriptlanguageismainlyJava,thebackgrounddatabasewhichdevelopsistheLitepaldatabase.Thesystemmainlybyclickingwanttoquerythecity,thebackgroundautomaticallyfromthedesignatedwebsitetoobtainthecitysreal-timetime,temperature,weatherconditions,airquality,thenextsevendaysofweathertemperature,lifeadviceandaseriesofJSONdatainformation,andthenusetheGSONtoparsethedata,finallythroughtheXMLlayouttomaketheweatherforecastinformationdisplayontheapplicationsystem.Inaddition,thesystemalsorealizesthefunctionofautomaticbackgroundrefreshweatherinformationandmanualupdate,sothatuserscangraspthelatestweathersituationinthefirsttime,whichgreatlyfacilitatesthetravelandtravelarrangementsofusers,andavoidsunnecessarytroublecausedbybadweather.

Keywords:MobileWeatherForecastApplicationAndroidStudioLitepal

目录

TOC\o1-3\h\z\u第一章绪论 1

1.1系统研究背景 1

1.2

文档评论(0)

1亿VIP精品文档

相关文档