论文简介:
毕业设计-基于android平台的手机天气预报系统设计,共25页,7293字,附java源代码
摘要
Window 操作系统的诞生成就了微软帝国,同时也造就了 PC 时代的繁荣,
然而如今,以 Android 和 iPhone 手机为代表的智能移动设备的发明与互联网云
技术的兴起却敲响了 PC 时代的丧钟!这也预示着移动互联网时代(3G)已经来临。
在这个互联网繁荣的时代,有一颗超新星,以它独特性能优势与人性化的
UI 设计使它在短短的几年迅速的占领了智能移动设备的市场份额,它就是
Google 的 Android!这也意味着 Google 在移动互联网时代开始抢跑并领跑。
Android 是基于 Linux 平台完全开源的手机操作系统,同时开发语言为
Java,这对于 Java 开发的我们是何等的诱人,程序员的技术要与时代同行,因此
我选择了以 Android 为平台的手机天气预报系统来作为我的毕业设计,选择手机
天气预报系统不仅可以提升技术,同时也很实用,为人们时刻了解天气状况和出
行带来了方便。
目录
摘要 ..........1
需求分析 .2
一、开发背景.......2
二、项目需求分析..............2
总体设计 .2
一、系统规划.......2
二、系统功能界面..............3
1. 设置预报城市界面: ........... 3
2.天气显示界面: ... 4
3.Widget 桌面小部件界面:... 5
三.设计目标.......6
系统设计 .6
一、开发及运行环境..........6
二、数据库设计...6
三、主要方法及步骤..........7
四、主要方法及技术..........7
主要模块 .7
一、项目框架.......7
二、主要功能实现..............8
1.获取城市码 db_weather.db 数据库文件.............. 8
2.实现可伸缩性列表的的构建与过滤 .... 12
3.GPS 定位功能的实现 ........... 15
4.Widget 窗体小部件的更新 .. 18
功能测试 ..............19
结论 ........23
由上述的需求,现将系统分为三大模块:天气显示界面模块、预报城市设置
模块与 Widget 桌面小部件模块。各系统模块功能如下:
1). 天气显示界面模块
显示指定城市三天内的天气状况,包括日期、城市名称、温度、风力与当
日的建议,用户可通过按菜单键来显示菜单更新当前天气与设置天气显示的界面
背景,以及跳转至设置预报城市界面来更换预报城市。
2). 预报城市设置模块
由自动设置预报城市与手动设置二部分组成,自动设置实现 GPS 定位功
能,自动确定当前用户所在地;而手动设置则通过可伸展性下拉列表单击选择系
统数据库中预存的城市来进行设置,同时为了方便用户查找,支持以输入框的形
式来过滤查询预报城市。当单击选中城市时跳转至天气显示界面,来显示该城市
当三天内的天气状况;第一次运行时自动跳到该界面。
3). Widget 桌面小部件模块
为了方便用户实时了解天气状况,特别添加在 Android 系统桌面上显示
当前天气与时间的天气小部件,使用户拿起手机的第一时刻就能了解天气,同时
当用户单击小部件时,自动跳转至天气显示界面,显示三天内的详细天气。
论文文件预览:
共37文件夹,125个文件,文件总大小:7.60MB,压缩后大小:7.36MB
- 毕业设计-基于android平台的手机天气预报系统设计
- xuehai.net
- 手机天气预报系统
- 手机天气预报系统毕业设计
- assets
- bin
- classes
- com
- weather
- app
MainActivity.class [9.02KB]
R.class [680.00B]
R$attr.class [331.00B]
R$color.class [576.00B]
R$drawable.class [1.66KB]
R$id.class [1.66KB]
R$layout.class [481.00B]
R$menu.class [389.00B]
R$raw.class [382.00B]
R$string.class [821.00B]
R$xml.class [386.00B]
SetCityActivity.class [14.17KB]
SetCityActivity$1.class [1.93KB]
SetCityActivity$1$1.class [2.95KB]
SetCityActivity$2.class [1.50KB]
SetCityActivity$3.class [1.96KB]
SetCityActivity$GoToMainActivity.class [2.73KB]
SetCityActivity$LocateHandler.class [1.92KB]
SetCityActivity$MyHandler.class [1.98KB]
SetCityActivity$MyHandler$1.class [2.23KB]
UpdateWidgetService.class [3.08KB]
WeatherWidget.class [6.12KB]
- comp
GPSListAdapter.class [1.44KB]
MyListAdapter.class [4.19KB]
MyListAdapter$CityFilter.class [3.94KB]
- utils
LocationXMLParser.class [2.70KB]
WeaterInfoParser.class [1.16KB]
WebAccessTools.class [2.49KB]
- dao
DBHelper.class [3.17KB]
- res
- drawable-hdpi
ic_launcher.png [3.87KB]
item_bg.png [327.00B]
item_foot.png [888.00B]
item_mid.png [1.09KB]
item_top.png [425.00B]
menu_city_manager.png [2.02KB]
menu_diy.png [3.51KB]
menu_update.png [2.70KB]
top_bar.png [900.00B]
weathericon_condition_01.png [116.43KB]
weathericon_condition_02.png [81.28KB]
weathericon_condition_03.png [88.94KB]
weathericon_condition_04.png [59.66KB]
weathericon_condition_05.png [56.36KB]
weathericon_condition_06.png [119.71KB]
weathericon_condition_07.png [88.10KB]
weathericon_condition_08.png [55.96KB]
weathericon_condition_09.png [70.22KB]
weathericon_condition_10.png [82.05KB]
weathericon_condition_11.png [54.28KB]
weathericon_condition_12.png [66.56KB]
weathericon_condition_13.png [59.34KB]
weathericon_condition_14.png [64.31KB]
weathericon_condition_15.png [98.81KB]
weathericon_condition_16.png [68.01KB]
weathericon_condition_17.png [38.23KB]
widget_bg.png [9.27KB]
- drawable-ldpi
ic_launcher.png [1.50KB]
logo.png [6.47KB]
- drawable-mdpi
gps3.png [1.31KB]
ic_launcher.png [2.15KB]
WeatherSystem.apk [1.64MB]
classes.dex [42.54KB]
resources.ap_ [1.62MB]
- res
- drawable-hdpi
app_bg01.jpg [47.98KB]
app_bg02.jpg [91.16KB]
app_bg03.jpg [83.11KB]
app_bg04.jpg [76.17KB]
ic_launcher.png [4.05KB]
item_bg.png [327.00B]
item_foot.png [888.00B]
item_mid.png [1.09KB]
item_top.png [425.00B]
menu_city_manager.png [2.02KB]
menu_diy.png [3.51KB]
menu_update.png [2.70KB]
top_bar.png [900.00B]
weathericon_condition_01.png [116.43KB]
weathericon_condition_02.png [81.28KB]
weathericon_condition_03.png [88.94KB]
weathericon_condition_04.png [59.66KB]
weathericon_condition_05.png [56.36KB]
weathericon_condition_06.png [119.71KB]
weathericon_condition_07.png [88.10KB]
weathericon_condition_08.png [55.96KB]
weathericon_condition_09.png [70.22KB]
weathericon_condition_10.png [82.05KB]
weathericon_condition_11.png [54.28KB]
weathericon_condition_12.png [66.56KB]
weathericon_condition_13.png [59.34KB]
weathericon_condition_14.png [64.31KB]
weathericon_condition_15.png [98.81KB]
weathericon_condition_16.png [68.01KB]
weathericon_condition_17.png [38.23KB]
widget_bg.png [9.27KB]
- drawable-ldpi
ic_launcher.png [1.68KB]
logo.png [9.13KB]
- drawable-mdpi
gps3.png [1.31KB]
ic_launcher.png [2.51KB]
- layout
gps.xml [786.00B]
main.xml [9.73KB]
set_city.xml [1.72KB]
widget_layout.xml [3.95KB]
- menu
configure_menu.xml [1.26KB]
- raw
db_weather.db [90.00KB]
- values
color.xml [373.00B]
strings.xml [805.00B]
- xml
weather_widget.xml [368.00B]
- gen
- com
- weather
- app
R.java [6.29KB]
- src
- com
- weather
- app
MainActivity.java [14.25KB]
SetCityActivity.java [21.49KB]
UpdateWidgetService.java [2.64KB]
WeatherWidget.java [6.32KB]
- comp
GPSListAdapter.java [1.63KB]
MyListAdapter.java [9.96KB]
- dao
DBHelper.java [3.04KB]
- utils
LocationXMLParser.java [3.33KB]
WeaterInfoParser.java [1.02KB]
WebAccessTools.java [2.24KB]
.classpath [364.00B]
.project [849.00B]
AndroidManifest.xml [2.02KB]
proguard.cfg [1.22KB]
project.properties [360.00B]
weatherInfo.txt [4.80KB]
手机天气预报系统毕业设计.pdf [1.20MB]
下载地址: