基于安卓环境的气象预报APP设计与开发
时间:2022-05-28 17:32 来源:毕业论文 作者:毕业论文 点击:次
摘要:本次我做的天气预报APP设计主要是使用Java编程语言在安卓环境上的一个天气预报软件,课题针对大众使用天气预报的需求进行分析,详细地展示了几天内的天气情况。课题要求需要启动App Widget应用程序进入显示界面来通过文字和图片显示当前的天气情况,包括日期、时间、城市、最高温度、最低温度、当前温度等。在设置界面对要显示天气预报的城市及更新频率进行设置,并在详细界面通过文字图片动画显示当前的天气情况,包括城市近几天的天气比如说直观温度、风向和风速、以及湿度等一系列具体信息。整个APP的运行环境是百度地图,代码的编写运用了百度地图API提供的借口,调用了百度地图SDK和定位SDK,实现了定位、展示、新增、删除、查询等功能。本课题大量信息无法从数据库中提取,不仅数据具有相当的时效性,而且从互联网上获取数据也同样使代码也更加灵活。课题对于未学习Java语言的我有一定的难度,需要在短时间内熟悉代码。81041 毕业论文关键词: Java;安卓;天气;APP;软件开发 Design and Development of Weather Forecast APP Based on Android Abstract: This time the weather forecast APP I designed is a Weather software that use the Java programming language in the Android environment , and this weather forecast project analysis the needs of the public,and it displays the weather a few days in detail。 The subject requires the start of the App Widget application into the display interface to display the current weather conditions through text and pictures, including the date, time, the city, the highest temperature, the lowest temperature, the current temperature, etc。。 In the setup interface to display and update frequency of city weather forecast set, and detailed interface through the text image animation shows the current weather conditions, including the city in recent days the weather, temperature, wind direction, wind speed, humidity and other specific information。 The entire APP running environment is a Baidu map, the preparation of the code using the Baidu map API provides an excuse to call the Baidu map SDK and SDK positioning, to achieve the positioning, add hot city,delete hot city, search hot city and other functions。In this paper, a large amount of information can not be extracted from the database, not only the data has a considerable timeliness, but also to obtain data from the Internet also makes the code more flexible。 Subjects for me that I hace never learned the Java programming is a certain difficulty, and I need to be familiar with the code in a short time。 Keywords: Java;Android;Weather;APP;Software Development 目录 1 绪论 1 1。1 研究内容 1 1。2 研究意义 1 1。3 当今天气预报APP发现情况 1 2 分析 3 2。1 研究课题的目标和意义 3 2。2 天气预报APP系统需求 3 2。2。1 主界面信息请求 4 2。2。2 城市管理 4 2。2。3 热门城市选择 (责任编辑:qin) |