├── .gitignore ├── .idea ├── caches │ └── build_file_checksums.ser ├── codeStyles │ └── Project.xml ├── gradle.xml ├── misc.xml ├── runConfigurations.xml └── vcs.xml ├── app ├── .gitignore ├── build.gradle ├── libs │ └── HeWeather_Public_Android_V2.0.jar ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── com │ │ └── example │ │ └── administrator │ │ └── coolweather │ │ └── ExampleInstrumentedTest.java │ ├── main │ ├── AndroidManifest.xml │ ├── assets │ │ └── litepal.xml │ ├── java │ │ └── com │ │ │ └── example │ │ │ └── administrator │ │ │ └── coolweather │ │ │ ├── ChooseAreaFragment.java │ │ │ ├── MainActivity.java │ │ │ ├── WeatherActivity.java │ │ │ ├── db │ │ │ ├── City.java │ │ │ ├── County.java │ │ │ └── Province.java │ │ │ ├── gson │ │ │ ├── AQI.java │ │ │ ├── Basic.java │ │ │ ├── Forecast.java │ │ │ ├── Lifestyle.java │ │ │ ├── Now.java │ │ │ └── Weather.java │ │ │ ├── service │ │ │ └── AutoUpdateService.java │ │ │ └── util │ │ │ ├── HttpUtil.java │ │ │ └── Utility.java │ └── res │ │ ├── drawable-v24 │ │ └── ic_launcher_foreground.xml │ │ ├── drawable │ │ ├── ic_back.png │ │ ├── ic_home.png │ │ ├── ic_launcher_background.xml │ │ └── logo.png │ │ ├── layout │ │ ├── activity_main.xml │ │ ├── activity_weather.xml │ │ ├── aqi.xml │ │ ├── choose_area.xml │ │ ├── forecast.xml │ │ ├── forecast_item.xml │ │ ├── fragment_choose_area.xml │ │ ├── now.xml │ │ ├── suggestion.xml │ │ └── title.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ └── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── styles.xml │ └── test │ └── java │ └── com │ └── example │ └── administrator │ └── coolweather │ └── ExampleUnitTest.java ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat └── settings.gradle /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tian-Zhen-Yin/WeatherDemo/HEAD/.gitignore -------------------------------------------------------------------------------- /.idea/caches/build_file_checksums.ser: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tian-Zhen-Yin/WeatherDemo/HEAD/.idea/caches/build_file_checksums.ser -------------------------------------------------------------------------------- /.idea/codeStyles/Project.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tian-Zhen-Yin/WeatherDemo/HEAD/.idea/codeStyles/Project.xml -------------------------------------------------------------------------------- /.idea/gradle.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tian-Zhen-Yin/WeatherDemo/HEAD/.idea/gradle.xml -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tian-Zhen-Yin/WeatherDemo/HEAD/.idea/misc.xml -------------------------------------------------------------------------------- /.idea/runConfigurations.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tian-Zhen-Yin/WeatherDemo/HEAD/.idea/runConfigurations.xml -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tian-Zhen-Yin/WeatherDemo/HEAD/.idea/vcs.xml -------------------------------------------------------------------------------- /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /app/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tian-Zhen-Yin/WeatherDemo/HEAD/app/build.gradle -------------------------------------------------------------------------------- /app/libs/HeWeather_Public_Android_V2.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tian-Zhen-Yin/WeatherDemo/HEAD/app/libs/HeWeather_Public_Android_V2.0.jar -------------------------------------------------------------------------------- /app/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tian-Zhen-Yin/WeatherDemo/HEAD/app/proguard-rules.pro -------------------------------------------------------------------------------- /app/src/androidTest/java/com/example/administrator/coolweather/ExampleInstrumentedTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tian-Zhen-Yin/WeatherDemo/HEAD/app/src/androidTest/java/com/example/administrator/coolweather/ExampleInstrumentedTest.java -------------------------------------------------------------------------------- /app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tian-Zhen-Yin/WeatherDemo/HEAD/app/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /app/src/main/assets/litepal.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tian-Zhen-Yin/WeatherDemo/HEAD/app/src/main/assets/litepal.xml -------------------------------------------------------------------------------- /app/src/main/java/com/example/administrator/coolweather/ChooseAreaFragment.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tian-Zhen-Yin/WeatherDemo/HEAD/app/src/main/java/com/example/administrator/coolweather/ChooseAreaFragment.java -------------------------------------------------------------------------------- /app/src/main/java/com/example/administrator/coolweather/MainActivity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tian-Zhen-Yin/WeatherDemo/HEAD/app/src/main/java/com/example/administrator/coolweather/MainActivity.java -------------------------------------------------------------------------------- /app/src/main/java/com/example/administrator/coolweather/WeatherActivity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tian-Zhen-Yin/WeatherDemo/HEAD/app/src/main/java/com/example/administrator/coolweather/WeatherActivity.java -------------------------------------------------------------------------------- /app/src/main/java/com/example/administrator/coolweather/db/City.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tian-Zhen-Yin/WeatherDemo/HEAD/app/src/main/java/com/example/administrator/coolweather/db/City.java -------------------------------------------------------------------------------- /app/src/main/java/com/example/administrator/coolweather/db/County.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tian-Zhen-Yin/WeatherDemo/HEAD/app/src/main/java/com/example/administrator/coolweather/db/County.java -------------------------------------------------------------------------------- /app/src/main/java/com/example/administrator/coolweather/db/Province.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tian-Zhen-Yin/WeatherDemo/HEAD/app/src/main/java/com/example/administrator/coolweather/db/Province.java -------------------------------------------------------------------------------- /app/src/main/java/com/example/administrator/coolweather/gson/AQI.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tian-Zhen-Yin/WeatherDemo/HEAD/app/src/main/java/com/example/administrator/coolweather/gson/AQI.java -------------------------------------------------------------------------------- /app/src/main/java/com/example/administrator/coolweather/gson/Basic.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tian-Zhen-Yin/WeatherDemo/HEAD/app/src/main/java/com/example/administrator/coolweather/gson/Basic.java -------------------------------------------------------------------------------- /app/src/main/java/com/example/administrator/coolweather/gson/Forecast.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tian-Zhen-Yin/WeatherDemo/HEAD/app/src/main/java/com/example/administrator/coolweather/gson/Forecast.java -------------------------------------------------------------------------------- /app/src/main/java/com/example/administrator/coolweather/gson/Lifestyle.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tian-Zhen-Yin/WeatherDemo/HEAD/app/src/main/java/com/example/administrator/coolweather/gson/Lifestyle.java -------------------------------------------------------------------------------- /app/src/main/java/com/example/administrator/coolweather/gson/Now.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tian-Zhen-Yin/WeatherDemo/HEAD/app/src/main/java/com/example/administrator/coolweather/gson/Now.java -------------------------------------------------------------------------------- /app/src/main/java/com/example/administrator/coolweather/gson/Weather.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tian-Zhen-Yin/WeatherDemo/HEAD/app/src/main/java/com/example/administrator/coolweather/gson/Weather.java -------------------------------------------------------------------------------- /app/src/main/java/com/example/administrator/coolweather/service/AutoUpdateService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tian-Zhen-Yin/WeatherDemo/HEAD/app/src/main/java/com/example/administrator/coolweather/service/AutoUpdateService.java -------------------------------------------------------------------------------- /app/src/main/java/com/example/administrator/coolweather/util/HttpUtil.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tian-Zhen-Yin/WeatherDemo/HEAD/app/src/main/java/com/example/administrator/coolweather/util/HttpUtil.java -------------------------------------------------------------------------------- /app/src/main/java/com/example/administrator/coolweather/util/Utility.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tian-Zhen-Yin/WeatherDemo/HEAD/app/src/main/java/com/example/administrator/coolweather/util/Utility.java -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/ic_launcher_foreground.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tian-Zhen-Yin/WeatherDemo/HEAD/app/src/main/res/drawable-v24/ic_launcher_foreground.xml -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tian-Zhen-Yin/WeatherDemo/HEAD/app/src/main/res/drawable/ic_back.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_home.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tian-Zhen-Yin/WeatherDemo/HEAD/app/src/main/res/drawable/ic_home.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_launcher_background.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tian-Zhen-Yin/WeatherDemo/HEAD/app/src/main/res/drawable/ic_launcher_background.xml -------------------------------------------------------------------------------- /app/src/main/res/drawable/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tian-Zhen-Yin/WeatherDemo/HEAD/app/src/main/res/drawable/logo.png -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tian-Zhen-Yin/WeatherDemo/HEAD/app/src/main/res/layout/activity_main.xml -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_weather.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tian-Zhen-Yin/WeatherDemo/HEAD/app/src/main/res/layout/activity_weather.xml -------------------------------------------------------------------------------- /app/src/main/res/layout/aqi.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tian-Zhen-Yin/WeatherDemo/HEAD/app/src/main/res/layout/aqi.xml -------------------------------------------------------------------------------- /app/src/main/res/layout/choose_area.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tian-Zhen-Yin/WeatherDemo/HEAD/app/src/main/res/layout/choose_area.xml -------------------------------------------------------------------------------- /app/src/main/res/layout/forecast.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tian-Zhen-Yin/WeatherDemo/HEAD/app/src/main/res/layout/forecast.xml -------------------------------------------------------------------------------- /app/src/main/res/layout/forecast_item.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tian-Zhen-Yin/WeatherDemo/HEAD/app/src/main/res/layout/forecast_item.xml -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_choose_area.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tian-Zhen-Yin/WeatherDemo/HEAD/app/src/main/res/layout/fragment_choose_area.xml -------------------------------------------------------------------------------- /app/src/main/res/layout/now.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tian-Zhen-Yin/WeatherDemo/HEAD/app/src/main/res/layout/now.xml -------------------------------------------------------------------------------- /app/src/main/res/layout/suggestion.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tian-Zhen-Yin/WeatherDemo/HEAD/app/src/main/res/layout/suggestion.xml -------------------------------------------------------------------------------- /app/src/main/res/layout/title.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tian-Zhen-Yin/WeatherDemo/HEAD/app/src/main/res/layout/title.xml -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tian-Zhen-Yin/WeatherDemo/HEAD/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tian-Zhen-Yin/WeatherDemo/HEAD/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tian-Zhen-Yin/WeatherDemo/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tian-Zhen-Yin/WeatherDemo/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tian-Zhen-Yin/WeatherDemo/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tian-Zhen-Yin/WeatherDemo/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tian-Zhen-Yin/WeatherDemo/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tian-Zhen-Yin/WeatherDemo/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tian-Zhen-Yin/WeatherDemo/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tian-Zhen-Yin/WeatherDemo/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tian-Zhen-Yin/WeatherDemo/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tian-Zhen-Yin/WeatherDemo/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tian-Zhen-Yin/WeatherDemo/HEAD/app/src/main/res/values/colors.xml -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tian-Zhen-Yin/WeatherDemo/HEAD/app/src/main/res/values/strings.xml -------------------------------------------------------------------------------- /app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tian-Zhen-Yin/WeatherDemo/HEAD/app/src/main/res/values/styles.xml -------------------------------------------------------------------------------- /app/src/test/java/com/example/administrator/coolweather/ExampleUnitTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tian-Zhen-Yin/WeatherDemo/HEAD/app/src/test/java/com/example/administrator/coolweather/ExampleUnitTest.java -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tian-Zhen-Yin/WeatherDemo/HEAD/gradle.properties -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tian-Zhen-Yin/WeatherDemo/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tian-Zhen-Yin/WeatherDemo/HEAD/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tian-Zhen-Yin/WeatherDemo/HEAD/gradlew -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tian-Zhen-Yin/WeatherDemo/HEAD/gradlew.bat -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | --------------------------------------------------------------------------------