Graph weather widget for Android

Overview

AF Weather Widget

af_weather_warm

Source code for the Android app.

Get it on F-Droid

This app is a fork of aix weather widget which is no longer actively developed. It is a compact graphical weather graph as a single row Android widget. The source code is made public domain as it may provide utility for others. Please respect the various APIs used by the app, and please modify the user agent if you are running a modified version of the app.

Acknowledgements

License

  • All code written as part of the app is licensed as CC0 Universal. The only exceptions are MultiKey.java and Pair.java which are licensed under Apache 2.0 as specified in their headers.
  • The weather icons are owned by The Norwegian Meteorological Institute and are as provided via their weathericon API.

Information for use

Comments
  • Precipitation issues

    Precipitation issues

    From the Quick Start I inderstand that one grid cell is 1 mm. This is good and implies an average expected precipitation of 1 mm/h.

    On the top are state variables, one may assume. However, the precipitation unit is mm. I think this should be mm/h.

    Often I see no precipitation in the graph for the upcoming hour, but at the top I see "1 mm", while I expected "0 mm/h" or "0". Is maybe precipitation always rounded up?

    opened by mvhulten 3
  • Widget doesn't work anymore (Version 1.7)

    Widget doesn't work anymore (Version 1.7)

    I just installed version 1.7 via f-droid and the widget isn't working anymore now. It did work perfectly fine with all previous versions. I'm running on Android 8.1 without Google Play Services. Please let me know if (and what) further details you need.

    opened by petrarca-arezzo 2
  • Widget crashes on Android 12

    Widget crashes on Android 12

    I am unable to place a widget on Android 12. This worked fine under Android 11. Now the Widget config screen crashes after selecting a location. Any ideas?

    opened by davidskeck 2
  • Blocked texts on the intro page

    Blocked texts on the intro page

    Describe the bug

    Dear developer! In the process of using, I found a bug in layout / display. As shown in the figure below, on the intro page, some last parts of texts could not be seen fully. This may be an adaptation problem. I suspect it is because display and font size are set to large (mainly due to display size). Because of some problems with my eyesight, I often use the largest font and display. 103165857-dbaf8580-4857-11eb-9e22-120ae1901389

    App version is 1.3, my mobile phone is Google Pixel 2, and the screen resolution setting is 1920* 1080. And my font size and display size are the largest ! ! ! Also, my Android system version is 10.0. The above is a description of the problem. The overall experience of the software is good. You can see that the design is very attentive. Thank you very much for the efforts of the developers all the time. I hope to receive a reply. Thank you so much!!

    Expected behavior

    I hope that I can see all of the texts on the intro page, and in this circumstance, the last parts of them seem to be blocked.

    Steps to reproduce the behavior:

    1.use the largest font and display in the display setting 2.open this app for the first time, and scroll to the bottom of this intro page 3.this error could be seen

    Screenshot

    copy

    Environment

    1. Version of AF-Weather-Widget: 1.3
    2. Device : Google Pixel 2,
    3. OS version : Android 10.0
    opened by EasyVector 2
  • Temporary PNG files not deleted

    Temporary PNG files not deleted

    Hi, great widget. FYI, in /data/data/net.gitsaibot.af/files/ there's a large number of temporary files, two new PNG files generated every hour or two, which are never deleted. I've been running it a bit over a month and it's taking up 123mb.

    The cause appears to be in app/src/main/java/net/gitsaibot/af/AixUtils.java: String fileName = context.getString(R.string.bufferImageFileName, appWidgetId, time, orientation); which generates a temporary filename beginning with "af".

    However in app/src/main/java/net/gitsaibot/af/AixUtils.java: deleteCacheFiles and deleteTemporaryFiles both check for: if (fileName.startsWith("aix"))

    Thanks if you can line these up so that the same prefix is used! Or not even written to disk, maybe?

    opened by tw-hx 1
  • Remaining issues in separation from veierland.net

    Remaining issues in separation from veierland.net

    Sunrise is still using the old subdomain. You should centralize the code for setting hostname and user-agent into one place and use that for calling both locationforecast and sunrise.

    app/src/main/java/net/gitsaibot/af/data/AixMetSunTimeData.java
    302:						"https://aa033wckd2azu8v41.api.met.no/weatherapi/sunrise/2.0/?lat=%.1f&lon=%.1f&date=%s&offset=+00:00&days=%d",
    

    Also seems there is code for connecting to a veierland.net backend which should probably be removed as I suspect it will be going away:

    app/src/main/java/net/gitsaibot/af/AixDeviceProfileActivity.java
    805:			URI uri = new URI("https", "www.veierland.net", "/aix/aix.php",
    823:			URI uri = new URI("https", "www.veierland.net", "/aix/aix.php", "d=" + mTaskDevice, null);
    
    opened by geira 1
  • Fixed the blocked text on the intro page

    Fixed the blocked text on the intro page

    Dear developer:

    Hello! I am the creator of issue #11, and I have fixed the blocked text on the intro page. I would appreciate it if you could kindly revise my code and leave me some advice. Thank you so much for your precious time!

    Here is the screenshot after my changes:

    copy

    Thanks again! Have a nice day! :)

    opened by EasyVector 0
  • feature request - integrate open data from dwd

    feature request - integrate open data from dwd

    First, thank you for this simple and useful widget. It would be great if the open data from the DWD (German Meteorological Service) could be integrated. Germany is covered by MET, but the data from DWD is a bit more accurate. If this is not completely out of the scope of this project, then maybe this could be helpful.

    opened by tanrak 1
  • Enhancement: Show full (rounded) degree number only; no decimals

    Enhancement: Show full (rounded) degree number only; no decimals

    Sometimes, the vertical bar shows decimal temperature values which for a weather forecast is too much detail in my viewpoint (see screenshot below). For such a small widget I think it would better and much easier to read to have a scale from 4-24°C (or something similar) for the example screenshot below.

    Screenshot .

    opened by petrarca-arezzo 2
  • Offer more APK sources

    Offer more APK sources

    Besides a highly anticipated Google Play release, I'd like to ask for this repo's release page to not only provide source archives, but a compiled APK file, too. 🙂

    opened by Eagle3386 5
  • Suggestion: tapping the widget to open a custom URL.

    Suggestion: tapping the widget to open a custom URL.

    I'd use it to open a custom URL to my national weather service website to see the weather for the next couple of days.

    Other than that, excellent app. Thank you.

    opened by CynicusRex 0
  • Nighttime icons used during daytime

    Nighttime icons used during daytime

    The widget shows moon icon instead of a sun during daytime. OS: Android 11 Version: 1.2 (from f-droid) Data source: Auto

    bug

    I've tried the following:

    • clear cache
    • clear data
    • both data sources
    opened by zpuskas 6
