Skip to content

This is a weather application for knowing the weather in your city, written in the Kotlin language for Android mobile phones.

Notifications You must be signed in to change notification settings

AliJohari05/weather-app

Repository files navigation

🌤 WeatherApp – Modern Android Weather Application

WeatherApp is a modern and simple Android application that displays weather information using the OpenWeather API.
It is built with Material Design 3 and features attractive icons and graphics for a better user experience.


✨ Features

  • Search for any city and display current weather data
  • Shows:
    • 🌅 Sunrise and sunset time
    • 🌡 Minimum and maximum temperatures
    • 💧 Humidity
    • 🌬 Wind speed
    • 🌊 Sea level / pressure
  • Beautiful gradient background
  • Built with Material 3 and CardView
  • Weather condition icons
  • Fully responsive design (works on both phones and tablets)

🖼 Preview

| Main Screen |

Search City |

Search City |


🛠 Requirements

  • Android Studio Ladybug or newer
  • Minimum minSdkVersion 21
  • A free API key from OpenWeather
  • Internet connection

📦 Installation & Run

  1. Clone the repository: git clone https://github.com/AliJohari05/weather-app.git

  2. Open the project in Android Studio.

  3. Add your API key:
    Open MainActivity.kt and find the line: val request = Request.Builder() .url("https://api.openweathermap.org/data/2.5/weather?q=$cityName&appid=YOUR_API_KEY") Replace YOUR_API_KEY with your own API key.

  4. Run the app on an emulator or physical device.


👨‍💻 Developer

About

This is a weather application for knowing the weather in your city, written in the Kotlin language for Android mobile phones.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages