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 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/WorkFlowCheck.MAUI/Pages/Media/CaptureImagePage.xaml.cs b/src/WorkFlowCheck.MAUI/Pages/Media/CaptureImagePage.xaml.cs
new file mode 100644
index 0000000..3a499bc
--- /dev/null
+++ b/src/WorkFlowCheck.MAUI/Pages/Media/CaptureImagePage.xaml.cs
@@ -0,0 +1,40 @@
+namespace WorkFlowCheck.MAUI.Pages.Media;
+using Microsoft.Maui.Media;
+
+
+public partial class CaptureImagePage : ContentPage
+{
+ public CaptureImagePage()
+ {
+ InitializeComponent();
+ }
+
+ public string PhotoPath { get; private set; }
+
+ private async Task TakePhotoAsync()
+ {
+ if (MediaPicker.Default.IsCaptureSupported)
+ {
+ FileResult photo = await MediaPicker.Default.CapturePhotoAsync();
+
+ if (photo != null)
+ {
+ // A kép elérési útja
+ string localFilePath = Path.Combine(FileSystem.CacheDirectory, photo.FileName);
+
+ // A kép mentése a helyi fájlrendszerbe
+ using Stream sourceStream = await photo.OpenReadAsync();
+ using FileStream localFileStream = File.OpenWrite(localFilePath);
+ await sourceStream.CopyToAsync(localFileStream);
+
+ // Esetleg megjelenítheted az UI-ban
+ PhotoPath = localFilePath;
+ }
+ }
+ else
+ {
+ await Application.Current.MainPage.DisplayAlert("Hiba", "A kamerához való hozzáférés nem támogatott.", "OK");
+ }
+ }
+
+}
\ No newline at end of file
diff --git a/src/WorkFlowCheck.MAUI/Platforms/Android/AndroidManifest.xml b/src/WorkFlowCheck.MAUI/Platforms/Android/AndroidManifest.xml
index ad6ee37..bd17978 100644
--- a/src/WorkFlowCheck.MAUI/Platforms/Android/AndroidManifest.xml
+++ b/src/WorkFlowCheck.MAUI/Platforms/Android/AndroidManifest.xml
@@ -7,6 +7,7 @@
+
diff --git a/src/WorkFlowCheck.MAUI/WorkFlowCheck.MAUI.csproj b/src/WorkFlowCheck.MAUI/WorkFlowCheck.MAUI.csproj
index 0fd4d0c..f6a2bf2 100644
--- a/src/WorkFlowCheck.MAUI/WorkFlowCheck.MAUI.csproj
+++ b/src/WorkFlowCheck.MAUI/WorkFlowCheck.MAUI.csproj
@@ -59,6 +59,7 @@
+
@@ -103,6 +104,12 @@
MSBuild:Compile
+
+ MSBuild:Compile
+
+
+ MSBuild:Compile
+
MSBuild:Compile
@@ -114,8 +121,4 @@
-
-
-
-