package com.example.forecast.bean;
import java.util.List;
public class WeatherBean {
/**
* error : 0
* status : success
* date : 2020-08-02
* results : [{"currentCity":"泉州","pm25":"50","index":[{"des":"天气炎热,建议着短衫、短裙、短裤、薄型T恤衫等清凉夏季服装。","tipt":"穿衣指数","title":"穿衣","zs":"炎热"},{"des":"较不宜洗车,未来一天无雨,风力较大,如果执意擦洗汽车,要做好蒙上污垢的心理准备。","tipt":"洗车指数","title":"洗车","zs":"较不宜"},{"des":"各项气象条件适宜,发生感冒机率较低。但请避免长期处于空调房间中,以防感冒。","tipt":"感冒指数","title":"感冒","zs":"少发"},{"des":"天气较好,但因风力较强,在户外要选择合适的运动;另外考虑到高温天气,建议停止高强度运动。","tipt":"运动指数","title":"运动","zs":"较不宜"},{"des":"紫外线辐射极强,建议涂擦SPF20以上、PA++的防晒护肤品,尽量避免暴露于日光下。","tipt":"紫外线强度指数","title":"紫外线强度","zs":"很强"}],"weather_data":[{"date":"周日 08月02日 (实时:29℃)","dayPictureUrl":"http://api.map.baidu.com/images/weather/day/qing.png","nightPictureUrl":"http://api.map.baidu.com/images/weather/night/qing.png","weather":"晴","wind":"南风3-4级","temperature":"35 ~ 26℃"},{"date":"周一","dayPictureUrl":"http://api.map.baidu.com/images/weather/day/xiaoyu.png","nightPictureUrl":"http://api.map.baidu.com/images/weather/night/xiaoyu.png","weather":"小雨","wind":"东南风3-4级","temperature":"34 ~ 26℃"},{"date":"周二","dayPictureUrl":"http://api.map.baidu.com/images/weather/day/dayu.png","nightPictureUrl":"http://api.map.baidu.com/images/weather/night/xiaoyu.png","weather":"大雨转小雨","wind":"南风4-5级","temperature":"30 ~ 26℃"},{"date":"周三","dayPictureUrl":"http://api.map.baidu.com/images/weather/day/xiaoyu.png","nightPictureUrl":"http://api.map.baidu.com/images/weather/night/duoyun.png","weather":"小雨转多云","wind":"南风4-5级","temperature":"31 ~ 26℃"}]}]
*/
private int error;
private String status;
private String date;
private List<ResultsBean> results;
public int getError() {
return error;
}
public void setError(int error) {
this.error = error;
}
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
public String getDate() {
return date;
}
public void setDate(String date) {
this.date = date;
}
public List<ResultsBean> getResults() {
return results;
}
public void setResults(List<ResultsBean> results) {
this.results = results;
}
public static class ResultsBean {
/**
* currentCity : 泉州
* pm25 : 50
* index : [{"des":"天气炎热,建议着短衫、短裙、短裤、薄型T恤衫等清凉夏季服装。","tipt":"穿衣指数","title":"穿衣","zs":"炎热"},{"des":"较不宜洗车,未来一天无雨,风力较大,如果执意擦洗汽车,要做好蒙上污垢的心理准备。","tipt":"洗车指数","title":"洗车","zs":"较不宜"},{"des":"各项气象条件适宜,发生感冒机率较低。但请避免长期处于空调房间中,以防感冒。","tipt":"感冒指数","title":"感冒","zs":"少发"},{"des":"天气较好,但因风力较强,在户外要选择合适的运动;另外考虑到高温天气,建议停止高强度运动。","tipt":"运动指数","title":"运动","zs":"较不宜"},{"des":"紫外线辐射极强,建议涂擦SPF20以上、PA++的防晒护肤品,尽量避免暴露于日光下。","tipt":"紫外线强度指数","title":"紫外线强度","zs":"很强"}]
* weather_data : [{"date":"周日 08月02日 (实时:29℃)","dayPictureUrl":"http://api.map.baidu.com/images/weather/day/qing.png","nightPictureUrl":"http://api.map.baidu.com/images/weather/night/qing.png","weather":"晴","wind":"南风3-4级","temperature":"35 ~ 26℃"},{"date":"周一","dayPictureUrl":"http://api.map.baidu.com/images/weather/day/xiaoyu.png","nightPictureUrl":"http://api.map.baidu.com/images/weather/night/xiaoyu.png","weather":"小雨","wind":"东南风3-4级","temperature":"34 ~ 26℃"},{"date":"周二","dayPictureUrl":"http://api.map.baidu.com/images/weather/day/dayu.png","nightPictureUrl":"http://api.map.baidu.com/images/weather/night/xiaoyu.png","weather":"大雨转小雨","wind":"南风4-5级","temperature":"30 ~ 26℃"},{"date":"周三","dayPictureUrl":"http://api.map.baidu.com/images/weather/day/xiaoyu.png","nightPictureUrl":"http://api.map.baidu.com/images/weather/night/duoyun.png","weather":"小雨转多云","wind":"南风4-5级","temperature":"31 ~ 26℃"}]
*/
private String currentCity;
private String pm25;
private List<IndexBean> index;
private List<WeatherDataBean> weather_data;
public String getCurrentCity() {
return currentCity;
}
public void setCurrentCity(String currentCity) {
this.currentCity = currentCity;
}
public String getPm25() {
return pm25;
}
public void setPm25(String pm25) {
this.pm25 = pm25;
}
public List<IndexBean> getIndex() {
return index;
}
public void setIndex(List<IndexBean> index) {
this.index = index;
}
public List<WeatherDataBean> getWeather_data() {
return weather_data;
}
public void setWeather_data(List<WeatherDataBean> weather_data) {
this.weather_data = weather_data;
}
public static class IndexBean {
/**
* des : 天气炎热,建议着短衫、短裙、短裤、薄型T恤衫等清凉夏季服装。
* tipt : 穿衣指数
* title : 穿衣
* zs : 炎热
*/
private String des;
private String tipt;
private String title;
private String zs;
public String getDes() {
return des;
}
public void setDes(String des) {
this.des = des;
}
public String getTipt() {
return tipt;
}
public void setTipt(String tipt) {
this.tipt = tipt;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public String getZs() {
return zs;
}
public void setZs(String zs) {
this.zs = zs;
}
}
public static class WeatherDataBean {
/**
* date : 周日 08月02日 (实时:29℃)
* dayPictureUrl : http://api.map.baidu.com/images/weather/day/qing.png
* nightPictureUrl : http://api.map.baidu.com/images/weather/night/qing.png
* weather : 晴
* wind : 南风3-4级
* temperature : 35 ~ 26℃
*/
private String date;
private String dayPictureUrl;
private String nightPictureUrl;
private String weather;
private String wind;
private String temperature;
public String getDate() {
return date;
}
public void setDate(String date) {
this.date = date;
}
public String getDayPictureUrl() {
return dayPictureUrl;
}
public void setDayPictureUrl(String dayPictureUrl) {
this.dayPictureUrl = dayPictureUrl;
}
public String getNightPic
没有合适的资源?快使用搜索试试~ 我知道了~
期末大作业基于android的天气预报app系统源码(拥有查看天气-城市管理等功能).zip
共97个文件
png:37个
xml:25个
java:20个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
5星 · 超过95%的资源 3 下载量 166 浏览量
2022-12-07
00:00:07
上传
评论 2
收藏 2.97MB ZIP 举报
温馨提示
基于android的天气预报app,拥有查看天气,城市管理等功能 【特别强调】 1、csdn上资源保证是完整最新,会不定期更新优化; 2、请用自己的账号在csdn官网下载,若通过第三方代下,博主不对您下载的资源作任何保证,且不提供任何形式的技术支持和答疑!!!
资源推荐
资源详情
资源评论
收起资源包目录
基于android的天气预报app系统源码(拥有查看天气_城市管理等功能).zip (97个子文件)
gradlew.bat 2KB
gradlew 5KB
gradle.properties 1KB
app
proguard-rules.pro 750B
src
test
java
com
example
forecast
ExampleUnitTest.java 381B
androidTest
java
com
example
forecast
ExampleInstrumentedTest.java 754B
main
res
mipmap-xxxhdpi
ic_launcher.png 10KB
ic_launcher_round.png 16KB
drawable-hdpi
icon_car.png 2KB
more_share.png 2KB
bg5.jpg 8KB
a2.png 1KB
bg2.png 54KB
more_cache.png 2KB
icon_cloth.png 2KB
more_version.png 2KB
a3.png 1KB
bg3.jpg 10KB
icon_sport.png 3KB
more_bg.png 1KB
icon_ganmao.png 3KB
bg.png 10KB
icon_search.png 2KB
icon_light.png 2KB
icon_back.png 2KB
icon_more.png 466B
icon.png 98KB
icon_upload.png 2KB
bg4.png 684KB
a1.png 222B
icon_laji.png 2KB
icon_right.png 870B
icon_error.png 2KB
icon_add.png 1KB
icon_write.png 2KB
drawable-xhdpi
icon.png 10KB
drawable
main_bg.xml 237B
et_bg.xml 219B
ic_launcher_background.xml 5KB
drawable-xxhdpi
icon.png 19KB
mipmap-hdpi
ic_launcher.png 4KB
ic_launcher_round.png 5KB
drawable-v24
ic_launcher_foreground.xml 2KB
values
colors.xml 384B
strings.xml 71B
styles.xml 1KB
mipmap-xxhdpi
ic_launcher.png 8KB
ic_launcher_round.png 12KB
mipmap-mdpi
ic_launcher.png 3KB
ic_launcher_round.png 3KB
mipmap-xhdpi
ic_launcher.png 5KB
ic_launcher_round.png 7KB
mipmap-anydpi-v26
ic_launcher_round.xml 272B
ic_launcher.xml 272B
layout
frag_main.xml 5KB
activity_add_city.xml 2KB
activity_city_manage.xml 3KB
item_modify.xml 1KB
activity_modify_city.xml 2KB
activity_main.xml 2KB
item_city.xml 3KB
item_hot.xml 381B
item_main_center.xml 986B
java
com
example
forecast
AddCityActivity.java 3KB
db
DBManager.java 2KB
CityInfoHelper.java 714B
fragment
MainFragment.java 6KB
BaseFragment.java 496B
bean
DbBean.java 701B
WeatherBean.java 9KB
MainActivity.java 4KB
adapter
CityDeleteAdapter.java 2KB
CityManageAdapter.java 2KB
CityPagerAdapter.java 1KB
MyApplication.java 266B
task
GetWeatherTask.java 1KB
GetImageTask.java 957B
ModifyCityActivity.java 2KB
util
HttpUtil.java 2KB
StreamTool.java 1KB
CityManageActivity.java 2KB
AndroidManifest.xml 1KB
debug
output-metadata.json 368B
app-debug.apk 3.57MB
.gitignore 6B
build.gradle 1KB
gradle
wrapper
gradle-wrapper.jar 53KB
gradle-wrapper.properties 232B
.idea
render.experimental.xml 173B
codeStyles
Project.xml 3KB
gradle.xml 859B
runConfigurations.xml 564B
misc.xml 357B
jarRepositories.xml 1KB
.gitignore 208B
settings.gradle 44B
build.gradle 530B
共 97 条
- 1
资源评论
- m0_751384372024-06-27怎么打开使用
- weixin_576488382023-06-13资源质量不错,和资源描述一致,内容详细,对我很有用。
- m0_634453322024-05-27内容与描述一致,超赞的资源,值得借鉴的内容很多,支持!
onnx
- 粉丝: 9801
- 资源: 5603
下载权益
C知道特权
VIP文章
课程特权
开通VIP
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功