Skip to content

weather app using 16 days weather forecast and open weather api

Notifications You must be signed in to change notification settings

itwerse/Weather-Forecast-App-

Repository files navigation

Weather Project

An Android application that provides weather updates using the OpenWeather API and location services with Google Map Places API. The project features a modern user interface for an enhanced user experience.

Table of Contents

  1. Features
  2. Screenshots
  3. Installation
  4. Usage
  5. Contributing
  6. License
  7. Contact

Features

  • Fetch current weather data from the OpenWeather API
  • Search for locations using Google Map Places API
  • Display weather data in a modern and user-friendly UI
  • Save favorite locations for quick access

Screenshots

![Search Screen](path/to/search screen.png ![Home Screen](path/to/home screen.png

Installation

Prerequisites

  • Android Studio
  • Java knowledge
  • An OpenWeather API key
  • A Google Cloud project with Places API enabled

Setup

  1. Clone the repository:

    git clone https://github.com/yourusername/weather-project.git
    cd weather-project
  2. Open the project in Android Studio:

    • Launch Android Studio.
    • Select "Open an existing project" and navigate to the project directory.
  3. Configure API keys:

    • Add your OpenWeather API key in local.properties:

      openweather.api.key=YOUR_OPENWEATHER_API_KEY
    • Add your Google Places API key in local.properties:

      google.api.key=YOUR_GOOGLE_PLACES_API_KEY
  4. Sync the project:

    • Sync the project with Gradle files.
  5. Run the app:

    • Connect your Android device or start an emulator.
    • Click the "Run" button in Android Studio.

Usage

  1. Getting Weather Data:

    • Launch the app.
    • The home screen displays the current weather for your location.
  2. Searching for Locations:

    • Use the search bar to find weather information for different locations.
    • Select a location from the search results to view its weather details.
  3. Saving Favorite Locations:

    • Tap the "Save" button to save a location to your favorites.
    • Access saved locations from the "Favorites" section.

Contributing

We welcome contributions! Please follow these steps to contribute:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature-branch).
  3. Make your changes.
  4. Commit your changes (git commit -m 'Add some feature').
  5. Push to the branch (git push origin feature-branch).
  6. Open a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contact

For any questions or feedback, please reach out:

About

weather app using 16 days weather forecast and open weather api

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages