Skip to content

sdalvi10/weather-app

Repository files navigation

Weather Application using OpenWeatherMap API

This is an Android application that retrieves weather information from the OpenWeatherMap API and displays it in a user-friendly interface. The application consists of three main screens: Cities List, Current Weather, and Weather Forecast.

Features

  • Cities List Screen: Displays a list of cities and their respective countries. Clicking on a city will navigate to the Current Weather screen for that city.

  • Current Weather Screen: Fetches and displays the current weather information for the selected city, including temperature, humidity, wind speed, wind direction, cloudiness, and a weather icon. This screen also has a "Forecast" button that navigates to the Weather Forecast screen.

  • Weather Forecast Screen: Retrieves and displays a 5-day weather forecast for the selected city. Each forecast item shows the date/time, weather icon, temperature, maximum temperature, minimum temperature, humidity, and weather description.

Screenshots

Cities Fragment
Cities Fragment
Current Weather Fragment
Current Weather Fragment
Weather Forecast Fragment
Weather Forecast Fragment

Getting Started

  1. Sign up for an API key at OpenWeatherMap and replace the placeholder in the code with your API key.

  2. Clone or download the project repository.

  3. Open the project in Android Studio.

  4. Build and run the application on an emulator or physical device.

Dependencies

This application utilizes the following third-party libraries:

  • OkHttp: A modern HTTP client library for making API requests.
  • Picasso: A powerful image downloading and caching library for Android.

Documentation

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages