A collection of .NET MAUI sample pages and controls demonstrating sensor access, device capabilities, and UI components for cross-platform development.
- Sensor Management: Complete bindable services for device sensors (Accelerometer, Gyroscope, Compass, Barometer, Magnetometer, OrientationSensor)
- Custom Sensor Views: Rich visualizations including bidirectional indicators, rotation indicators, and real-time value displays
- Haptic Feedback: Advanced haptic feedback system with platform-specific implementations
- Vibration Control: Device vibration capabilities with customizable patterns
- Custom Graphics: Arc drawing and other custom UI components
- MVVM-Friendly: All capabilities exposed via bindable properties and commands
Maui-Developer-Sample/— Main MAUI applicationPages/Sensors/— Sensor demo pages (Accelerometer, Gyroscope, Compass, Barometer, Magnetometer, OrientationSensor)Pages/AppCapability/— Device capability demos (Vibration, Haptic Feedback)Pages/UI/— Custom UI component demos (Arc Drawing)Helpers/— Utility classes and bindable object helpers
Framinosona.SensorsManager/— Dedicated library for sensor management and bindable services
Framinosona.HapticFeedback/— Cross-platform haptic feedback implementation with platform-specific services
- Accelerometer: Real-time acceleration data with visual indicators
- Gyroscope: Angular velocity measurements with rotation visualization
- Compass: Magnetic compass with directional indicators
- Barometer: Atmospheric pressure readings
- Magnetometer: Magnetic field strength measurements
- Orientation Sensor: Device orientation with 3D visualization
- Vibration: Various vibration patterns and intensities
- Haptic Feedback: Platform-specific haptic responses
- Arc Drawing: Custom graphics view for drawing arcs and curves
- .NET 8+
- MAUI workload installed
- Visual Studio 2022+ or JetBrains Rider 2025.1
-
Clone the repository:
git clone https://github.com/framinosona/Maui-Developer-Sample.git cd Maui-Developer-Sample -
Open the solution in your IDE.
-
Restore NuGet packages and build the project.
-
Deploy to your preferred platform (Android, iOS, macOS, Windows).
Explore the comprehensive sensor and device capability demos:
Navigate through individual sensor pages to see:
- Real-time sensor data visualization
- Custom indicator controls showing sensor values
- Bindable services that can be integrated into your own projects
Test platform-specific features:
- Vibration patterns with different intensities and durations
- Haptic feedback responses for enhanced user interaction
Discover custom graphics and UI elements:
- Interactive arc drawing components
- Reusable visual indicators and controls
- Use the sensor services (
Framinosona.SensorsManager) in your own MAUI projects - Integrate haptic feedback (
Framinosona.HapticFeedback) for enhanced user experience - Leverage the custom view components for rich data visualization
MIT License