mirror of
https://codeberg.org/Starfish/TinyWeatherForecastGermany.git
synced 2025-10-06 01:32:39 +02:00
update list of weather stations to stations6.txt, update changelogs
This commit is contained in:
@@ -7,6 +7,9 @@
|
||||
- fixed rain radar film not starting properly when app is resumed and the rain radar data is still valid
|
||||
- exclude exact matches of onset/expiry of weather warnings with start/stop of the time period from being displayed in the ForecastAdapter
|
||||
- calculate sum of the precipitation amount instead of determining the maximum when interval values are calculated form hourly values
|
||||
- fixed precipitation amount unit displayed when no data present
|
||||
- lower minResizeWidth & minResizeHeight values for the "Weather & Time" widget
|
||||
- updated list of weather stations (stations6.txt)
|
||||
|
||||
## Version 0.62.9
|
||||
- added an option to allow the overview chart to start above 0°
|
||||
|
@@ -4,7 +4,7 @@ Weather forecast with widgets for up to 10 days, based on open data from the Deu
|
||||
|
||||
## Features
|
||||
|
||||
- weather forecast for up to 10 days for over 5000 locations worldwide
|
||||
- weather forecast for up to 10 days for over 6000 locations worldwide
|
||||
- 100% based on open data (no api keys needed)
|
||||
- no ads, no tracking, no 3rd party libraries/dependencies
|
||||
- supports weather on wearables using GadgetBridge
|
||||
@@ -44,7 +44,7 @@ Or from the developer's own F-Droid repository: <https://kaffeemitkoffein.de/fdr
|
||||
6. Optional: enter the fingerprint of this repo (see above)
|
||||
7. Select "Add"
|
||||
|
||||
You get userdebug builds for testing here: <https://kaffeemitkoffein.de/nextcloud/index.php/s/4SXHaLxLSmFd8Ri>
|
||||
You get user debug builds for testing here: <https://kaffeemitkoffein.de/nextcloud/index.php/s/4SXHaLxLSmFd8Ri>
|
||||
|
||||
Please note that the builds linked here are not signed by the F-Droid key, so you basically need to uninstall the F-Droid versions before installing them and vice versa.
|
||||
|
||||
|
@@ -26,7 +26,6 @@ import android.graphics.drawable.Drawable;
|
||||
import android.os.Build;
|
||||
import android.text.SpannableStringBuilder;
|
||||
import android.util.DisplayMetrics;
|
||||
import android.util.Log;
|
||||
import android.util.SparseArray;
|
||||
import android.util.TypedValue;
|
||||
import android.view.LayoutInflater;
|
||||
@@ -497,11 +496,14 @@ public View getView(int i, View view, ViewGroup viewGroup) {
|
||||
if (precipitationAmount>0){
|
||||
setVisibility(precipitation_unit_upper,View.VISIBLE);
|
||||
setVisibility(precipitation_unit_lower, View.VISIBLE);
|
||||
precipitation_string = precipitation_string +weatherInfo.getPrecipitation();
|
||||
precipitation_string = precipitation_string +precipitationAmount;
|
||||
} else {
|
||||
setVisibility(precipitation_unit_upper,View.GONE);
|
||||
setVisibility(precipitation_unit_lower, View.GONE);
|
||||
}
|
||||
} else {
|
||||
setVisibility(precipitation_unit_upper,View.GONE);
|
||||
setVisibility(precipitation_unit_lower, View.GONE);
|
||||
}
|
||||
if (precipitation_string.equals("")){
|
||||
setVisibility(precipitation_symbol,View.GONE);
|
||||
@@ -843,12 +845,8 @@ public View getView(int i, View view, ViewGroup viewGroup) {
|
||||
textView_uvHazardIndex.setVisibility(View.VISIBLE);
|
||||
if (WeatherSettings.getPrefUVHIClearSky(context)){
|
||||
textView_uvHazardIndexType.setVisibility(View.VISIBLE);
|
||||
// textView_uvHazardIndexType.setText("●");
|
||||
// candidate symbols: ● ☉ ☼
|
||||
ViewGroup.LayoutParams textViewLayoutParams = (ViewGroup.LayoutParams) textView_uvHazardIndex.getLayoutParams();
|
||||
// textViewLayoutParams.width = 21 + textView_uvHazardIndexType.getLayoutParams().width;
|
||||
Log.v("twfg","WIDTH: "+textViewLayoutParams.width+" | "+textView_uvHazardIndexType.getLayoutParams().width);
|
||||
//textViewLayoutParams.width = Math.round((21 + textView_uvHazardIndexType.getLayoutParams().width) * displayMetrics.xdpi/160f);
|
||||
textViewLayoutParams.width = Math.round((21*displayMetrics.density + textView_uvHazardIndexType.getLayoutParams().width));
|
||||
textView_uvHazardIndex.setLayoutParams(textViewLayoutParams);
|
||||
} else {
|
||||
|
@@ -51,7 +51,7 @@ public class StationsManager {
|
||||
}
|
||||
|
||||
private static String getStationsStringFromResource(Context context){
|
||||
InputStream inputStream = context.getResources().openRawResource(R.raw.stations5);
|
||||
InputStream inputStream = context.getResources().openRawResource(R.raw.stations6);
|
||||
try {
|
||||
int size = inputStream.available();
|
||||
byte[] textdata = new byte[size];
|
||||
@@ -96,6 +96,7 @@ public class StationsManager {
|
||||
count++;
|
||||
}
|
||||
Collections.sort(stations, new Weather.WeatherLocation());
|
||||
PrivateLog.log(context,PrivateLog.STATIONS,PrivateLog.INFO,"Known weather stations: "+stations.size());
|
||||
return stations;
|
||||
}
|
||||
|
||||
|
@@ -1,9 +1,11 @@
|
||||
Neu in dieser Version [VERSION]:
|
||||
|
||||
- zusätzliche Optionen zum Anpassen der Übersichtsgrafik
|
||||
- die Größe der Uhr im Widget kann nun angepasst werden
|
||||
- falls es keine Wetterdaten für eine Wetterstation gibt, wird dies angezeigt
|
||||
- Widgets werden nun in einigen Launchern besser dargestellt
|
||||
- die Pollen-Vorhersage wird nun in den Wetterdetails zuverlässig angezeigt
|
||||
- App-Absturz behoben, der durch Warnungen ohne Ablaufdatum ausgelöst wurde
|
||||
- das Regenradar startet nun auch dann zuverlässig, wenn die Daten noch aktuell sind
|
||||
- die Niederschlagsmenge in Intervallen wird nun als Summe der Stundenwerte angezeigt
|
||||
- falls der UV-Gefahrenindex auf "klarer Himmel" eingestellt ist, wird ein kleines Sonnen-Symbol angezeigt
|
||||
- weitere, kleinere Verbesserungen der Benutzeroberfläche und Fehlerbehebungen
|
||||
- aktualisierte Liste der Wetterstationen
|
||||
- verbesserte Übersetzungen
|
||||
|
||||
Für eine detaillierte Liste der Änderungen siehe https://codeberg.org/Starfish/TinyWeatherForecastGermany/src/branch/master/CHANGELOG.md
|
File diff suppressed because one or more lines are too long
1
app/src/main/res/raw/stations6.txt
Normal file
1
app/src/main/res/raw/stations6.txt
Normal file
File diff suppressed because one or more lines are too long
@@ -1,9 +1,11 @@
|
||||
New in version [VERSION]:
|
||||
|
||||
- additional options for customizing the overview chart
|
||||
- the size of the clock in the widget can now be adjusted
|
||||
- if there is no weather data for a weather station, this will be displayed
|
||||
- widgets are now displayed better with some launchers
|
||||
- the pollen forecast is now reliably displayed in the weather details
|
||||
- fixed a crash caused by warnings with no expiration date
|
||||
- fixed rain radar film sometimes not starting properly
|
||||
- the precipitation amount in intervals is now displayed as the sum of hourly values
|
||||
- when the uv hazard index is set to "clear sky", this is now indicated by a tiny sun symbol
|
||||
- further minor ui improvements and bug fixes
|
||||
- updated list of weather stations
|
||||
- improved translations
|
||||
|
||||
For a detailed list of changes, see https://codeberg.org/Starfish/TinyWeatherForecastGermany/src/branch/master/CHANGELOG.md
|
@@ -390,7 +390,7 @@
|
||||
<string name="welcome_next">NEXT</string>
|
||||
<string name="welcome_ready">READY!</string>
|
||||
<string name="welcome_s1_text1">free, libre, open source</string>
|
||||
<string name="welcome_s1_text2">supports > 5000 locations</string>
|
||||
<string name="welcome_s1_text2">supports > 6000 locations</string>
|
||||
<string name="welcome_s1_text3">forecast for up to 10 days</string>
|
||||
<string name="welcome_s1_text4">weather warnings for Germany</string>
|
||||
<string name="welcome_s1_text5">home screen widgets</string>
|
||||
|
7
fastlane/metadata/android/de-DE/changelogs/59.txt
Normal file
7
fastlane/metadata/android/de-DE/changelogs/59.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
- App-Absturz behoben, der durch Warnungen ohne Ablaufdatum ausgelöst wurde
|
||||
- das Regenradar startet nun auch dann zuverlässig, wenn die Daten noch aktuell sind
|
||||
- die Niederschlagsmenge in Intervallen wird nun als Summe der Stundenwerte angezeigt
|
||||
- bei dem UV-Gefahrenindex "klarer Himmel" wird ein kleines Sonnen-Symbol angezeigt
|
||||
- weitere, kleinere Verbesserungen der Benutzeroberfläche und Fehlerbehebungen
|
||||
- aktualisierte Liste der Wetterstationen
|
||||
- verbesserte Übersetzungen
|
10
fastlane/metadata/android/en-US/changelogs/59.txt
Normal file
10
fastlane/metadata/android/en-US/changelogs/59.txt
Normal file
@@ -0,0 +1,10 @@
|
||||
- fixed a crash caused by warnings with no expiration date
|
||||
- fixed rain radar film sometimes not starting properly
|
||||
- the precipitation amount in intervals is now displayed as the sum of hourly values
|
||||
- when the uv hazard index is set to "clear sky", this is now indicated by a tiny sun symbol
|
||||
- further minor ui improvements and bug fixes
|
||||
- updated list of weather stations
|
||||
- improved translations
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user