Sample weather android app to get any location on Earth you want by city name or state code, implemented with lastest technology on android Jetpack Compose [The modern ui toolkit for building native ui on android].
- Forecast for next 5 days every 3 hours.
- Search any location you want by city name or state code.
- Suggested cities to know the current weather at this moment.
- More details for current air quality and other pollutants.
- Support dark theme and light theme.
- Support arabic and english language.
- Kotlin
- Jetpack Compose
- MVVM
- Retrofit 2.9.0 (https://square.github.io/retrofit/)
- Gson 2.9.0 (https://github.com/google/gson)
- Coil 1.3.0 (https://coil-kt.github.io/coil/)
- DataStore 1.0.0 (https://developer.android.com/jetpack/androidx/releases/datastore)
- Coroutine 1.6.4 (https://developer.android.com/kotlin/coroutines)
- Hilt 2.42 (https://developer.android.com/training/dependency-injection/hilt-android)
- Navigation 2.5.2 (https://developer.android.com/jetpack/compose/navigation)
- ConstraintLayout 1.0.1 (https://developer.android.com/jetpack/androidx/releases/constraintlayout)
- SplashScreen 1.0.0 (https://developer.android.com/develop/ui/views/launch/splash-screen/migrate)
- To run this project, install it by download or clone.
- Then regiser an account on this website https://openweathermap.org/api to acquire a new api key.
- Enter this api key in Constants object under API_KEY field [path: data/local/Constants]
- Android Studio Dolphin | 2021.3.1 Patch 1
- Minimum sdk v21
- Target sdk v32
- Compile sdk v32
MIT Licence
Copyright (c) 2022 Ahmed Zaki
Permission is hereby granted, free of charge, to any person obtaining a copy of this software
and associated documentation files (the "Software"), to deal in the Software without restriction,
including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial
portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE
AND NONINFRINGEMENT.IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.