@@ -0,0 +1,1629 @@
+package com.nitu.sunshinewatchface;%0A%0Apublic class Utility %7B%0A    /**%0A     * Helper method to provide the icon resource id according to the weather condition id returned%0A     * by the OpenWeatherMap call.%0A     *%0A     * @param weatherId from OpenWeatherMap API response%0A     * @return resource id for the corresponding icon. -1 if no relation is found.%0A     */%0A    public static int getIconResourceForWeatherCondition(int weatherId) %7B%0A        // Based on weather code data found at:%0A        // http://bugs.openweathermap.org/projects/api/wiki/Weather_Condition_Codes%0A        if (weatherId %3E= 200 && weatherId %3C= 232) %7B%0A            return R.drawable.ic_storm;%0A        %7D else if (weatherId %3E= 300 && weatherId %3C= 321) %7B%0A            return R.drawable.ic_light_rain;%0A        %7D else if (weatherId %3E= 500 && weatherId %3C= 504) %7B%0A            return R.drawable.ic_rain;%0A        %7D else if (weatherId == 511) %7B%0A            return R.drawable.ic_snow;%0A        %7D else if (weatherId %3E= 520 && weatherId %3C= 531) %7B%0A            return R.drawable.ic_rain;%0A        %7D else if (weatherId %3E= 600 && weatherId %3C= 622) %7B%0A            return R.drawable.ic_snow;%0A        %7D else if (weatherId %3E= 701 && weatherId %3C= 761) %7B%0A            return R.drawable.ic_fog;%0A        %7D else if (weatherId == 761 %7C%7C weatherId == 781) %7B%0A            return R.drawable.ic_storm;%0A        %7D else if (weatherId == 800) %7B%0A            return R.drawable.ic_clear;%0A        %7D else if (weatherId == 801) %7B%0A            return R.drawable.ic_light_clouds;%0A        %7D else if (weatherId %3E= 802 && weatherId %3C= 804) %7B%0A            return R.drawable.ic_cloudy;%0A        %7D%0A        return -1;%0A    %7D%0A%7D

add Sunshine Watchface