diff --git a/app/src/main/java/de/apps4ics/mountainnavigation/MainActivity.java b/app/src/main/java/de/apps4ics/mountainnavigation/MainActivity.java index 5d26a11..3124b04 100644 --- a/app/src/main/java/de/apps4ics/mountainnavigation/MainActivity.java +++ b/app/src/main/java/de/apps4ics/mountainnavigation/MainActivity.java @@ -383,6 +383,7 @@ @Override protected List doInBackground(List... params) { + //TODO get weather and rate POIs (if sunny, smaller fountains, ...) List result = new ArrayList<>(); List tempPoiList = params[0]; //This is only one list for(int i=0; i (currentWeather.weather.location.getSunset() * 1000); } - //TODO take more to drink private boolean isHot(){ return currentWeather.weather.currentCondition.getWeatherCode().getCode() == WeatherCode.SUNNY.getCode() || (currentWeather.weather.temperature.getTemp() >= minHotTemp || currentWeather.weather.temperature.getMaxTemp() >= minHotTemp); } - //TODO take suncream private boolean isSunny(){ return currentWeather.weather.currentCondition.getWeatherCode().getCode() == WeatherCode.SUNNY.getCode(); } - //TODO take more clothes private boolean isCold(){ return currentWeather.weather.currentCondition.getWeatherCode().getCode() == WeatherCode.COLD.getCode() || (currentWeather.weather.temperature.getTemp() <= maxColdTemp || currentWeather.weather.temperature.getMinTemp() <= maxColdTemp); } - //TODO take wind stopper clothes private boolean isWindy(){ return currentWeather.weather.currentCondition.getWeatherCode().getCode() == WeatherCode.WINDY.getCode() || (currentWeather.weather.wind.getSpeed() >= minWindySpeed);