Skip to content

MosiaPuseletso/android_weatherApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Simple Weather App in Android (Java)

This is a basic weather app developed for Android using Java. The app provides users with current weather information for a specified location using data from a weather API. It demonstrates how to make API calls, parse JSON data, and display the information in a user-friendly manner.

Features

  • Current Weather Display: The app displays the current weather conditions including temperature, humidity, wind speed, and weather description for the chosen location.

  • Location Search: Users can search for weather information by entering the name of a city or location.

  • API Integration: The app integrates with a weather API to fetch real-time weather data for the selected location.

Getting Started

Follow these instructions to get a copy of the project up and running on your local machine.

Prerequisites

  • Android Studio: Download and install the latest version of Android Studio from the official website.

Installing

  1. Clone the repository to your local machine using the following command:

         git clone https://github.com/MosiaPuseletso/android_weatherApp.git
  2. Open Android Studio and select "Open an existing Android Studio project.

        cd android_weatherApp/WeatherApp
  3. Navigate to the directory where you cloned the repository and select the project folder.

  4. Wait for Android Studio to sync the project and download the necessary dependencies.

Running the App

Connect your Android device or use an emulator to run the app. Click the "Run" button in Android Studio, and the app will be installed and launched on the chosen device/emulator.

Built With

  • Java - Programming language used
  • Android Studio - IDE used for development
  • Retrofit - HTTP client for API calls
  • Gson - Library for JSON parsing

Acknowledgments

  • Thanks to WeatherAPI for providing the weather data.
  • This project was inspired by the need to understand API integration in Android apps.

License

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

Conclusion

This simple weather app serves as a starting point for Android developers looking to create apps that integrate with external APIs. It covers the basics of API calls, JSON parsing, and UI design, and can be expanded upon to include more advanced features and functionalities. Feel free to contribute to this project by submitting pull requests or reporting issues. Happy coding!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages