Skip to content

A Basic Weather App for Android Devices which gets weather data through OpenWeather API

Notifications You must be signed in to change notification settings

Code-R57/HowsTheSky

Repository files navigation

How's The Sky

How's The Sky is a Weather App made for Android devices. The app was initially developed as part of the assignment submitted for the Android Development Track of the Summer Group held by cruX, The Programming & Computing Club of BITS Pilani, Hyderabad Campus.

Features

  • Search for a City's Weather
  • Stores Recently Searched Cities
  • Tap on one of the Recently Searched City to get Current Weather of that City
  • Get More Details (Humidity, Visibility, Wind Speed, etc.) of the City's Weather
  • Has both Dark and Light Mode Support

Dark Mode UI

Dark Mode UI

Light Mode UI

Light Mode UI

Installation

  1. Clone the Project:

    1. Run git clone https://github.com/Code-R57/HowsTheSky.git in terminal
    2. Android Studio -> File -> Open
  2. Getting API Key:

    1. Open OpenWeather Sign In/Sign Up
    2. Go to OpenWeather API Keys and copy the API Key Generated
  3. Adding the API Key in the Project:

    1. In the project folder, go to local.properties file
    2. Add the line OW_KEY={Your API Key} in the file ( do not add the { } )

OpenWeather API

How's The Sky uses OpenWeather API to get the current weather of the city searched. OpenWeather Weather Conditions is used to get the image from the image id.

Libraries

  • Coroutines - For managing background threads
  • Retrofit - A type-safe HTTP client for Android
  • Glide - Image loading library for Android
  • SafeArgs - Pass data with type safety
  • Jetpack
    • ViewModel - Store and manage UI-related data in a lifecycle conscious way
    • LiveData - Observable data holder class
    • Navigation - Implements in-app navigation
    • Room - Provides an abstraction layer over SQLite to allow fluent database access while harnessing the full power of SQLite

About

A Basic Weather App for Android Devices which gets weather data through OpenWeather API

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages