Skip to content

A .NET MAUI app that uses the device's magnetometer to detect metal objects. The app visualizes magnetic field strength with a dynamic bar that changes color from green to red and provides haptic feedback for strong detections.

License

Notifications You must be signed in to change notification settings

BiluliB/ict-335-praxisarbeit

Repository files navigation

Magnetify

Magnetify is a .NET application built with the Microsoft Maui framework. It's a cross-platform application that can run on multiple platforms including Android and iOS.

Setup and Installation

  1. Ensure you have the .NET 8.0 SDK installed on your machine. You can download it from the official .NET website.

  2. Clone the repository to your local machine using Git:

git clone https://github.com/yourusername/ict-335-praxisarbeit.git
  1. Navigate to the Magnetify directory:
cd ict-335-praxisarbeit/Magnetify
  1. Restore the NuGet packages:
dotnet restore

Running the Application

To run the application, use the dotnet run command:

dotnet run

Running Tests

Tests are located in the Magnetify.Tests directory. To run the tests, navigate to the Magnetify.Tests directory and use the dotnet test command:

cd ../Magnetify.Tests
dotnet test

Dependencies

The project depends on several NuGet packages, including:

  • Microsoft.Maui.Controls: Provides the UI controls for the Maui application.
  • Microsoft.NET.Test.Sdk: The MSBuild targets and properties for building .NET Test projects.
  • Moq: A popular and friendly mocking framework for .NET.
  • xunit: A free, open-source, community-focused unit testing tool for the .NET Framework.

Overview

Magnetify is a project created as part of the ict-335-praxisarbeit. It's built using the Microsoft Maui framework, which allows for the creation of cross-platform applications using .NET. The application's main functionality and logic are contained within the Magnetify project, while unit tests can be found in the Magnetify.Tests project.

For more detailed information about the project structure and specific functionalities, please refer to the source code and inline comments.

Contributing

Contributions are welcome! Please feel free to submit a pull request or open an issue on the GitHub repository.

License

This project is licensed under the terms of the Apache License 2.0.

About

A .NET MAUI app that uses the device's magnetometer to detect metal objects. The app visualizes magnetic field strength with a dynamic bar that changes color from green to red and provides haptic feedback for strong detections.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages