Class WeatherSettings


  • public class WeatherSettings
    extends java.lang.Object
    • Field Detail

      • NotificationLEDcolors

        public static final int[] NotificationLEDcolors
      • PREF_CATEGORY_GENERAL

        public static final java.lang.String PREF_CATEGORY_GENERAL
        See Also:
        Constant Field Values
      • PREF_DISPLAY_STATION_GEO

        public static final java.lang.String PREF_DISPLAY_STATION_GEO
        See Also:
        Constant Field Values
      • PREF_DISPLAY_TYPE

        public static final java.lang.String PREF_DISPLAY_TYPE
        See Also:
        Constant Field Values
      • PREF_DISPLAY_LAYOUT

        public static final java.lang.String PREF_DISPLAY_LAYOUT
        See Also:
        Constant Field Values
      • PREF_DISPLAY_BAR

        public static final java.lang.String PREF_DISPLAY_BAR
        See Also:
        Constant Field Values
      • PREF_DISPLAY_SIMPLE_BAR

        public static final java.lang.String PREF_DISPLAY_SIMPLE_BAR
        See Also:
        Constant Field Values
      • PREF_DISPLAY_PRESSURE

        public static final java.lang.String PREF_DISPLAY_PRESSURE
        See Also:
        Constant Field Values
      • PREF_DISPLAY_VISIBILITY

        public static final java.lang.String PREF_DISPLAY_VISIBILITY
        See Also:
        Constant Field Values
      • PREF_DISPLAY_SUNRISE

        public static final java.lang.String PREF_DISPLAY_SUNRISE
        See Also:
        Constant Field Values
      • PREF_DISPLAY_ENDOFDAY_BAR

        public static final java.lang.String PREF_DISPLAY_ENDOFDAY_BAR
        See Also:
        Constant Field Values
      • PREF_DISPLAY_GRADIENT

        public static final java.lang.String PREF_DISPLAY_GRADIENT
        See Also:
        Constant Field Values
      • PREF_DISPLAY_WIND_ARC

        public static final java.lang.String PREF_DISPLAY_WIND_ARC
        See Also:
        Constant Field Values
      • PREF_DISPLAY_WIND_ARC_PERIOD

        public static final java.lang.String PREF_DISPLAY_WIND_ARC_PERIOD
        See Also:
        Constant Field Values
      • PREF_DISPLAY_WIND_TYPE

        public static final java.lang.String PREF_DISPLAY_WIND_TYPE
        See Also:
        Constant Field Values
      • PREF_DISPLAY_WIND_UNIT

        public static final java.lang.String PREF_DISPLAY_WIND_UNIT
        See Also:
        Constant Field Values
      • PREF_DISPLAY_DISTANCE_UNIT

        public static final java.lang.String PREF_DISPLAY_DISTANCE_UNIT
        See Also:
        Constant Field Values
      • PREF_DISPLAY_CROP_PRECIPITATIONCHART

        public static final java.lang.String PREF_DISPLAY_CROP_PRECIPITATIONCHART
        See Also:
        Constant Field Values
      • PREF_DISPLAY_OVERVIEWCHART

        public static final java.lang.String PREF_DISPLAY_OVERVIEWCHART
        See Also:
        Constant Field Values
      • PREF_DISPLAY_OVERVIEWCHART_DAYS

        public static final java.lang.String PREF_DISPLAY_OVERVIEWCHART_DAYS
        See Also:
        Constant Field Values
      • PREF_DISPLAY_OVERVIEWCHART_MINMAXUSE

        public static final java.lang.String PREF_DISPLAY_OVERVIEWCHART_MINMAXUSE
        See Also:
        Constant Field Values
      • PREF_DISPLAY_OVERVIEWCHART_MIN

        public static final java.lang.String PREF_DISPLAY_OVERVIEWCHART_MIN
        See Also:
        Constant Field Values
      • PREF_DISPLAY_OVERVIEWCHART_MAX

        public static final java.lang.String PREF_DISPLAY_OVERVIEWCHART_MAX
        See Also:
        Constant Field Values
      • PREF_WIDGET_OPACITY

        public static final java.lang.String PREF_WIDGET_OPACITY
        See Also:
        Constant Field Values
      • PREF_WIDGET_SHOWDWDNOTE

        public static final java.lang.String PREF_WIDGET_SHOWDWDNOTE
        See Also:
        Constant Field Values
      • PREF_WIDGET_DISPLAYWARNINGS

        public static final java.lang.String PREF_WIDGET_DISPLAYWARNINGS
        See Also:
        Constant Field Values
      • PREF_NOTIFY_WARNINGS

        public static final java.lang.String PREF_NOTIFY_WARNINGS
        See Also:
        Constant Field Values
      • PREF_LAST_VERSION_CODE

        public static final java.lang.String PREF_LAST_VERSION_CODE
        See Also:
        Constant Field Values
      • PREF_SERVE_GADGETBRIDGE

        public static final java.lang.String PREF_SERVE_GADGETBRIDGE
        See Also:
        Constant Field Values
      • PREF_GADGETBRIDGE_PACKAGENAME

        public static final java.lang.String PREF_GADGETBRIDGE_PACKAGENAME
        See Also:
        Constant Field Values
      • PREF_GADGETBRIDGE_FAKE_TIMESTAMP

        public static final java.lang.String PREF_GADGETBRIDGE_FAKE_TIMESTAMP
        See Also:
        Constant Field Values
      • PREF_LOG_TO_LOGCAT

        public static final java.lang.String PREF_LOG_TO_LOGCAT
        See Also:
        Constant Field Values
      • PREF_FAVORITESDATA2

        public static final java.lang.String PREF_FAVORITESDATA2
        See Also:
        Constant Field Values
      • PREF_WARNINGS_DISABLE

        public static final java.lang.String PREF_WARNINGS_DISABLE
        See Also:
        Constant Field Values
      • PREF_WARNINGS_NOTIFY_SEVERITY

        public static final java.lang.String PREF_WARNINGS_NOTIFY_SEVERITY
        See Also:
        Constant Field Values
      • PREF_IS_FIRST_APP_LAUNCH

        public static final java.lang.String PREF_IS_FIRST_APP_LAUNCH
        See Also:
        Constant Field Values
      • PREF_DISABLE_TLS

        public static final java.lang.String PREF_DISABLE_TLS
        See Also:
        Constant Field Values
      • PREF_TEXTFORECAST_FILTER

        public static final java.lang.String PREF_TEXTFORECAST_FILTER
        See Also:
        Constant Field Values
      • PREF_ADMINMAP_SHOW

        public static final java.lang.String PREF_ADMINMAP_SHOW
        See Also:
        Constant Field Values
      • PREF_MAP_DISPLAY_MUNICIPALITIES

        public static final java.lang.String PREF_MAP_DISPLAY_MUNICIPALITIES
        See Also:
        Constant Field Values
      • PREF_MAP_DISPLAY_COUNTIES

        public static final java.lang.String PREF_MAP_DISPLAY_COUNTIES
        See Also:
        Constant Field Values
      • PREF_MAP_DISPLAY_STATES

        public static final java.lang.String PREF_MAP_DISPLAY_STATES
        See Also:
        Constant Field Values
      • PREF_MAP_DISPLAY_SEA_AREAS

        public static final java.lang.String PREF_MAP_DISPLAY_SEA_AREAS
        See Also:
        Constant Field Values
      • PREF_MAP_DISPLAY_COAST_AREAS

        public static final java.lang.String PREF_MAP_DISPLAY_COAST_AREAS
        See Also:
        Constant Field Values
      • PREF_FORCE_NO_MENU_ICONS

        public static final java.lang.String PREF_FORCE_NO_MENU_ICONS
        See Also:
        Constant Field Values
      • PREF_DISPLAY_WIND_IN_RADAR

        public static final java.lang.String PREF_DISPLAY_WIND_IN_RADAR
        See Also:
        Constant Field Values
      • PREF_AREA_DATABASE_READY

        public static final java.lang.String PREF_AREA_DATABASE_READY
        See Also:
        Constant Field Values
      • PREF_AREA_DATABASE_VERSION

        public static final java.lang.String PREF_AREA_DATABASE_VERSION
        See Also:
        Constant Field Values
      • PREF_ALTERNATIVE_ICONS

        public static final java.lang.String PREF_ALTERNATIVE_ICONS
        See Also:
        Constant Field Values
      • PREF_USE_METERED_NETWORKS

        public static final java.lang.String PREF_USE_METERED_NETWORKS
        See Also:
        Constant Field Values
      • PREF_USE_WIFI_ONLY

        public static final java.lang.String PREF_USE_WIFI_ONLY
        See Also:
        Constant Field Values
      • PREF_CLEARNOTIFICATIONS

        public static final java.lang.String PREF_CLEARNOTIFICATIONS
        See Also:
        Constant Field Values
      • PREF_ASKEDFORLOCATIONFLAG

        public static final java.lang.String PREF_ASKEDFORLOCATIONFLAG
        See Also:
        Constant Field Values
      • PREF_ROTATIONMODE

        public static final java.lang.String PREF_ROTATIONMODE
        See Also:
        Constant Field Values
      • PREF_WARNINGS_NOTIFY_LED

        public static final java.lang.String PREF_WARNINGS_NOTIFY_LED
        See Also:
        Constant Field Values
      • PREF_HINTCOUNTER1

        public static final java.lang.String PREF_HINTCOUNTER1
        See Also:
        Constant Field Values
      • PREF_HINTCOUNTER2

        public static final java.lang.String PREF_HINTCOUNTER2
        See Also:
        Constant Field Values
      • PREF_LASTMAPDISPLAYED

        public static final java.lang.String PREF_LASTMAPDISPLAYED
        See Also:
        Constant Field Values
      • PREF_POLLEN_AMBROSIA

        public static final java.lang.String PREF_POLLEN_AMBROSIA
        See Also:
        Constant Field Values
      • PREF_POLLEN_BEIFUSS

        public static final java.lang.String PREF_POLLEN_BEIFUSS
        See Also:
        Constant Field Values
      • PREF_POLLEN_ROGGEN

        public static final java.lang.String PREF_POLLEN_ROGGEN
        See Also:
        Constant Field Values
      • PREF_POLLEN_ESCHE

        public static final java.lang.String PREF_POLLEN_ESCHE
        See Also:
        Constant Field Values
      • PREF_POLLEN_BIRKE

        public static final java.lang.String PREF_POLLEN_BIRKE
        See Also:
        Constant Field Values
      • PREF_POLLEN_HASEL

        public static final java.lang.String PREF_POLLEN_HASEL
        See Also:
        Constant Field Values
      • PREF_POLLEN_ERLE

        public static final java.lang.String PREF_POLLEN_ERLE
        See Also:
        Constant Field Values
      • PREF_POLLEN_GRAESER

        public static final java.lang.String PREF_POLLEN_GRAESER
        See Also:
        Constant Field Values
      • PREF_PREFETCH_MAPS

        public static final java.lang.String PREF_PREFETCH_MAPS
        See Also:
        Constant Field Values
      • PREF_LAST_PREFETCH_TIME

        public static final java.lang.String PREF_LAST_PREFETCH_TIME
        See Also:
        Constant Field Values
      • PREF_UVHI_FETCH_DATA

        public static final java.lang.String PREF_UVHI_FETCH_DATA
        See Also:
        Constant Field Values
      • PREF_UVHI_MAINDISPLAY

        public static final java.lang.String PREF_UVHI_MAINDISPLAY
        See Also:
        Constant Field Values
      • PREF_MAX_LOCATIONS_IN_SHARED_WARNINGS

        public static final java.lang.String PREF_MAX_LOCATIONS_IN_SHARED_WARNINGS
        See Also:
        Constant Field Values
      • PREF_USE_BACKGROUND_LOCATION

        public static final java.lang.String PREF_USE_BACKGROUND_LOCATION
        See Also:
        Constant Field Values
      • PREF_DISPLAY_WIND_IN_CHARTS

        public static final java.lang.String PREF_DISPLAY_WIND_IN_CHARTS
        See Also:
        Constant Field Values
      • PREF_DISPLAY_WIND_IN_CHARTS_MAX

        public static final java.lang.String PREF_DISPLAY_WIND_IN_CHARTS_MAX
        See Also:
        Constant Field Values
      • PREF_REPLACE_BY_MUNICIPALITY

        public static final java.lang.String PREF_REPLACE_BY_MUNICIPALITY
        See Also:
        Constant Field Values
      • PREF_BATTERY_OPTIMIZATION_FLAG

        public static final java.lang.String PREF_BATTERY_OPTIMIZATION_FLAG
        See Also:
        Constant Field Values
      • PREF_BOLDWIDGET_VERTICAL_BAR

        public static final java.lang.String PREF_BOLDWIDGET_VERTICAL_BAR
        See Also:
        Constant Field Values
      • PREF_AREADATABASE_LOCK

        public static final java.lang.String PREF_AREADATABASE_LOCK
        See Also:
        Constant Field Values
      • PREF_DISPLAY_OVERVIEWCHART_DISPLAY_PRECIPITATION_AMOUNT

        public static final java.lang.String PREF_DISPLAY_OVERVIEWCHART_DISPLAY_PRECIPITATION_AMOUNT
        See Also:
        Constant Field Values
      • PREF_DISPLAY_OVERVIEWCHART_DISPLAY_RH

        public static final java.lang.String PREF_DISPLAY_OVERVIEWCHART_DISPLAY_RH
        See Also:
        Constant Field Values
      • PREF_DISPLAY_OVERVIEWCHART_FILTER_WARNINGS

        public static final java.lang.String PREF_DISPLAY_OVERVIEWCHART_FILTER_WARNINGS
        See Also:
        Constant Field Values
      • PREF_MAP_HIGH_RESOLUTION

        public static final java.lang.String PREF_MAP_HIGH_RESOLUTION
        See Also:
        Constant Field Values
      • PREF_MAP_PIN_SIZE

        public static final java.lang.String PREF_MAP_PIN_SIZE
        See Also:
        Constant Field Values
      • PREF_WEATHER_URL

        public static final java.lang.String PREF_WEATHER_URL
        See Also:
        Constant Field Values
      • PREF_VISUALIZE_DAYTIME

        public static final java.lang.String PREF_VISUALIZE_DAYTIME
        See Also:
        Constant Field Values
      • PREF_DISPLAY_DEWPOINT

        public static final java.lang.String PREF_DISPLAY_DEWPOINT
        See Also:
        Constant Field Values
      • PREF_STATION_NAME_DEFAULT

        public static final java.lang.String PREF_STATION_NAME_DEFAULT
        See Also:
        Constant Field Values
      • PREF_LOCATION_DESCRIPTION_DEFAULT

        public static final java.lang.String PREF_LOCATION_DESCRIPTION_DEFAULT
        See Also:
        Constant Field Values
      • PREF_LATITUDE_DEFAULT

        public static final double PREF_LATITUDE_DEFAULT
        See Also:
        Constant Field Values
      • PREF_LONGITUDE_DEFAULT

        public static final double PREF_LONGITUDE_DEFAULT
        See Also:
        Constant Field Values
      • PREF_ALTITUDE_DEFAULT

        public static final double PREF_ALTITUDE_DEFAULT
        See Also:
        Constant Field Values
      • PREF_STATIONTYPE_DEFAULT

        public static final int PREF_STATIONTYPE_DEFAULT
        See Also:
        Constant Field Values
      • PREF_STATION_TIME_DEFAULT

        public static final long PREF_STATION_TIME_DEFAULT
        See Also:
        Constant Field Values
      • PREF_DISPLAY_STATION_GEO_DEFAULT

        public static final boolean PREF_DISPLAY_STATION_GEO_DEFAULT
        See Also:
        Constant Field Values
      • PREF_DISPLAY_TYPE_DEFAULT

        public static final java.lang.String PREF_DISPLAY_TYPE_DEFAULT
        See Also:
        Constant Field Values
      • PREF_DISPLAY_BAR_DEFAULT

        public static final boolean PREF_DISPLAY_BAR_DEFAULT
        See Also:
        Constant Field Values
      • PREF_DISPLAY_SIMPLE_BAR_DEFAULT

        public static final boolean PREF_DISPLAY_SIMPLE_BAR_DEFAULT
        See Also:
        Constant Field Values
      • PREF_DISPLAY_PRESSURE_DEFAULT

        public static final boolean PREF_DISPLAY_PRESSURE_DEFAULT
        See Also:
        Constant Field Values
      • PREF_DISPLAY_VISIBILITY_DEFAULT

        public static final boolean PREF_DISPLAY_VISIBILITY_DEFAULT
        See Also:
        Constant Field Values
      • PREF_DISPLAY_SUNRISE_DEFAULT

        public static final boolean PREF_DISPLAY_SUNRISE_DEFAULT
        See Also:
        Constant Field Values
      • PREF_DISPLAY_ENDOFDAY_BAR_DEFAULT

        public static final boolean PREF_DISPLAY_ENDOFDAY_BAR_DEFAULT
        See Also:
        Constant Field Values
      • PREF_DISPLAY_GRADIENT_DEFAULT

        public static final boolean PREF_DISPLAY_GRADIENT_DEFAULT
        See Also:
        Constant Field Values
      • PREF_DISPLAY_WIND_ARC_DEFAULT

        public static final boolean PREF_DISPLAY_WIND_ARC_DEFAULT
        See Also:
        Constant Field Values
      • PREF_DISPLAY_WIND_ARC_PERIOD_DEFAULT

        public static final java.lang.String PREF_DISPLAY_WIND_ARC_PERIOD_DEFAULT
        See Also:
        Constant Field Values
      • PREF_DISPLAY_WIND_TYPE_DEFAULT

        public static final java.lang.String PREF_DISPLAY_WIND_TYPE_DEFAULT
        See Also:
        Constant Field Values
      • PREF_DISPLAY_WIND_UNIT_DEFAULT

        public static final java.lang.String PREF_DISPLAY_WIND_UNIT_DEFAULT
        See Also:
        Constant Field Values
      • PREF_DISPLAY_DISTANCE_UNIT_DEFAULT

        public static final java.lang.String PREF_DISPLAY_DISTANCE_UNIT_DEFAULT
        See Also:
        Constant Field Values
      • PREF_DISPLAY_CROP_PRECIPITATIONCHART_DEFAULT

        public static final boolean PREF_DISPLAY_CROP_PRECIPITATIONCHART_DEFAULT
        See Also:
        Constant Field Values
      • PREF_DISPLAY_OVERVIEWCHART_DEFAULT

        public static final boolean PREF_DISPLAY_OVERVIEWCHART_DEFAULT
        See Also:
        Constant Field Values
      • PREF_DISPLAY_OVERVIEWCHART_DAYS_DEFAULT

        public static final int PREF_DISPLAY_OVERVIEWCHART_DAYS_DEFAULT
        See Also:
        Constant Field Values
      • PREF_DISPLAY_OVERVIEWCHART_MINMAXUSE_DEFAULT

        public static final boolean PREF_DISPLAY_OVERVIEWCHART_MINMAXUSE_DEFAULT
        See Also:
        Constant Field Values
      • PREF_DISPLAY_OVERVIEWCHART_MIN_DEFAULT

        public static final int PREF_DISPLAY_OVERVIEWCHART_MIN_DEFAULT
        See Also:
        Constant Field Values
      • PREF_DISPLAY_OVERVIEWCHART_MAX_DEFAULT

        public static final int PREF_DISPLAY_OVERVIEWCHART_MAX_DEFAULT
        See Also:
        Constant Field Values
      • PREF_WIDGET_OPACITY_DEFAULT

        public static final java.lang.String PREF_WIDGET_OPACITY_DEFAULT
        See Also:
        Constant Field Values
      • PREF_WIDGET_SHOWDWDNOTE_DEFAULT

        public static final boolean PREF_WIDGET_SHOWDWDNOTE_DEFAULT
        See Also:
        Constant Field Values
      • PREF_WIDGET_DISPLAYWARNINGS_DEFAULT

        public static final boolean PREF_WIDGET_DISPLAYWARNINGS_DEFAULT
        See Also:
        Constant Field Values
      • PREF_NOTIFY_WARNINGS_DEFAULT

        public static final boolean PREF_NOTIFY_WARNINGS_DEFAULT
        See Also:
        Constant Field Values
      • PREF_LAST_VERSION_CODE_DEFAULT

        public static final int PREF_LAST_VERSION_CODE_DEFAULT
        See Also:
        Constant Field Values
      • PREF_SERVE_GADGETBRIDGE_DEFAULT

        public static final boolean PREF_SERVE_GADGETBRIDGE_DEFAULT
        See Also:
        Constant Field Values
      • PREF_GADGETBRIDGE_PACKAGENAME_DEFAULT

        public static final java.lang.String PREF_GADGETBRIDGE_PACKAGENAME_DEFAULT
        See Also:
        Constant Field Values
      • PREF_GADGETBRIDGE_FAKE_TIMESTAMP_DEFAULT

        public static final boolean PREF_GADGETBRIDGE_FAKE_TIMESTAMP_DEFAULT
        See Also:
        Constant Field Values
      • PREF_LOG_TO_LOGCAT_DEFAULT

        public static final boolean PREF_LOG_TO_LOGCAT_DEFAULT
        See Also:
        Constant Field Values
      • PREF_FAVORITESDATA_DEFAULT2

        public static final java.lang.String PREF_FAVORITESDATA_DEFAULT2
        See Also:
        Constant Field Values
      • PREF_WARNINGS_DISABLE_DEFAULT

        public static final boolean PREF_WARNINGS_DISABLE_DEFAULT
        See Also:
        Constant Field Values
      • PREF_WARNINGS_NOTIFY_SEVERITY_DEFAULT

        public static final java.lang.String PREF_WARNINGS_NOTIFY_SEVERITY_DEFAULT
        See Also:
        Constant Field Values
      • PREF_IS_FIRST_APP_LAUNCH_DEFAULT

        public static final boolean PREF_IS_FIRST_APP_LAUNCH_DEFAULT
        See Also:
        Constant Field Values
      • PREF_GPSMANUAL_DEFAULT

        public static final boolean PREF_GPSMANUAL_DEFAULT
        See Also:
        Constant Field Values
      • PREF_DISABLE_TLS_DEFAULT

        public static final boolean PREF_DISABLE_TLS_DEFAULT
        See Also:
        Constant Field Values
      • PREF_TEXTFORECAST_FILTER_DEFAULT

        public static final boolean PREF_TEXTFORECAST_FILTER_DEFAULT
        See Also:
        Constant Field Values
      • PREF_RADAR_SHOW_DEFAULT

        public static final boolean PREF_RADAR_SHOW_DEFAULT
        See Also:
        Constant Field Values
      • PREF_ADMINMAP_SHOW_DEFAULT

        public static final boolean PREF_ADMINMAP_SHOW_DEFAULT
        See Also:
        Constant Field Values
      • PREF_MAP_DISPLAY_MUNICIPALITIES_DEFAULT

        public static final boolean PREF_MAP_DISPLAY_MUNICIPALITIES_DEFAULT
        See Also:
        Constant Field Values
      • PREF_MAP_DISPLAY_COUNTIES_DEFAULT

        public static final boolean PREF_MAP_DISPLAY_COUNTIES_DEFAULT
        See Also:
        Constant Field Values
      • PREF_MAP_DISPLAY_STATES_DEFAULT

        public static final boolean PREF_MAP_DISPLAY_STATES_DEFAULT
        See Also:
        Constant Field Values
      • PREF_MAP_DISPLAY_SEA_AREAS_DEFAULT

        public static final boolean PREF_MAP_DISPLAY_SEA_AREAS_DEFAULT
        See Also:
        Constant Field Values
      • PREF_MAP_DISPLAY_COAST_AREAS_DEFAULT

        public static final boolean PREF_MAP_DISPLAY_COAST_AREAS_DEFAULT
        See Also:
        Constant Field Values
      • PREF_FORCE_NO_MENU_ICONS_DEFAULT

        public static final boolean PREF_FORCE_NO_MENU_ICONS_DEFAULT
        See Also:
        Constant Field Values
      • PREF_DISPLAY_WIND_IN_RADAR_DEFAULT

        public static final boolean PREF_DISPLAY_WIND_IN_RADAR_DEFAULT
        See Also:
        Constant Field Values
      • PREF_AREA_DATABASE_READY_DEFAULT

        public static final boolean PREF_AREA_DATABASE_READY_DEFAULT
        See Also:
        Constant Field Values
      • PREF_AREA_DATABASE_VERSION_DEFAULT

        public static final int PREF_AREA_DATABASE_VERSION_DEFAULT
        See Also:
        Constant Field Values
      • PREF_VIEWMODEL_DEFAULT

        public static final java.lang.String PREF_VIEWMODEL_DEFAULT
        See Also:
        Constant Field Values
      • PREF_THEME_DEFAULT

        public static final java.lang.String PREF_THEME_DEFAULT
        See Also:
        Constant Field Values
      • PREF_ALTERNATIVE_ICONS_DEFAULT

        public static final boolean PREF_ALTERNATIVE_ICONS_DEFAULT
        See Also:
        Constant Field Values
      • PREF_USE_METERED_NETWORKS_DEFAULT

        public static final boolean PREF_USE_METERED_NETWORKS_DEFAULT
        See Also:
        Constant Field Values
      • PREF_USE_WIFI_ONLY_DEFAULT

        public static final boolean PREF_USE_WIFI_ONLY_DEFAULT
        See Also:
        Constant Field Values
      • PREF_ASKEDFORLOCATIONFLAG_DEFAULT

        public static final int PREF_ASKEDFORLOCATIONFLAG_DEFAULT
        See Also:
        Constant Field Values
      • PREF_ROTATIONMODE_DEFAULT

        public static final java.lang.String PREF_ROTATIONMODE_DEFAULT
        See Also:
        Constant Field Values
      • PREF_WARNINGS_NOTIFY_LED_DEFAULT

        public static final boolean PREF_WARNINGS_NOTIFY_LED_DEFAULT
        See Also:
        Constant Field Values
      • PREF_HINTCOUNTER1_DEFAULT

        public static final int PREF_HINTCOUNTER1_DEFAULT
        See Also:
        Constant Field Values
      • PREF_HINTCOUNTER2_DEFAULT

        public static final int PREF_HINTCOUNTER2_DEFAULT
        See Also:
        Constant Field Values
      • PREF_LASTMAPDISPLAYED_DEFAULT

        public static final int PREF_LASTMAPDISPLAYED_DEFAULT
        See Also:
        Constant Field Values
      • PREF_POLLEN_AMBROSIA_DEFAULT

        public static final boolean PREF_POLLEN_AMBROSIA_DEFAULT
        See Also:
        Constant Field Values
      • PREF_POLLEN_BEIFUSS_DEFAULT

        public static final boolean PREF_POLLEN_BEIFUSS_DEFAULT
        See Also:
        Constant Field Values
      • PREF_POLLEN_ROGGEN_DEFAULT

        public static final boolean PREF_POLLEN_ROGGEN_DEFAULT
        See Also:
        Constant Field Values
      • PREF_POLLEN_ESCHE_DEFAULT

        public static final boolean PREF_POLLEN_ESCHE_DEFAULT
        See Also:
        Constant Field Values
      • PREF_POLLEN_BIRKE_DEFAULT

        public static final boolean PREF_POLLEN_BIRKE_DEFAULT
        See Also:
        Constant Field Values
      • PREF_POLLEN_HASEL_DEFAULT

        public static final boolean PREF_POLLEN_HASEL_DEFAULT
        See Also:
        Constant Field Values
      • PREF_POLLEN_ERLE_DEFAULT

        public static final boolean PREF_POLLEN_ERLE_DEFAULT
        See Also:
        Constant Field Values
      • PREF_POLLEN_GRAESER_DEFAULT

        public static final boolean PREF_POLLEN_GRAESER_DEFAULT
        See Also:
        Constant Field Values
      • PREF_PREFETCH_MAPS_DEFAULT

        public static final boolean PREF_PREFETCH_MAPS_DEFAULT
        See Also:
        Constant Field Values
      • PREF_LAST_PREFETCH_TIME_DEFAULT

        public static final long PREF_LAST_PREFETCH_TIME_DEFAULT
        See Also:
        Constant Field Values
      • PREF_UVHI_FETCH_DATA_DEFAULT

        public static final boolean PREF_UVHI_FETCH_DATA_DEFAULT
        See Also:
        Constant Field Values
      • PREF_UVHI_MAINDISPLAY_DEFAULT

        public static final boolean PREF_UVHI_MAINDISPLAY_DEFAULT
        See Also:
        Constant Field Values
      • PREF_MAX_LOCATIONS_IN_SHARED_WARNINGS_DEFAULT

        public static final int PREF_MAX_LOCATIONS_IN_SHARED_WARNINGS_DEFAULT
        See Also:
        Constant Field Values
      • PREF_USE_BACKGROUND_LOCATION_DEFAULT

        public static final boolean PREF_USE_BACKGROUND_LOCATION_DEFAULT
        See Also:
        Constant Field Values
      • PREF_DISPLAY_WIND_IN_CHARTS_DEFAULT

        public static final boolean PREF_DISPLAY_WIND_IN_CHARTS_DEFAULT
        See Also:
        Constant Field Values
      • PREF_DISPLAY_WIND_IN_CHARTS_MAX_DEFAULT

        public static final java.lang.String PREF_DISPLAY_WIND_IN_CHARTS_MAX_DEFAULT
        See Also:
        Constant Field Values
      • PREF_REPLACE_BY_MUNICIPALITY_DEFAULT

        public static final boolean PREF_REPLACE_BY_MUNICIPALITY_DEFAULT
        See Also:
        Constant Field Values
      • PREF_BATTERY_OPTIMIZATION_FLAG_DEFAULT

        public static final int PREF_BATTERY_OPTIMIZATION_FLAG_DEFAULT
        See Also:
        Constant Field Values
      • PREF_BOLDWIDGET_VERTICAL_BAR_DEFAULT

        public static final boolean PREF_BOLDWIDGET_VERTICAL_BAR_DEFAULT
        See Also:
        Constant Field Values
      • PREF_DISPLAY_OVERVIEWCHART_DISPLAY_PRECIPITATION_AMOUNT_DEFAULT

        public static final boolean PREF_DISPLAY_OVERVIEWCHART_DISPLAY_PRECIPITATION_AMOUNT_DEFAULT
        See Also:
        Constant Field Values
      • PREF_DISPLAY_OVERVIEWCHART_DISPLAY_RH_DEFAULT

        public static final boolean PREF_DISPLAY_OVERVIEWCHART_DISPLAY_RH_DEFAULT
        See Also:
        Constant Field Values
      • PREF_DISPLAY_OVERVIEWCHART_FILTER_WARNINGS_DEFAULT

        public static final boolean PREF_DISPLAY_OVERVIEWCHART_FILTER_WARNINGS_DEFAULT
        See Also:
        Constant Field Values
      • PREF_MAP_HIGH_RESOLUTION_DEFAULT

        public static final boolean PREF_MAP_HIGH_RESOLUTION_DEFAULT
        See Also:
        Constant Field Values
      • PREF_MAP_PIN_SIZE_DEFAULT

        public static final int PREF_MAP_PIN_SIZE_DEFAULT
        See Also:
        Constant Field Values
      • PREF_WEATHER_URL_DEFAULT

        public static final java.lang.String PREF_WEATHER_URL_DEFAULT
        See Also:
        Constant Field Values
      • PREF_VISUALIZE_DAYTIME_DEFAULT

        public static final boolean PREF_VISUALIZE_DAYTIME_DEFAULT
        See Also:
        Constant Field Values
      • PREF_DISPLAY_DEWPOINT_DEFAULT

        public static final boolean PREF_DISPLAY_DEWPOINT_DEFAULT
        See Also:
        Constant Field Values
    • Method Detail

      • getSharedPreferences

        public static SharedPreferences getSharedPreferences​(Context context)
      • resetPreferencesToDefault

        public static void resetPreferencesToDefault​(Context context)
      • readPreference

        public java.lang.String readPreference​(java.lang.String p,
                                               java.lang.String d)
      • readPreference

        public java.lang.Boolean readPreference​(java.lang.String p,
                                                java.lang.Boolean d)
      • readPreference

        public int readPreference​(java.lang.String p,
                                  int d)
      • readPreference

        public float readPreference​(java.lang.String p,
                                    float d)
      • readPreference

        public long readPreference​(java.lang.String p,
                                   long d)
      • readPreference

        public double readPreference​(java.lang.String p,
                                     double d)
      • applyPreference

        public void applyPreference​(java.lang.String value,
                                    java.lang.String pref,
                                    java.lang.String prefDefault)
      • applyPreference

        public void applyPreference​(boolean value,
                                    java.lang.String pref,
                                    boolean prefDefault)
      • applyPreference

        public void applyPreference​(int value,
                                    java.lang.String pref,
                                    int prefDefault)
      • applyPreference

        public void applyPreference​(float value,
                                    java.lang.String pref,
                                    float prefDefault)
      • applyPreference

        public void applyPreference​(long value,
                                    java.lang.String pref,
                                    long prefDefault)
      • applyPreference

        public void applyPreference​(double value,
                                    java.lang.String pref,
                                    double prefDefault)
      • displayStationGeo

        public static boolean displayStationGeo​(Context context)
      • setDescriptionAlternate

        public static void setDescriptionAlternate​(Context context,
                                                   java.lang.String newName)
      • resetStationToDefault

        public static void resetStationToDefault​(Context context)
      • getFavorites2

        public static java.lang.String getFavorites2​(Context context)
      • putFavorites2

        public static void putFavorites2​(Context context,
                                         java.lang.String rawFavorites)
      • setDisplayType

        public static void setDisplayType​(Context context,
                                          java.lang.String s)
      • getDisplayType

        public static int getDisplayType​(Context context)
      • serveGadgetBridge

        public static boolean serveGadgetBridge​(Context context)
      • getGadgetBridgeLastUpdateTime

        public static long getGadgetBridgeLastUpdateTime​(Context context)
      • setGadgetBridgeLastUpdateTime

        public static void setGadgetBridgeLastUpdateTime​(Context context,
                                                         long l)
      • setViewsLastUpdateTime

        public static void setViewsLastUpdateTime​(Context context,
                                                  long l)
      • fakeTimestampForGadgetBridge

        public static boolean fakeTimestampForGadgetBridge​(Context context)
      • areWarningsDisabled

        public static boolean areWarningsDisabled​(Context context)
      • notifyWarnings

        public static boolean notifyWarnings​(Context context)
      • setNotifyWarnings

        public static void setNotifyWarnings​(Context context,
                                             boolean b)
      • displayWarningsInWidget

        public static boolean displayWarningsInWidget​(Context context)
      • setDisplayWarningsInWidget

        public static void setDisplayWarningsInWidget​(Context context,
                                                      boolean b)
      • getWarningsNotifySeverity

        public static int getWarningsNotifySeverity​(Context context)
      • isFirstAppLaunch

        public static boolean isFirstAppLaunch​(Context c)
      • setAppLaunchedFlag

        public static void setAppLaunchedFlag​(Context c)
      • resetAppLaunchedFlag

        public static void resetAppLaunchedFlag​(Context c)
      • getLastAppVersionCode

        public static int getLastAppVersionCode​(Context c)
      • setCurrentAppVersionCode

        public static void setCurrentAppVersionCode​(Context c)
      • getUseGPSFlag

        public static boolean getUseGPSFlag​(Context c)
      • setUSEGPSFlag

        public static void setUSEGPSFlag​(Context c,
                                         boolean flag)
      • GPSManual

        public static boolean GPSManual​(Context c)
      • GPSAuto

        public static boolean GPSAuto​(Context c)
      • setGPSAuto

        public static void setGPSAuto​(Context context,
                                      boolean b)
      • saveGPSfixtime

        public static void saveGPSfixtime​(Context context,
                                          long time)
      • getlastGPSfixtime

        public static long getlastGPSfixtime​(Context context)
      • isGPSFixOutdated

        public static boolean isGPSFixOutdated​(Context context,
                                               long time)
      • isLastGPSFixOutdated

        public static boolean isLastGPSFixOutdated​(Context context)
      • isTLSdisabled

        public static boolean isTLSdisabled​(Context c)
      • setDisableTLS

        public static void setDisableTLS​(Context c,
                                         boolean flag)
      • appReleaseIsUserdebug

        public static boolean appReleaseIsUserdebug()
      • getDisplayLayout

        public static int getDisplayLayout​(Context context)
      • getWindDisplayType

        public static int getWindDisplayType​(java.lang.String s)
      • getWindDisplayUnit

        public static int getWindDisplayUnit​(Context context)
      • getDistanceDisplayUnit

        public static int getDistanceDisplayUnit​(Context context)
      • displayWindArc

        public static boolean displayWindArc​(Context context)
      • getWindArcPeriod

        public static int getWindArcPeriod​(Context context)
      • getDisplayWindArc

        public static boolean getDisplayWindArc​(Context context)
      • setDisplayWindArc

        public static void setDisplayWindArc​(Context context,
                                             boolean b)
      • isTextForecastFilterEnabled

        public static boolean isTextForecastFilterEnabled​(Context context)
      • setTextForecastFilterEnabled

        public static void setTextForecastFilterEnabled​(Context context,
                                                        boolean b)
      • setPrefRadarLastdatapoll

        public static void setPrefRadarLastdatapoll​(Context context,
                                                    long l)
      • getPrefRadarLastdatapoll

        public static long getPrefRadarLastdatapoll​(Context context)
      • isRadarDataOutdated

        public static boolean isRadarDataOutdated​(Context context)
      • showRadarByDefault

        public static boolean showRadarByDefault​(Context context)
      • showAdminMapByDefault

        public static boolean showAdminMapByDefault​(Context context)
      • getDisplayMunicipalities

        public static boolean getDisplayMunicipalities​(Context context)
      • getDisplayCounties

        public static boolean getDisplayCounties​(Context context)
      • getDisplayStates

        public static boolean getDisplayStates​(Context context)
      • getDisplaySeaAreas

        public static boolean getDisplaySeaAreas​(Context context)
      • getDisplayCoastAreas

        public static boolean getDisplayCoastAreas​(Context context)
      • getAreaTypeArray

        public static int[] getAreaTypeArray​(Context context)
      • forceNoMenuIcons

        public static boolean forceNoMenuIcons​(Context context)
      • setForceNoMenuIconsFlag

        public static void setForceNoMenuIconsFlag​(Context context,
                                                   boolean b)
      • getWindDisplayType

        public static int getWindDisplayType​(Context context)
      • displayWindInRadar

        public static boolean displayWindInRadar​(Context context)
      • isAreaDatabaseReady

        public static boolean isAreaDatabaseReady​(Context context)
      • setAreaDatabaseReady

        public static void setAreaDatabaseReady​(Context context)
      • getAreaDatabaseVersion

        public static int getAreaDatabaseVersion​(Context context)
      • setAreaDatabaseVersion

        public static void setAreaDatabaseVersion​(Context context,
                                                  int version)
      • getViewModel

        public static java.lang.String getViewModel​(Context context)
      • setViewModel

        public static void setViewModel​(Context context,
                                        java.lang.String model)
      • preferAlternativeIcons

        public static boolean preferAlternativeIcons​(Context context)
      • setPreferAlternativeIcons

        public static void setPreferAlternativeIcons​(Context context,
                                                     boolean b)
      • getDisplaySunrise

        public static boolean getDisplaySunrise​(Context context)
      • setDisplaySunrise

        public static void setDisplaySunrise​(Context context,
                                             boolean b)
      • getThemePreference

        public static java.lang.String getThemePreference​(Context context)
      • setThemePreference

        public static void setThemePreference​(Context context,
                                              java.lang.String theme)
      • useMeteredNetworks

        public static boolean useMeteredNetworks​(Context context)
      • useWifiOnly

        public static boolean useWifiOnly​(Context context)
      • getUniqueNotificationIdentifier

        public static int getUniqueNotificationIdentifier​(Context context)
      • fixUniqueNotificationIdentifier

        public static void fixUniqueNotificationIdentifier​(Context context)
      • cropPrecipitationChart

        public static boolean cropPrecipitationChart​(Context context)
      • displayOverviewChart

        public static boolean displayOverviewChart​(Context context)
      • setDisplayOverviewChart

        public static void setDisplayOverviewChart​(Context context,
                                                   boolean value)
      • getDisplayOverviewChartDays

        public static int getDisplayOverviewChartDays​(Context context)
      • setDisplayOverviewChartDays

        public static void setDisplayOverviewChartDays​(Context context,
                                                       int value)
      • setAskedLocationFlag

        public static void setAskedLocationFlag​(Context context,
                                                int flag)
      • getAskedForLocationFlag

        public static int getAskedForLocationFlag​(Context context)
      • getLastNotificationUpdateTime

        public static long getLastNotificationUpdateTime​(Context context)
      • setLastNotificationUpdateTime

        public static void setLastNotificationUpdateTime​(Context context,
                                                         long l)
      • getRotationmode

        public static java.lang.String getRotationmode​(Context context)
      • getDeviceRotationString

        public static java.lang.String getDeviceRotationString​(Context context)
      • setRotationMode

        public static void setRotationMode​(Activity activity)
      • loggingEnabled

        public static boolean loggingEnabled​(Context context)
      • loggingToLogcatEnabled

        public static boolean loggingToLogcatEnabled​(Context context)
      • setLoggingToLogcat

        public static void setLoggingToLogcat​(Context context,
                                              boolean value)
      • useOverviewChartMinMax

        public static boolean useOverviewChartMinMax​(Context context)
      • getOverviewChartMin

        public static int getOverviewChartMin​(Context context)
      • getOverviewChartMax

        public static int getOverviewChartMax​(Context context)
      • getNotificationChannelID

        public static java.lang.String getNotificationChannelID​(long identifier)
      • getNotificationChannelID

        public static java.lang.String getNotificationChannelID​(Context context)
      • setNewNotificationChannelID

        public static java.lang.String setNewNotificationChannelID​(Context context)
      • newNotificationChannel

        public static java.lang.String newNotificationChannel​(Context context)
        Removes the old notification channel and creates a new one on API >= 26. On older versions, it simply returns the channel.
        Parameters:
        context -
        Returns:
      • LEDEnabled

        public static boolean LEDEnabled​(Context context)
      • getLEDColorItem

        public static int getLEDColorItem​(Context context)
      • setLEDColorItem

        public static void setLEDColorItem​(Context context,
                                           int newColor)
      • getLEDColor

        public static int getLEDColor​(Context context)
      • getHintCounter1

        public static int getHintCounter1​(Context context)
      • setHintCounter1

        public static void setHintCounter1​(Context context,
                                           int value)
      • getHintCounter2

        public static int getHintCounter2​(Context context)
      • setHintCounter2

        public static void setHintCounter2​(Context context,
                                           int value)
      • getLastDisplayedLayer

        public static int getLastDisplayedLayer​(Context context)
      • setLastDisplayedLayer

        public static void setLastDisplayedLayer​(Context context,
                                                 int layer)
      • getPollenRegion

        public static PollenArea getPollenRegion​(Context context)
      • setPollenRegion

        public static void setPollenRegion​(Context context,
                                           PollenArea pollenArea)
      • getPollenActiveAmbrosia

        public static boolean getPollenActiveAmbrosia​(Context context)
      • getPollenActiveBeifuss

        public static boolean getPollenActiveBeifuss​(Context context)
      • getPollenActiveRoggen

        public static boolean getPollenActiveRoggen​(Context context)
      • getPollenActiveEsche

        public static boolean getPollenActiveEsche​(Context context)
      • getPollenActiveBirke

        public static boolean getPollenActiveBirke​(Context context)
      • getPollenActiveHasel

        public static boolean getPollenActiveHasel​(Context context)
      • getPollenActiveErle

        public static boolean getPollenActiveErle​(Context context)
      • getPollenActiveGraeser

        public static boolean getPollenActiveGraeser​(Context context)
      • anyPollenActive

        public static boolean anyPollenActive​(Context context)
      • preFetchMaps

        public static boolean preFetchMaps​(Context context)
      • setPrefetchMapsTime

        public static void setPrefetchMapsTime​(Context context)
      • UVHIfetchData

        public static boolean UVHIfetchData​(Context context)
      • setUVHIfetchData

        public static void setUVHIfetchData​(Context context,
                                            boolean b)
      • UVHImainDisplay

        public static boolean UVHImainDisplay​(Context context)
      • setUVHImainDisplay

        public static void setUVHImainDisplay​(Context context,
                                              boolean b)
      • hasWeatherUpdatedFlag

        public static boolean hasWeatherUpdatedFlag​(Context context,
                                                    int flag)
      • setWeatherUpdatedFlag

        public static void setWeatherUpdatedFlag​(Context context,
                                                 int flag)
      • getMaxLocationsInSharedWarnings

        public static int getMaxLocationsInSharedWarnings​(Context context)
      • useBackgroundLocation

        public static boolean useBackgroundLocation​(Context context)
      • setUseBackgroundLocation

        public static void setUseBackgroundLocation​(Context context,
                                                    boolean b)
      • displayWindInCharts

        public static boolean displayWindInCharts​(Context context)
      • getWindInChartsMaxKmh

        public static int getWindInChartsMaxKmh​(Context context)
      • replaceByMunicipality

        public static boolean replaceByMunicipality​(Context context)
      • getBatteryOptimiziatonFlag

        public static int getBatteryOptimiziatonFlag​(Context context)
      • setBatteryOptimiziatonFlag

        public static void setBatteryOptimiziatonFlag​(Context context,
                                                      int i)
      • displayBoldwidgetVerticalBar

        public static boolean displayBoldwidgetVerticalBar​(Context context)
      • lockAreaDatabase

        public static void lockAreaDatabase​(Context context)
      • unlockAreaDatabase

        public static void unlockAreaDatabase​(Context context)
      • isAreaDatabaseLocked

        public static boolean isAreaDatabaseLocked​(Context context)
      • displayPrecipitationAmountInOverviewChart

        public static boolean displayPrecipitationAmountInOverviewChart​(Context context)
      • displayRHInOverviewChart

        public static boolean displayRHInOverviewChart​(Context context)
      • filterWarningsInOverviewChartBySeverity

        public static boolean filterWarningsInOverviewChartBySeverity​(Context context)
      • forceMapHighResolution

        public static boolean forceMapHighResolution​(Context context)
      • setMapPinSize

        public static void setMapPinSize​(Context context,
                                         int i)
      • getMapPinSize

        public static int getMapPinSize​(Context context)
      • getWidgetOpacity

        public static int getWidgetOpacity​(Context context)
      • showDWDNote

        public static boolean showDWDNote​(Context context)
      • getDisplayBar

        public static boolean getDisplayBar​(Context context)
      • getDisplayPressure

        public static boolean getDisplayPressure​(Context context)
      • getDisplayVisibility

        public static boolean getDisplayVisibility​(Context context)
      • getDisplayEndOfDayBar

        public static boolean getDisplayEndOfDayBar​(Context context)
      • getDisplayGradient

        public static boolean getDisplayGradient​(Context context)
      • getDisplaySimpleBar

        public static boolean getDisplaySimpleBar​(Context context)
      • getWarningsDisabled

        public static boolean getWarningsDisabled​(Context context)
      • getGadgetBridgePackageName

        public static java.lang.String getGadgetBridgePackageName​(Context context)
      • getWeatherUrl

        public static java.lang.String getWeatherUrl​(Context context)
      • setWeatherUrl

        public static void setWeatherUrl​(Context context,
                                         java.lang.String value)
      • visualizeDaytime

        public static boolean visualizeDaytime​(Context context)
      • displayDewPoint

        public static boolean displayDewPoint​(Context context)