WeatherApp is an Android application that provides real-time weather information based on the user's current location or a specified city. The app leverages the OpenWeatherMap API to fetch weather data, including temperature, weather conditions, humidity, wind speed, and more. It also integrates with Google Location Services to get the user's current location and uses Retrofit for network calls and Picasso for image loading. The app features an intuitive UI with Edge-to-Edge support and adaptive system bar insets.
- Current Location Weather: Automatically fetches and displays weather information based on the user's current location.
- City Search: Allows users to search for weather information by entering a city name.
- Real-time Data: Fetches up-to-date weather data from the OpenWeatherMap API.
- User Interface: Clean and responsive UI with Edge-to-Edge support.
- Image Loading: Utilizes Picasso to load weather icons dynamically.
- Permissions Handling: Requests necessary permissions for accessing location data.
- Android SDK
- OpenWeatherMap API
- Retrofit
- Picasso
- Google Location Services
- Material Design Components
- Clone the repository:
git clone https://github.com/nicywi/WeatherApp.git
- Open the project in Android Studio.
- Build and run the project on an Android device or emulator.
- Grant location permissions when prompted.
- Use the floating action button to search for weather data by city.
- View real-time weather updates based on your current location.