Skip to content

Weather forecast app for android built with C# .NET MAUI, using MVVM architecture and openmeteo api

License

GPL-3.0, AGPL-3.0 licenses found

Licenses found

GPL-3.0
LICENSE
AGPL-3.0
LICENSE.txt
Notifications You must be signed in to change notification settings

GiorgioCitterio/WeatherForecastAppMAUI

Repository files navigation

Weather Forecast App MAUI

GitHub all releases GitHub GitHub deployments GitHub repo size GitHub Repo stars

C# .Net SQLite Android

README.it 🇮🇹


Table of Contents

Overview

The Weather Forecast App is a mobile application developed using .NET MAUI framework. It provides users with weather forecast information for different cities. The app offers various features such as setting a default location, displaying the current location using GPS, searching for weather forecasts of any city, supporting light/dark theme based on system settings, and allowing users to view a bar chart of daily temperatures. Additionally, users can add cities to favorites and easily access their forecasts. The app is currently available for the Android platform.

Features

The Weather Forecast App offers the following features:

1. Set Default Location

  • Users can set a default location for the app to display the weather forecast upon launch.
  • This feature allows users to quickly access the weather information for their preferred location without manually searching for it.

2. Display Current Location

  • The app utilizes GPS to determine the user's current location.
  • Upon app launch, the current location's weather forecast is displayed.
  • This feature provides users with real-time weather information for their current location.

3. Search for Weather Forecasts

  • Users can search for weather forecasts of any city.
  • By entering the name of the city in the search bar, users can retrieve the weather information for that specific location.
  • This feature allows users to access weather forecasts for various cities around the world.

4. Light/Dark Theme

  • The app supports both light and dark themes based on the system settings.
  • Users can enjoy a visually appealing and comfortable user interface based on their preferred theme.

5. View Bar Chart of Daily Temperatures

  • The app provides a bar chart that visualizes the daily temperatures for a selected location.
  • Users can easily understand the temperature trends and variations for each day.
  • This feature allows users to plan their activities based on the weather conditions.

6. Add Cities to Favorites

  • Users can add cities to their favorites list for quick access to their weather forecasts.
  • The favorites feature enables users to conveniently view the weather information for their frequently visited or preferred locations.

System Requirements

Android device running Android OS (version 9 or higher)

Installation

To install the Weather Forecast App on your Android device, follow this guide.

.NET MAUI Version

The Weather Forecast App was developed using .NET MAUI 7. This version of .NET MAUI offers the latest features and enhancements for building cross-platform mobile applications.

NuGet Packages

The Weather Forecast App utilizes the following NuGet packages:

  • CommunityToolkit.Mvvm: This Microsoft library simplifies the implementation of the Model-View-ViewModel (MVVM) architecture in the app.
  • sqlite-net-pc: This SQLite-net library is used for handling SQLite database operations in the app.
  • SQLitePCLRaw.bundle_green: This Eric Sink library provides the necessary components for SQLite database functionality.
  • Syncfusion.Maui.Charts: This Syncfusion library is used to create the bar chart visualization of daily temperatures in the app.

Gifs