Android Open Source - MyWeather City






From Project

Back to project page MyWeather.

License

The source code is released under:

Apache License

If you think the Android project MyWeather listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package model;
/*from w  w w  . java  2s .  c  o  m*/
public class City {
  private int id;
  private String cityName;
  private String cityCode;
  private int provinceId;
  
  public int getId() {
    return id;
  }
  public void setId(int id) {
    this.id = id;
  }
  public String getCityName() {
    return cityName;
  }
  public void setCityName(String cityName) {
    this.cityName = cityName;
  }
  public String getCityCode() {
    return cityCode;
  }
  public void setCityCode(String cityCode) {
    this.cityCode = cityCode;
  }
  public int getProvinceId() {
    return provinceId;
  }
  public void setProvinceId(int provinceId) {
    this.provinceId = provinceId;
  }
}




Java Source Code List

activity.ChooseAreaActivity.java
activity.WeatherActivity.java
db.MyWeatherDB.java
db.MyWeatherOpenHelper.java
model.City.java
model.County.java
model.Province.java
receiver.AutoUpdateReceiver.java
service.AutoUpdateService.java
util.HttpCallbackListener.java
util.HttpUtil.java
util.Utility.java