Releases(v1.8)
Owner
null
☁️🌤🌧☀ Weather Android application that gives you the weather information of your saved location or any region you are looking for☁️🌤🌧☀

☁️????☀ Weather Android application that gives you the weather information of your saved location or any region you are looking for☁️????☀

Nisa Efendioğlu 4 Apr 6, 2022
Advanced Android Weather App using MVVM Architecture Sample (ViewModel + LiveData + Kotlin + volley) = Weather App

Advanced Android Weather App using MVVM Architecture Sample (ViewModel + LiveData + Kotlin + volley) = Weather App Video Weather.-.HD.720p.mov Introdu

wykee2 4 Jul 12, 2022
WeatherProject - Weather Project using GPS data and the weather from the API based on the search

WeatherProject In this project, I showed the weather at the current location usi

null 6 Apr 26, 2022
Weather-app - Making Weather application using retrofit from api

weather-app Motivasyon Hava Durumu uygulamasını api'den retrofit kullanarak yapm

İsa Kulaksız 0 Nov 2, 2022
Open Graph Parser for Android

OpenGraphParser A small and easy to use library which provides the convenience of using Open Graph Protocol in Android very easily. Create previews fo

Priyansh Kedia 69 Jan 4, 2023
A stock market app , with cached , search functionality , and market overview in the form of graph statics

A stock market app , with cached , search functionality , and market overview in the form of graph statics. The graph really looks cool (jetpack compose, SOLID priciples).

SUMIT KUMAR 1 May 20, 2022
Simple application with some famous graph algorithm implemented by Jetpack Compose framework

GraphAlgorithm This Application was implemented by Jetpack Compose framework. The dagger-hilt library was used for dependency injection and Room libra

Amirreza lotfi 8 Aug 17, 2022
TIRO - Time Is Running Out : Productivity app and widget for Android

TIRO-2022 TIRO - Time Is Running Out : Productivity app and widget for Android The purpose of this app is to let you know how much remaining time you

Alubecki 2 Aug 28, 2022
Proof of concept of custom widgets and apps running on the Z Flip3 cover screen. Adds a widget to Z Flip3 cover screen that lets you launch a web browser-like app on the cover.

SubUI-browser Proof of concept of custom widgets and apps running on the Z Flip3 cover screen. Adds a widget to Z Flip3 cover screen that lets you lau

null 35 Dec 24, 2022
Project BlueWeather is an android app that lists the closest locations to you and shows the 7-day weather forecast for the location you select.

Project BLUEWEATHER Description Project BlueWeather is a weather forecast application for android. It lists the locations closest to you. It then prov

Burak Unutmaz 4 May 12, 2021
A weather app for Android using OpenWeatherMap with MVVM + Clean Architecture

Weather App ?? Weather App for Android that shows 16 days forecast for Paris, France - Made with Hilt, Coroutines, Retrofit, ViewModel, Navigation bas

Waseef Akhtar 7 Oct 4, 2022
School project: Weather forecast application made in android studio using Kotlin, SQLite and OpenWeatherMaps free API.

A*star 4-cast School project made in android studio using Kotlin, SQLite and free API from OpenWeatherMap.org. A weather forecast app with C(U)RD oper

Felicia Olsson 2 Apr 3, 2022
A simple and minimalistic weather forecasting android app.

Ohayō is a minimalistic weather forecast application developed using Kotlin language Screenshoots Technologies Used Jetpack navigation MVVM Arch

Christopher Nanju 1 May 6, 2022
Weather App using Retrofit Kotlin Android

NewsFeed Built an Android App which displays current weather and weather forecast of a selected city to the user. Features Coroutines Hilt JSON Parsin

Kumar Baibhav 1 Oct 4, 2022
Android weather forecast app, which uses OpenWeatherMap API

Weather App ?? Android weather forecast app, which uses OpenWeatherMap API About Simple, free and fast weather API from OpenWeatherMap you have access

Ritesh 6 May 17, 2022
Weather application example with Android Architecture components and Clean Architecture

Weather application example with Android Architecture components and Clean Architecture Weather app that shows how to architect an android app in a cl

null 2 Dec 3, 2021
Koliber - Android weather & air pollution app. Current air quality index and forecast

Donate If you like this app please donate Bitcoin: bc1qwqqpuy54qfja7h5dzpd9swgrn

Krzysztof Kobiałka 2 Oct 22, 2022
A simple Android app to show city weather

City Weather Application A simple MVVM application to show a list of cities weather where you can search for your favorite city weather and see its we

Mohammad Alhaj 1 May 17, 2022
⛈ Weather app with OpenWeatherMap API.

⛈ Weather app with OpenWeatherMap API. Here i demonstrate the use of Modern Android development tools - (Kotlin, Architecture Components, MVVM, LiveData, Material Components)

Shashank Singhal 154 Dec 31, 2022