实例介绍
用webserver提供的接口,编写的一个天气预报小实例,简单有界面,供参考。
【实例截图】
【核心代码】
Weather
└── Weather
├── AndroidManifest.xml
├── bin
│ ├── AndroidManifest.xml
│ ├── R.txt
│ ├── Weather.apk
│ ├── classes
│ │ ├── android
│ │ │ └── support
│ │ │ └── v7
│ │ │ └── appcompat
│ │ │ ├── R$anim.class
│ │ │ ├── R$attr.class
│ │ │ ├── R$bool.class
│ │ │ ├── R$color.class
│ │ │ ├── R$dimen.class
│ │ │ ├── R$drawable.class
│ │ │ ├── R$id.class
│ │ │ ├── R$integer.class
│ │ │ ├── R$layout.class
│ │ │ ├── R$string.class
│ │ │ ├── R$style.class
│ │ │ ├── R$styleable.class
│ │ │ └── R.class
│ │ └── com
│ │ └── example
│ │ ├── domain
│ │ │ └── Weather.class
│ │ ├── server
│ │ │ └── WeatherService.class
│ │ └── weather
│ │ ├── BuildConfig.class
│ │ ├── MainActivity$1.class
│ │ ├── MainActivity$2.class
│ │ ├── MainActivity$mythread.class
│ │ ├── MainActivity.class
│ │ ├── R$anim.class
│ │ ├── R$attr.class
│ │ ├── R$bool.class
│ │ ├── R$color.class
│ │ ├── R$dimen.class
│ │ ├── R$drawable.class
│ │ ├── R$id.class
│ │ ├── R$integer.class
│ │ ├── R$layout.class
│ │ ├── R$menu.class
│ │ ├── R$string.class
│ │ ├── R$style.class
│ │ ├── R$styleable.class
│ │ ├── R.class
│ │ ├── WeatherForecast$1.class
│ │ ├── WeatherForecast$2.class
│ │ ├── WeatherForecast$3.class
│ │ ├── WeatherForecast$4.class
│ │ ├── WeatherForecast$myThread.class
│ │ └── WeatherForecast.class
│ ├── classes.dex
│ ├── dexedLibs
│ │ ├── android-support-v4-eb3b2bd61053fab46f25280f3d139b46.jar
│ │ ├── android-support-v7-appcompat-973962163be4bd45d609a427eff1223e.jar
│ │ ├── appcompat_v7-a8834378d2b90c9bfd78bb1203b0a9da.jar
│ │ ├── ksoap2-android-assembly-3.2.0-jar-with-dependencies-0a56d0a239eeaabd2131f2332919ad93.jar
│ │ └── ksoap2-android-assembly-3.2.0-jar-with-dependencies-79e45da2cce660a14442f2c21f4e48ea.jar
│ ├── jarlist.cache
│ ├── libs
│ │ ├── android-support-v4.jar
│ │ └── ksoap2-android-assembly-3.2.0-jar-with-dependencies.jar
│ ├── res
│ │ └── crunch
│ │ ├── drawable-hdpi
│ │ │ ├── aa_button_gray_normal.9.png
│ │ │ ├── bg_line.png
│ │ │ ├── ic_launcher.png
│ │ │ └── location_tips.9.png
│ │ ├── drawable-mdpi
│ │ │ └── ic_launcher.png
│ │ ├── drawable-xhdpi
│ │ │ └── ic_launcher.png
│ │ └── drawable-xxhdpi
│ │ └── ic_launcher.png
│ └── resources.ap_
├── gen
│ ├── android
│ │ └── support
│ │ └── v7
│ │ └── appcompat
│ │ └── R.java
│ └── com
│ └── example
│ └── weather
│ ├── BuildConfig.java
│ └── R.java
├── ic_launcher-web.png
├── libs
│ └── ksoap2-android-assembly-3.2.0-jar-with-dependencies.jar
├── proguard-project.txt
├── project.properties
├── res
│ ├── drawable-hdpi
│ │ ├── a_0.gif
│ │ ├── a_1.gif
│ │ ├── a_10.gif
│ │ ├── a_11.gif
│ │ ├── a_12.gif
│ │ ├── a_13.gif
│ │ ├── a_14.gif
│ │ ├── a_15.gif
│ │ ├── a_16.gif
│ │ ├── a_17.gif
│ │ ├── a_18.gif
│ │ ├── a_19.gif
│ │ ├── a_2.gif
│ │ ├── a_20.gif
│ │ ├── a_21.gif
│ │ ├── a_22.gif
│ │ ├── a_23.gif
│ │ ├── a_24.gif
│ │ ├── a_25.gif
│ │ ├── a_26.gif
│ │ ├── a_27.gif
│ │ ├── a_28.gif
│ │ ├── a_29.gif
│ │ ├── a_3.gif
│ │ ├── a_30.gif
│ │ ├── a_31.gif
│ │ ├── a_4.gif
│ │ ├── a_5.gif
│ │ ├── a_6.gif
│ │ ├── a_7.gif
│ │ ├── a_8.gif
│ │ ├── a_9.gif
│ │ ├── a_nothing.gif
│ │ ├── aa_button_gray_normal.9.png
│ │ ├── b_0.gif
│ │ ├── b_1.gif
│ │ ├── b_10.gif
│ │ ├── b_11.gif
│ │ ├── b_12.gif
│ │ ├── b_13.gif
│ │ ├── b_14.gif
│ │ ├── b_15.gif
│ │ ├── b_16.gif
│ │ ├── b_17.gif
│ │ ├── b_18.gif
│ │ ├── b_19.gif
│ │ ├── b_2.gif
│ │ ├── b_20.gif
│ │ ├── b_21.gif
│ │ ├── b_22.gif
│ │ ├── b_23.gif
│ │ ├── b_24.gif
│ │ ├── b_25.gif
│ │ ├── b_26.gif
│ │ ├── b_27.gif
│ │ ├── b_28.gif
│ │ ├── b_29.gif
│ │ ├── b_3.gif
│ │ ├── b_30.gif
│ │ ├── b_31.gif
│ │ ├── b_4.gif
│ │ ├── b_5.gif
│ │ ├── b_6.gif
│ │ ├── b_7.gif
│ │ ├── b_8.gif
│ │ ├── b_9.gif
│ │ ├── b_nothing.gif
│ │ ├── bg_line.png
│ │ ├── bg_rain.jpg
│ │ ├── bg_snow.jpg
│ │ ├── bg_sunny.jpg
│ │ ├── bg_thunderstorms.jpg
│ │ ├── ic_launcher.png
│ │ ├── location_tips.9.png
│ │ ├── nothing.gif
│ │ ├── processbar_color.xml
│ │ ├── r_b.gif
│ │ ├── r_t1.gif
│ │ ├── tem1.gif
│ │ ├── tem2.gif
│ │ ├── tem3.gif
│ │ ├── tem4.gif
│ │ └── tem5.gif
│ ├── drawable-mdpi
│ │ └── ic_launcher.png
│ ├── drawable-xhdpi
│ │ └── ic_launcher.png
│ ├── drawable-xxhdpi
│ │ └── ic_launcher.png
│ ├── layout
│ │ ├── activity_main.xml
│ │ └── activity_weather.xml
│ ├── menu
│ │ └── weather.xml
│ ├── values
│ │ ├── dimens.xml
│ │ ├── strings.xml
│ │ └── styles.xml
│ ├── values-v11
│ │ └── styles.xml
│ └── values-v14
│ └── styles.xml
└── src
└── com
└── example
├── domain
│ └── Weather.java
├── server
│ └── WeatherService.java
└── weather
├── MainActivity.java
└── WeatherForecast.java
45 directories, 166 files
标签:
相关软件
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论