4,306 Lines
- Kotlin 85.3%
- XML 13.1%
- Markdown 0.9%
- Properties 0.7%
- Shell 0%
README.md
Android Weather App
A simple Android weather app that provides current weather information and forecasts using the OpenWeatherMap API.
Features
- Current weather conditions
- Minute-by-minute precipitation forecast
- Hourly weather forecast
- 7-day weather forecast
- Location selection via your location or manual input
Usage
You need to supply your API key and desired location
- Open settings
- Enter your OpenWeatherMap API key (docs here)
- Search for your desired location (click on magnifying glass icon)
- Select the right one in search results (click on list icon below)
- Save
You can also use your location instead of searching.
Implementation
- Uses Jetpack Compose for UI
- The app uses the OpenWeatherMap API to fetch weather data.
- Fetched data is stored in a local database using Room.
- If the fetched data is older than 10 minutes, it is refreshed.
- Settings are managed using DataStore.
- Optional location permissions for automatic location detection.
Screenshots