Android Open Source - MWM-for-Android-Gen1 Weather Current Condition






From Project

Back to project page MWM-for-Android-Gen1.

License

The source code is released under:

Apache License

If you think the Android project MWM-for-Android-Gen1 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 org.anddev.android.weatherforecast.weather;
/*from ww  w  . j  av a 2  s. c  o  m*/
/**
 * Holds the information between the <current_conditions>-tag of what the Google
 * Weather API returned.
 */
public class WeatherCurrentCondition {

  // ===========================================================
  // Fields
  // ===========================================================

  private String dayofWeek = null;
  private Integer tempCelcius = null;
  private Integer tempFahrenheit = null;
  private String iconURL = null;
  private String condition = null;
  private String windCondition = null;
  private String humidity = null;
  private String city = null;

  // ===========================================================
  // Constructors
  // ===========================================================

  public WeatherCurrentCondition() {

  }

  // ===========================================================
  // Getter & Setter
  // ===========================================================

  public String getCity() {
    return this.city;
  }
  
  public String getDayofWeek() {
    return this.dayofWeek;
  }

  public void setDayofWeek(String dayofWeek) {
    this.dayofWeek = dayofWeek;
  }

  public Integer getTempCelcius() {
    return this.tempCelcius;
  }

  public void setTempCelcius(Integer temp) {
    this.tempCelcius = temp;
  }

  public Integer getTempFahrenheit() {
    return this.tempFahrenheit;
  }

  public void setTempFahrenheit(Integer temp) {
    this.tempFahrenheit = temp;
  }

  public String getIconURL() {
    return this.iconURL;
  }

  public void setCity(String city) {
    this.city = city;
  }
  
  public void setIconURL(String iconURL) {
    this.iconURL = iconURL;
  }

  public String getCondition() {
    return this.condition;
  }

  public void setCondition(String condition) {
    this.condition = condition;
  }

  public String getWindCondition() {
    return this.windCondition;
  }

  public void setWindCondition(String windCondition) {
    this.windCondition = windCondition;
  }

  public String getHumidity() {
    return this.humidity;
  }

  public void setHumidity(String humidity) {
    this.humidity = humidity;
  }
}




Java Source Code List

org.anddev.android.weatherforecast.weather.GoogleWeatherHandler.java
org.anddev.android.weatherforecast.weather.WeatherCurrentCondition.java
org.anddev.android.weatherforecast.weather.WeatherForecastCondition.java
org.anddev.android.weatherforecast.weather.WeatherSet.java
org.anddev.android.weatherforecast.weather.WeatherUtils.java
org.metawatch.manager.AlarmReceiver.java
org.metawatch.manager.ApiIntentReceiver.java
org.metawatch.manager.Application.java
org.metawatch.manager.BootUpReceiver.java
org.metawatch.manager.CallStateListener.java
org.metawatch.manager.CallVibrate.java
org.metawatch.manager.Call.java
org.metawatch.manager.DeviceSelection.java
org.metawatch.manager.GmailMonitor.java
org.metawatch.manager.Idle.java
org.metawatch.manager.ImageViewer.java
org.metawatch.manager.IntentReceiver.java
org.metawatch.manager.MediaControl.java
org.metawatch.manager.Message.java
org.metawatch.manager.MetaWatchService.java
org.metawatch.manager.MetaWatch.java
org.metawatch.manager.Monitors.java
org.metawatch.manager.NotificationBuilder.java
org.metawatch.manager.Notification.java
org.metawatch.manager.Protocol.java
org.metawatch.manager.Settings.java
org.metawatch.manager.TestSmsLoop.java
org.metawatch.manager.Test.java
org.metawatch.manager.Utils.java