MyWeather is an intuitive weather application for Android, built using Kotlin and Android Studio. The app provides current weather conditions, forecasts, and location-based services utilizing several APIs.
- Current Weather: Get the current weather conditions for your location.
- Weather Forecast: View detailed weather forecasts for the next seven days.
- Location Search: Search for weather conditions in different locations using autocomplete.
- Reverse Geocoding: Convert geographic coordinates into a human-readable address.
- Kotlin
- Android Studio
- Retrofit
- SQLite
- Room Database
-
Clone the repository:
git clone https://github.com/your-username/MyWeather.git
-
Open the project in Android Studio:
- File > Open > Select the
MyWeatherdirectory
- File > Open > Select the
-
Build the project:
- Build > Make Project
-
Run the project:
- Run > Run 'app'
-
Create a new file in the root of your project named
apiKeys.properties -
Open
apiKeys.propertiesand add your API keys:locationIQApiKey=YOUR_LOCATIONIQ_API_KEY reverseGeocodeApiKey=YOUR_REVERSE_GEO_CODE_API_KEY
-
Replace
YOUR_LOCATIONIQ_API_KEYandYOUR_REVERSE_GEO_CODE_API_KEYwith your actual API keys.
- Search for a location using the search bar.
- Select a location from the autocomplete suggestions.
- View the weather forecast for the selected location.
- Use the GPS feature to get the weather for your current location.



