https://github.com/tonychouteau/weatherwindwidget
Android Widget that display weather, wind speed and direction
https://github.com/tonychouteau/weatherwindwidget
android android-widget weather
Last synced: about 2 months ago
JSON representation
Android Widget that display weather, wind speed and direction
- Host: GitHub
- URL: https://github.com/tonychouteau/weatherwindwidget
- Owner: TonyChouteau
- Created: 2021-09-09T17:21:43.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-09-19T12:59:55.000Z (over 3 years ago)
- Last Synced: 2025-01-31T16:35:41.515Z (4 months ago)
- Topics: android, android-widget, weather
- Language: Java
- Homepage:
- Size: 1.61 MB
- Stars: 2
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WeatherWidget
## Description
Widget android to display the weather, more precisely: the state of the sky, the wind speed and its direction (where it comes from).
Are displayed, a **history** of the last 6/12 hours, the **current weather**, and a **forecast** of the future 6/12 hours. A colored line gives an idea of the weather condition : Green <-> Red shades. A click change the state from 6hours view to 12hours view (1 or 2h gap between each line)
## TODO
I want to add some improvements to this widget :
1) Doing the application itself, for now, is a basic empty activity. I want to use it to configure some aspects of the widget: location, time preference, maybe more...
2) Add a second mode, with one click the forecast changes from a 1h delay to 2h to give a better longer term forecast (so the last forecast changes from 9h in the future to 18h). Another click turn back to the default mode with 1h delay.## Use It
Add a resource file in the app/res/values folder with the id "api_key" that contains your OpenWeather apik key, and you're done!
(Maybe the layout won't be right for your phone, I did it for my One Plus 6T, so you may have to change some width/height values, but not a big deal I think)## Démo :
5 x 1

5 x 2

5 x 3
