Android WeatherApp Source CodeAndroid WeatherApp Source Code
Weather forecast application for Android, written in KotlinAndroid WeatherApp Source Code
Weather forecast application for Android, written in KotlinOverview
An Android weather application, which gets the current weather and forecast using the OpenWeatherMap API. Using this API the application can show the current weather in Celsius and Fahreinheit managed by city. The app shows the hourly weather forecast for the next 48 hours and daily for the next 7 days.
The application contains a cool animation on the SplashScreen. In this animation the clouds first hide the sun, then they go aways to have a clear wheater.
This source code is very good for learning and even to upload it to the Play Store.
Features
- Add, reorder and remove cities
- Current weather
- Hourly weather forecast for the next 48 hours
- Daily weather forecast for the next 7 days
- Show the current weather of the first city in a widget
- Update the widget every 15 minutes
- Offline / Online mode
- Dark / Light mode
- Support of Celsius and Fahreinheit
- Sunrise, Sunset, Humidity, Wind, Feels like
Technical features
- MVVM design pattern
- Retrofit
- Web API from OpenWeatherMap
- Free for 1000 calls / minute
- A great animation using MotionLayout
- Offline cache using Room
- Kotlin
- Kotlin Coroutines
- Kotlin Flow
- LiveData
- MediatorLiveData
- ViewModel
- SharedPreferences
- Picasso to load the pictures
- All widgets are fully customizable and configurable
Requirements
- Android Studio
Instructions
- Download the ZIP file
- Unzip
- Import it in Android Studio
- Change the package name
- Register a developer account on Google Play
- Upload the app bundle
Category | App Templates / Android / Applications / Miscellaneous |
First release | 29 September 2020 |
Last update | 29 September 2020 |
Operating Systems | Android 7.0, Android 8.0, Android 9.0, Android 10.0, Android 6.0 |
Files included | .apk, .db, .java, .xml |
Tags | weather, API, android source code, modern design, material design, android studio, android template, lightweight, quick weather info, easily customisation, nice UI UX, kotlin, mvvm, weather forecast |