From 5396fc0dcbe474de8bb379c920856cb8439a2c69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Szab=C3=B3?= Date: Mon, 24 Feb 2025 13:39:05 +0100 Subject: [PATCH] =?UTF-8?q?Kamera=20haszn=C3=A1lat=C3=A1hoz=20alapok?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/WorkFlowCheck.MAUI/MauiProgram.cs | 5 +- .../Pages/CheckList/CheckListPage.xaml | 12 +++ .../Pages/CheckList/CheckListPage.xaml.cs | 9 +++ .../Pages/Media/CaptureImagePage.xaml | 78 +++++++++++++++++++ .../Pages/Media/CaptureImagePage.xaml.cs | 40 ++++++++++ .../Platforms/Android/AndroidManifest.xml | 1 + .../WorkFlowCheck.MAUI.csproj | 11 ++- 7 files changed, 151 insertions(+), 5 deletions(-) create mode 100644 src/WorkFlowCheck.MAUI/Pages/CheckList/CheckListPage.xaml create mode 100644 src/WorkFlowCheck.MAUI/Pages/CheckList/CheckListPage.xaml.cs create mode 100644 src/WorkFlowCheck.MAUI/Pages/Media/CaptureImagePage.xaml create mode 100644 src/WorkFlowCheck.MAUI/Pages/Media/CaptureImagePage.xaml.cs diff --git a/src/WorkFlowCheck.MAUI/MauiProgram.cs b/src/WorkFlowCheck.MAUI/MauiProgram.cs index 20e9327..263d78c 100644 --- a/src/WorkFlowCheck.MAUI/MauiProgram.cs +++ b/src/WorkFlowCheck.MAUI/MauiProgram.cs @@ -10,6 +10,7 @@ using WorkFlowCheck.MAUI.Services.Interfaces; using DevExpress.Maui; using Microsoft.Maui.Controls.Hosting; using Microsoft.Maui.Hosting; +using CommunityToolkit.Maui.Core; namespace WorkFlowCheck.MAUI { @@ -55,7 +56,9 @@ namespace WorkFlowCheck.MAUI { fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular"); fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold"); - }).UseMauiCommunityToolkit(); + }) + .UseMauiCommunityToolkitCore() + .UseMauiCommunityToolkit(); #if DEBUG builder.Logging.AddDebug(); #endif diff --git a/src/WorkFlowCheck.MAUI/Pages/CheckList/CheckListPage.xaml b/src/WorkFlowCheck.MAUI/Pages/CheckList/CheckListPage.xaml new file mode 100644 index 0000000..da32680 --- /dev/null +++ b/src/WorkFlowCheck.MAUI/Pages/CheckList/CheckListPage.xaml @@ -0,0 +1,12 @@ + + + + + \ No newline at end of file diff --git a/src/WorkFlowCheck.MAUI/Pages/CheckList/CheckListPage.xaml.cs b/src/WorkFlowCheck.MAUI/Pages/CheckList/CheckListPage.xaml.cs new file mode 100644 index 0000000..bd3271f --- /dev/null +++ b/src/WorkFlowCheck.MAUI/Pages/CheckList/CheckListPage.xaml.cs @@ -0,0 +1,9 @@ +namespace WorkFlowCheck.MAUI.Pages.CheckList; + +public partial class CheckListPage : ContentPage +{ + public CheckListPage() + { + InitializeComponent(); + } +} \ No newline at end of file diff --git a/src/WorkFlowCheck.MAUI/Pages/Media/CaptureImagePage.xaml b/src/WorkFlowCheck.MAUI/Pages/Media/CaptureImagePage.xaml new file mode 100644 index 0000000..a62117d --- /dev/null +++ b/src/WorkFlowCheck.MAUI/Pages/Media/CaptureImagePage.xaml @@ -0,0 +1,78 @@ + + + + + + + + + + + + + + + + + + + + +