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.
- 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
![Search Screen](path/to/search screen.png ![Home Screen](path/to/home screen.png
- Android Studio
- Java knowledge
- An OpenWeather API key
- A Google Cloud project with Places API enabled
-
Clone the repository:
git clone https://github.com/yourusername/weather-project.git cd weather-project
-
Open the project in Android Studio:
- Launch Android Studio.
- Select "Open an existing project" and navigate to the project directory.
-
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
-
-
Sync the project:
- Sync the project with Gradle files.
-
Run the app:
- Connect your Android device or start an emulator.
- Click the "Run" button in Android Studio.
-
Getting Weather Data:
- Launch the app.
- The home screen displays the current weather for your location.
-
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.
-
Saving Favorite Locations:
- Tap the "Save" button to save a location to your favorites.
- Access saved locations from the "Favorites" section.
We welcome contributions! Please follow these steps to contribute:
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch
). - Make your changes.
- Commit your changes (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature-branch
). - Open a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.
For any questions or feedback, please reach out:
- Email: [email protected]