├── .classpath ├── .gitattributes ├── .gitignore ├── .project ├── .settings └── org.eclipse.jdt.core.prefs ├── AndroidManifest.xml ├── LICENSE.md ├── README.md ├── assets └── litepal.xml ├── bin ├── AndroidManifest.xml ├── SimpleWeather.apk ├── classes.dex ├── classes │ └── com │ │ └── melhc │ │ ├── model │ │ ├── City.class │ │ ├── County.class │ │ └── Province.class │ │ └── simpleweather │ │ ├── BuildConfig.class │ │ ├── R$attr.class │ │ ├── R$dimen.class │ │ ├── R$drawable.class │ │ ├── R$id.class │ │ ├── R$layout.class │ │ ├── R$menu.class │ │ ├── R$string.class │ │ ├── R$style.class │ │ └── R.class ├── dexedLibs │ ├── android-support-v4-908ba5f3bd117629fa4d9d7ad5dca0b2.jar │ └── litepal-1.1.1-2b574c19c4028c8599024258916e1d3b.jar ├── jarlist.cache ├── res │ └── crunch │ │ ├── drawable-hdpi │ │ └── ic_launcher.png │ │ ├── drawable-mdpi │ │ └── ic_launcher.png │ │ ├── drawable-xhdpi │ │ └── ic_launcher.png │ │ └── drawable-xxhdpi │ │ └── ic_launcher.png └── resources.ap_ ├── gen └── com │ └── melhc │ └── simpleweather │ ├── BuildConfig.java │ └── R.java ├── ic_launcher-web.png ├── libs ├── android-support-v4.jar ├── gson-2.2.4.jar ├── litepal-1.1.1.jar └── volley.jar ├── proguard-project.txt ├── project.properties ├── res ├── drawable-hdpi │ ├── home.png │ ├── ic_launcher.png │ ├── logo.png │ └── refresh.png ├── drawable-mdpi │ └── ic_launcher.png ├── drawable-xhdpi │ └── ic_launcher.png ├── drawable-xxhdpi │ └── ic_launcher.png ├── layout │ ├── choose_area.xml │ ├── choose_area_item.xml │ └── weather_layout.xml ├── menu │ └── main.xml ├── values-sw600dp │ └── dimens.xml ├── values-sw720dp-land │ └── dimens.xml ├── values-v11 │ └── styles.xml ├── values-v14 │ └── styles.xml └── values │ ├── attrs.xml │ ├── dimens.xml │ ├── strings.xml │ └── styles.xml └── src └── com └── melhc ├── activity ├── BaseActivity.java ├── ChooseAreaActivity.java └── WeatherActivity.java ├── db └── WeatherDB.java ├── model ├── City.java ├── County.java ├── Province.java ├── Weather.java └── WeatherInfo.java ├── reciever └── AutoUpdateReceiver.java ├── service └── AutoUpdateService.java └── util ├── ActivityCollector.java ├── HttpCallbackListener.java ├── HttpUtil.java ├── LogUtil.java ├── MyApplication.java ├── TopBar.java └── Utility.java /.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | 4 | # Custom for Visual Studio 5 | *.cs diff=csharp 6 | *.sln merge=union 7 | *.csproj merge=union 8 | *.vbproj merge=union 9 | *.fsproj merge=union 10 | *.dbproj merge=union 11 | 12 | # Standard to msysgit 13 | *.doc diff=astextplain 14 | *.DOC diff=astextplain 15 | *.docx diff=astextplain 16 | *.DOCX diff=astextplain 17 | *.dot diff=astextplain 18 | *.DOT diff=astextplain 19 | *.pdf diff=astextplain 20 | *.PDF diff=astextplain 21 | *.rtf diff=astextplain 22 | *.RTF diff=astextplain 23 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Windows image file caches 2 | Thumbs.db 3 | ehthumbs.db 4 | 5 | # Folder config file 6 | Desktop.ini 7 | 8 | # Recycle Bin used on file shares 9 | $RECYCLE.BIN/ 10 | 11 | # Windows Installer files 12 | *.cab 13 | *.msi 14 | *.msm 15 | *.msp 16 | 17 | # ========================= 18 | # Operating System Files 19 | # ========================= 20 | 21 | # OSX 22 | # ========================= 23 | 24 | .DS_Store 25 | .AppleDouble 26 | .LSOverride 27 | 28 | # Icon must end with two \r 29 | Icon 30 | 31 | 32 | # Thumbnails 33 | ._* 34 | 35 | # Files that might appear on external disk 36 | .Spotlight-V100 37 | .Trashes 38 | 39 | # Directories potentially created on remote AFP share 40 | .AppleDB 41 | .AppleDesktop 42 | Network Trash Folder 43 | Temporary Items 44 | .apdisk 45 | bin/ 46 | gen/ 47 | -------------------------------------------------------------------------------- /.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | SimpleWeather 4 | 5 | 6 | 7 | 8 | 9 | com.android.ide.eclipse.adt.ResourceManagerBuilder 10 | 11 | 12 | 13 | 14 | com.android.ide.eclipse.adt.PreCompilerBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.jdt.core.javabuilder 20 | 21 | 22 | 23 | 24 | com.android.ide.eclipse.adt.ApkBuilder 25 | 26 | 27 | 28 | 29 | 30 | com.android.ide.eclipse.adt.AndroidNature 31 | org.eclipse.jdt.core.javanature 32 | 33 | 34 | -------------------------------------------------------------------------------- /.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 3 | org.eclipse.jdt.core.compiler.compliance=1.6 4 | org.eclipse.jdt.core.compiler.source=1.6 5 | -------------------------------------------------------------------------------- /AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 10 | 11 | 12 | 13 | 19 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | bf 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | SimpleWeather 2 | ============= 3 | 4 | 简易天气,使用LitePal数据库框架存储数据,采用Volley框架完成网络数据的收发,运用Gson实现Json数据解析 5 | -------------------------------------------------------------------------------- /assets/litepal.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /bin/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 10 | 11 | 12 | 13 | 19 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /bin/SimpleWeather.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melhc/SimpleWeather/9d358ba79c0300508a1a267743e2c3733c4d5ed1/bin/SimpleWeather.apk -------------------------------------------------------------------------------- /bin/classes.dex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melhc/SimpleWeather/9d358ba79c0300508a1a267743e2c3733c4d5ed1/bin/classes.dex -------------------------------------------------------------------------------- /bin/classes/com/melhc/model/City.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melhc/SimpleWeather/9d358ba79c0300508a1a267743e2c3733c4d5ed1/bin/classes/com/melhc/model/City.class -------------------------------------------------------------------------------- /bin/classes/com/melhc/model/County.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melhc/SimpleWeather/9d358ba79c0300508a1a267743e2c3733c4d5ed1/bin/classes/com/melhc/model/County.class -------------------------------------------------------------------------------- /bin/classes/com/melhc/model/Province.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melhc/SimpleWeather/9d358ba79c0300508a1a267743e2c3733c4d5ed1/bin/classes/com/melhc/model/Province.class -------------------------------------------------------------------------------- /bin/classes/com/melhc/simpleweather/BuildConfig.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melhc/SimpleWeather/9d358ba79c0300508a1a267743e2c3733c4d5ed1/bin/classes/com/melhc/simpleweather/BuildConfig.class -------------------------------------------------------------------------------- /bin/classes/com/melhc/simpleweather/R$attr.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melhc/SimpleWeather/9d358ba79c0300508a1a267743e2c3733c4d5ed1/bin/classes/com/melhc/simpleweather/R$attr.class -------------------------------------------------------------------------------- /bin/classes/com/melhc/simpleweather/R$dimen.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melhc/SimpleWeather/9d358ba79c0300508a1a267743e2c3733c4d5ed1/bin/classes/com/melhc/simpleweather/R$dimen.class -------------------------------------------------------------------------------- /bin/classes/com/melhc/simpleweather/R$drawable.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melhc/SimpleWeather/9d358ba79c0300508a1a267743e2c3733c4d5ed1/bin/classes/com/melhc/simpleweather/R$drawable.class -------------------------------------------------------------------------------- /bin/classes/com/melhc/simpleweather/R$id.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melhc/SimpleWeather/9d358ba79c0300508a1a267743e2c3733c4d5ed1/bin/classes/com/melhc/simpleweather/R$id.class -------------------------------------------------------------------------------- /bin/classes/com/melhc/simpleweather/R$layout.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melhc/SimpleWeather/9d358ba79c0300508a1a267743e2c3733c4d5ed1/bin/classes/com/melhc/simpleweather/R$layout.class -------------------------------------------------------------------------------- /bin/classes/com/melhc/simpleweather/R$menu.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melhc/SimpleWeather/9d358ba79c0300508a1a267743e2c3733c4d5ed1/bin/classes/com/melhc/simpleweather/R$menu.class -------------------------------------------------------------------------------- /bin/classes/com/melhc/simpleweather/R$string.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melhc/SimpleWeather/9d358ba79c0300508a1a267743e2c3733c4d5ed1/bin/classes/com/melhc/simpleweather/R$string.class -------------------------------------------------------------------------------- /bin/classes/com/melhc/simpleweather/R$style.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melhc/SimpleWeather/9d358ba79c0300508a1a267743e2c3733c4d5ed1/bin/classes/com/melhc/simpleweather/R$style.class -------------------------------------------------------------------------------- /bin/classes/com/melhc/simpleweather/R.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melhc/SimpleWeather/9d358ba79c0300508a1a267743e2c3733c4d5ed1/bin/classes/com/melhc/simpleweather/R.class -------------------------------------------------------------------------------- /bin/dexedLibs/android-support-v4-908ba5f3bd117629fa4d9d7ad5dca0b2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melhc/SimpleWeather/9d358ba79c0300508a1a267743e2c3733c4d5ed1/bin/dexedLibs/android-support-v4-908ba5f3bd117629fa4d9d7ad5dca0b2.jar -------------------------------------------------------------------------------- /bin/dexedLibs/litepal-1.1.1-2b574c19c4028c8599024258916e1d3b.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melhc/SimpleWeather/9d358ba79c0300508a1a267743e2c3733c4d5ed1/bin/dexedLibs/litepal-1.1.1-2b574c19c4028c8599024258916e1d3b.jar -------------------------------------------------------------------------------- /bin/jarlist.cache: -------------------------------------------------------------------------------- 1 | # cache for current jar dependency. DO NOT EDIT. 2 | # format is 3 | # Encoding is UTF-8 4 | -------------------------------------------------------------------------------- /bin/res/crunch/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melhc/SimpleWeather/9d358ba79c0300508a1a267743e2c3733c4d5ed1/bin/res/crunch/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melhc/SimpleWeather/9d358ba79c0300508a1a267743e2c3733c4d5ed1/bin/res/crunch/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melhc/SimpleWeather/9d358ba79c0300508a1a267743e2c3733c4d5ed1/bin/res/crunch/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melhc/SimpleWeather/9d358ba79c0300508a1a267743e2c3733c4d5ed1/bin/res/crunch/drawable-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /bin/resources.ap_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melhc/SimpleWeather/9d358ba79c0300508a1a267743e2c3733c4d5ed1/bin/resources.ap_ -------------------------------------------------------------------------------- /gen/com/melhc/simpleweather/BuildConfig.java: -------------------------------------------------------------------------------- 1 | /** Automatically generated file. DO NOT MODIFY */ 2 | package com.melhc.simpleweather; 3 | 4 | public final class BuildConfig { 5 | public final static boolean DEBUG = true; 6 | } -------------------------------------------------------------------------------- /gen/com/melhc/simpleweather/R.java: -------------------------------------------------------------------------------- 1 | /* AUTO-GENERATED FILE. DO NOT MODIFY. 2 | * 3 | * This class was automatically generated by the 4 | * aapt tool from the resource data it found. It 5 | * should not be modified by hand. 6 | */ 7 | 8 | package com.melhc.simpleweather; 9 | 10 | public final class R { 11 | public static final class attr { 12 | /**

Must be a reference to another resource, in the form "@[+][package:]type:name" 13 | or to a theme attribute in the form "?[package:][type:]name". 14 | */ 15 | public static final int leftBackground=0x7f010003; 16 | /**

Must be a reference to another resource, in the form "@[+][package:]type:name" 17 | or to a theme attribute in the form "?[package:][type:]name". 18 | */ 19 | public static final int rightBackground=0x7f010004; 20 | /**

Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character. 21 |

This may also be a reference to a resource (in the form 22 | "@[package:]type:name") or 23 | theme attribute (in the form 24 | "?[package:][type:]name") 25 | containing a value of this type. 26 | */ 27 | public static final int title=0x7f010000; 28 | /**

Must be a color value, in the form of "#rgb", "#argb", 29 | "#rrggbb", or "#aarrggbb". 30 |

This may also be a reference to a resource (in the form 31 | "@[package:]type:name") or 32 | theme attribute (in the form 33 | "?[package:][type:]name") 34 | containing a value of this type. 35 | */ 36 | public static final int titleTextColor=0x7f010002; 37 | /**

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". 38 | Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), 39 | in (inches), mm (millimeters). 40 |

This may also be a reference to a resource (in the form 41 | "@[package:]type:name") or 42 | theme attribute (in the form 43 | "?[package:][type:]name") 44 | containing a value of this type. 45 | */ 46 | public static final int titleTextSize=0x7f010001; 47 | } 48 | public static final class dimen { 49 | /** Default screen margins, per the Android Design guidelines. 50 | 51 | Customize dimensions originally defined in res/values/dimens.xml (such as 52 | screen margins) for sw720dp devices (e.g. 10" tablets) in landscape here. 53 | 54 | */ 55 | public static final int activity_horizontal_margin=0x7f040000; 56 | public static final int activity_vertical_margin=0x7f040001; 57 | } 58 | public static final class drawable { 59 | public static final int home=0x7f020000; 60 | public static final int ic_launcher=0x7f020001; 61 | public static final int logo=0x7f020002; 62 | public static final int refresh=0x7f020003; 63 | } 64 | public static final class id { 65 | public static final int action_settings=0x7f08000c; 66 | public static final int city_name=0x7f080004; 67 | public static final int current_date=0x7f080008; 68 | public static final int list_view=0x7f080001; 69 | public static final int publish_text=0x7f080006; 70 | public static final int refresh_weather=0x7f080005; 71 | public static final int switch_city=0x7f080003; 72 | public static final int temp1=0x7f08000a; 73 | public static final int temp2=0x7f08000b; 74 | public static final int textView1=0x7f080002; 75 | public static final int title_text=0x7f080000; 76 | public static final int weather_desp=0x7f080009; 77 | public static final int weather_info_layout=0x7f080007; 78 | } 79 | public static final class layout { 80 | public static final int choose_area=0x7f030000; 81 | public static final int choose_area_item=0x7f030001; 82 | public static final int weather_layout=0x7f030002; 83 | } 84 | public static final class menu { 85 | public static final int main=0x7f070000; 86 | } 87 | public static final class string { 88 | public static final int a=0x7f050003; 89 | public static final int action_settings=0x7f050001; 90 | public static final int app_name=0x7f050000; 91 | public static final int hello_world=0x7f050002; 92 | } 93 | public static final class style { 94 | /** 95 | Base application theme, dependent on API level. This theme is replaced 96 | by AppBaseTheme from res/values-vXX/styles.xml on newer devices. 97 | 98 | 99 | Theme customizations available in newer API levels can go in 100 | res/values-vXX/styles.xml, while customizations related to 101 | backward-compatibility can go here. 102 | 103 | 104 | Base application theme for API 11+. This theme completely replaces 105 | AppBaseTheme from res/values/styles.xml on API 11+ devices. 106 | 107 | API 11 theme customizations can go here. 108 | 109 | Base application theme for API 14+. This theme completely replaces 110 | AppBaseTheme from BOTH res/values/styles.xml and 111 | res/values-v11/styles.xml on API 14+ devices. 112 | 113 | API 14 theme customizations can go here. 114 | */ 115 | public static final int AppBaseTheme=0x7f060000; 116 | /** Application theme. 117 | All customizations that are NOT specific to a particular API-level can go here. 118 | */ 119 | public static final int AppTheme=0x7f060001; 120 | } 121 | public static final class styleable { 122 | /** Attributes that can be used with a Topball. 123 |

Includes the following attributes:

124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 |
AttributeDescription
{@link #Topball_leftBackground com.melhc.simpleweather:leftBackground}
{@link #Topball_rightBackground com.melhc.simpleweather:rightBackground}
{@link #Topball_title com.melhc.simpleweather:title}
{@link #Topball_titleTextColor com.melhc.simpleweather:titleTextColor}
{@link #Topball_titleTextSize com.melhc.simpleweather:titleTextSize}
134 | @see #Topball_leftBackground 135 | @see #Topball_rightBackground 136 | @see #Topball_title 137 | @see #Topball_titleTextColor 138 | @see #Topball_titleTextSize 139 | */ 140 | public static final int[] Topball = { 141 | 0x7f010000, 0x7f010001, 0x7f010002, 0x7f010003, 142 | 0x7f010004 143 | }; 144 | /** 145 |

This symbol is the offset where the {@link com.melhc.simpleweather.R.attr#leftBackground} 146 | attribute's value can be found in the {@link #Topball} array. 147 | 148 | 149 |

Must be a reference to another resource, in the form "@[+][package:]type:name" 150 | or to a theme attribute in the form "?[package:][type:]name". 151 | @attr name com.melhc.simpleweather:leftBackground 152 | */ 153 | public static final int Topball_leftBackground = 3; 154 | /** 155 |

This symbol is the offset where the {@link com.melhc.simpleweather.R.attr#rightBackground} 156 | attribute's value can be found in the {@link #Topball} array. 157 | 158 | 159 |

Must be a reference to another resource, in the form "@[+][package:]type:name" 160 | or to a theme attribute in the form "?[package:][type:]name". 161 | @attr name com.melhc.simpleweather:rightBackground 162 | */ 163 | public static final int Topball_rightBackground = 4; 164 | /** 165 |

This symbol is the offset where the {@link com.melhc.simpleweather.R.attr#title} 166 | attribute's value can be found in the {@link #Topball} array. 167 | 168 | 169 |

Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character. 170 |

This may also be a reference to a resource (in the form 171 | "@[package:]type:name") or 172 | theme attribute (in the form 173 | "?[package:][type:]name") 174 | containing a value of this type. 175 | @attr name com.melhc.simpleweather:title 176 | */ 177 | public static final int Topball_title = 0; 178 | /** 179 |

This symbol is the offset where the {@link com.melhc.simpleweather.R.attr#titleTextColor} 180 | attribute's value can be found in the {@link #Topball} array. 181 | 182 | 183 |

Must be a color value, in the form of "#rgb", "#argb", 184 | "#rrggbb", or "#aarrggbb". 185 |

This may also be a reference to a resource (in the form 186 | "@[package:]type:name") or 187 | theme attribute (in the form 188 | "?[package:][type:]name") 189 | containing a value of this type. 190 | @attr name com.melhc.simpleweather:titleTextColor 191 | */ 192 | public static final int Topball_titleTextColor = 2; 193 | /** 194 |

This symbol is the offset where the {@link com.melhc.simpleweather.R.attr#titleTextSize} 195 | attribute's value can be found in the {@link #Topball} array. 196 | 197 | 198 |

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". 199 | Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), 200 | in (inches), mm (millimeters). 201 |

This may also be a reference to a resource (in the form 202 | "@[package:]type:name") or 203 | theme attribute (in the form 204 | "?[package:][type:]name") 205 | containing a value of this type. 206 | @attr name com.melhc.simpleweather:titleTextSize 207 | */ 208 | public static final int Topball_titleTextSize = 1; 209 | }; 210 | } 211 | -------------------------------------------------------------------------------- /ic_launcher-web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melhc/SimpleWeather/9d358ba79c0300508a1a267743e2c3733c4d5ed1/ic_launcher-web.png -------------------------------------------------------------------------------- /libs/android-support-v4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melhc/SimpleWeather/9d358ba79c0300508a1a267743e2c3733c4d5ed1/libs/android-support-v4.jar -------------------------------------------------------------------------------- /libs/gson-2.2.4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melhc/SimpleWeather/9d358ba79c0300508a1a267743e2c3733c4d5ed1/libs/gson-2.2.4.jar -------------------------------------------------------------------------------- /libs/litepal-1.1.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melhc/SimpleWeather/9d358ba79c0300508a1a267743e2c3733c4d5ed1/libs/litepal-1.1.1.jar -------------------------------------------------------------------------------- /libs/volley.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melhc/SimpleWeather/9d358ba79c0300508a1a267743e2c3733c4d5ed1/libs/volley.jar -------------------------------------------------------------------------------- /proguard-project.txt: -------------------------------------------------------------------------------- 1 | # To enable ProGuard in your project, edit project.properties 2 | # to define the proguard.config property as described in that file. 3 | # 4 | # Add project specific ProGuard rules here. 5 | # By default, the flags in this file are appended to flags specified 6 | # in ${sdk.dir}/tools/proguard/proguard-android.txt 7 | # You can edit the include path and order by changing the ProGuard 8 | # include property in project.properties. 9 | # 10 | # For more details, see 11 | # http://developer.android.com/guide/developing/tools/proguard.html 12 | 13 | # Add any project specific keep options here: 14 | 15 | # If your project uses WebView with JS, uncomment the following 16 | # and specify the fully qualified class name to the JavaScript interface 17 | # class: 18 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 19 | # public *; 20 | #} 21 | -------------------------------------------------------------------------------- /project.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system edit 7 | # "ant.properties", and override values to adapt the script to your 8 | # project structure. 9 | # 10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): 11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt 12 | 13 | # Project target. 14 | target=android-19 15 | -------------------------------------------------------------------------------- /res/drawable-hdpi/home.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melhc/SimpleWeather/9d358ba79c0300508a1a267743e2c3733c4d5ed1/res/drawable-hdpi/home.png -------------------------------------------------------------------------------- /res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melhc/SimpleWeather/9d358ba79c0300508a1a267743e2c3733c4d5ed1/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /res/drawable-hdpi/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melhc/SimpleWeather/9d358ba79c0300508a1a267743e2c3733c4d5ed1/res/drawable-hdpi/logo.png -------------------------------------------------------------------------------- /res/drawable-hdpi/refresh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melhc/SimpleWeather/9d358ba79c0300508a1a267743e2c3733c4d5ed1/res/drawable-hdpi/refresh.png -------------------------------------------------------------------------------- /res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melhc/SimpleWeather/9d358ba79c0300508a1a267743e2c3733c4d5ed1/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /res/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melhc/SimpleWeather/9d358ba79c0300508a1a267743e2c3733c4d5ed1/res/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /res/drawable-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melhc/SimpleWeather/9d358ba79c0300508a1a267743e2c3733c4d5ed1/res/drawable-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /res/layout/choose_area.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 11 | 12 | 19 | 20 | 21 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /res/layout/choose_area_item.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /res/layout/weather_layout.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 11 | 12 |