Android Open Source - YahooWeather Yahoo Weather Consts






From Project

Back to project page YahooWeather.

License

The source code is released under:

GNU General Public License

If you think the Android project YahooWeather 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 com.imlongluo.weather.apis;
//from   w  ww. j  a  v a  2 s. c  o m
public class YahooWeatherConsts {

    public static final String XML_TAG_WOEID_QUALITY = "quality";
    public static final String XML_TAG_WOEID_LATITUDE = "latitude";
    public static final String XML_TAG_WOEID_LONGITUDE = "longitude";
    public static final String XML_TAG_WOEID_OFFSETLATITUDE = "offsetlat";
    public static final String XML_TAG_WOEID_OFFSETLONGITUDE = "offsetlon";
    public static final String XML_TAG_WOEID_RADIUS = "radius";
    public static final String XML_TAG_WOEID_NAME = "name";
    public static final String XML_TAG_WOEID_ADDITION = "addition";
    public static final String XML_TAG_WOEID_POSTAL = "postal";
    public static final String XML_TAG_WOEID_NEIGHBORHOOD = "neighborhood";
    public static final String XML_TAG_WOEID_CITY = "city";
    public static final String XML_TAG_WOEID_COUNTY = "county";
    public static final String XML_TAG_WOEID_COUNTRY = "country";
    public static final String XML_TAG_WOEID_COUNTRYCODE = "countrycode";
    public static final String XML_TAG_WOEID_STATE = "state";
    public static final String XML_TAG_WOEID_STATECODE = "statecode";
    public static final String XML_TAG_WOEID_WOEID = "woeid";

    public static final String[] WOEID_RESULT_TAG_LSIT = new String[] { XML_TAG_WOEID_QUALITY,
            XML_TAG_WOEID_LATITUDE, XML_TAG_WOEID_LONGITUDE, XML_TAG_WOEID_OFFSETLATITUDE,
            XML_TAG_WOEID_OFFSETLONGITUDE, XML_TAG_WOEID_RADIUS, XML_TAG_WOEID_NAME,
            XML_TAG_WOEID_ADDITION, XML_TAG_WOEID_POSTAL, XML_TAG_WOEID_NEIGHBORHOOD,
            XML_TAG_WOEID_CITY, XML_TAG_WOEID_COUNTY, XML_TAG_WOEID_COUNTRY,
            XML_TAG_WOEID_COUNTRYCODE, XML_TAG_WOEID_STATE, XML_TAG_WOEID_STATECODE,
            XML_TAG_WOEID_WOEID, };

    public static final String[] CONDITION_LIST = new String[] { "tornado", "tropical storm",
            "hurricane", "severe thunderstorms", "thunderstorms", "mixed rain and snow",
            "mixed rain and sleet", "mixed snow and sleet", "freezing drizzle", "drizzle",
            "freezing rain", "showers", "showers", "snow flurries", "light snow showers",
            "blowing snow", "snow", "hail", "sleet", "dust", "foggy", "haze", "smoky", "blustery",
            "windy", "cold", "cloudy", "mostly cloudy (night)", "mostly cloudy (day)",
            "partly cloudy (night)", "partly cloudy (day)", "clear (night)", "sunny",
            "fair (night)", "fair (day)", "mixed rain and hail", "hot", "isolated thunderstorms",
            "scattered thunderstorms", "scattered thunderstorms", "scattered showers",
            "heavy snow", "scattered snow showers", "heavy snow", "partly cloudy",
            "thundershowers", "snow showers", "isolated thundershowers", "not available", };

    public static String getConditionByCode(int code) {
        return CONDITION_LIST[code];
    }

}




Java Source Code List

cn.sharesdk.demo.wxapi.WXEntryActivity.java
cn.sharesdk.onekeyshare.CustomerLogo.java
cn.sharesdk.onekeyshare.EditPage.java
cn.sharesdk.onekeyshare.FollowList.java
cn.sharesdk.onekeyshare.OnekeyShare.java
cn.sharesdk.onekeyshare.PicViewer.java
cn.sharesdk.onekeyshare.PlatformGridView.java
cn.sharesdk.onekeyshare.Shake2Share.java
cn.sharesdk.onekeyshare.ShareContentCustomizeCallback.java
cn.sharesdk.onekeyshare.ShareCore.java
com.imlongluo.weather.MainActivity.java
com.imlongluo.weather.WeatherApplication.java
com.imlongluo.weather.apis.AsciiUtils.java
com.imlongluo.weather.apis.ImageUtils.java
com.imlongluo.weather.apis.NetworkUtils.java
com.imlongluo.weather.apis.UserLocationUtils.java
com.imlongluo.weather.apis.WOEIDInfo.java
com.imlongluo.weather.apis.WOEIDUtils.java
com.imlongluo.weather.apis.WeatherInfo.java
com.imlongluo.weather.apis.YahooWeatherConsts.java
com.imlongluo.weather.apis.YahooWeatherExceptionListener.java
com.imlongluo.weather.apis.YahooWeatherInfoListener.java
com.imlongluo.weather.apis.YahooWeatherLog.java
com.imlongluo.weather.apis.YahooWeather.java
com.imlongluo.weather.lbs.LocationGetter.java
com.imlongluo.weather.lbs.LocationManagerActivity.java
com.imlongluo.weather.settings.SettingsActivity.java
com.imlongluo.weather.share.ShareActivity.java
com.imlongluo.weather.utils.Constants.java
com.imlongluo.weather.utils.Utils.java