From bd612d3e9d43a5d949ed6f3dda26b9d6b010a8c2 Mon Sep 17 00:00:00 2001 From: syneffort Date: Fri, 16 Feb 2024 14:44:23 +0900 Subject: [PATCH] my first maui app --- MyFirstMauiApp/MyFirstMauiApp.sln | 27 ++ MyFirstMauiApp/Phoneword/App.xaml | 14 + MyFirstMauiApp/Phoneword/App.xaml.cs | 12 + MyFirstMauiApp/Phoneword/AppShell.xaml | 14 + MyFirstMauiApp/Phoneword/AppShell.xaml.cs | 10 + MyFirstMauiApp/Phoneword/MainPage.xaml | 20 + MyFirstMauiApp/Phoneword/MainPage.xaml.cs | 53 +++ MyFirstMauiApp/Phoneword/MauiProgram.cs | 25 ++ MyFirstMauiApp/Phoneword/Phoneword.csproj | 55 +++ .../Phoneword/PhonewordTranslator.cs | 52 +++ .../Platforms/Android/AndroidManifest.xml | 12 + .../Platforms/Android/MainActivity.cs | 11 + .../Platforms/Android/MainApplication.cs | 16 + .../Android/Resources/values/colors.xml | 6 + .../Platforms/MacCatalyst/AppDelegate.cs | 10 + .../Platforms/MacCatalyst/Info.plist | 30 ++ .../Platforms/MacCatalyst/Program.cs | 16 + .../Phoneword/Platforms/Tizen/Main.cs | 17 + .../Platforms/Tizen/tizen-manifest.xml | 15 + .../Phoneword/Platforms/Windows/App.xaml | 8 + .../Phoneword/Platforms/Windows/App.xaml.cs | 25 ++ .../Platforms/Windows/Package.appxmanifest | 46 ++ .../Phoneword/Platforms/Windows/app.manifest | 15 + .../Phoneword/Platforms/iOS/AppDelegate.cs | 10 + .../Phoneword/Platforms/iOS/Info.plist | 32 ++ .../Phoneword/Platforms/iOS/Program.cs | 16 + .../Phoneword/Properties/launchSettings.json | 8 + .../Phoneword/Resources/AppIcon/appicon.svg | 4 + .../Phoneword/Resources/AppIcon/appiconfg.svg | 8 + .../Resources/Fonts/OpenSans-Regular.ttf | Bin 0 -> 107168 bytes .../Resources/Fonts/OpenSans-Semibold.ttf | Bin 0 -> 111060 bytes .../Phoneword/Resources/Images/dotnet_bot.svg | 93 ++++ .../Phoneword/Resources/Raw/AboutAssets.txt | 15 + .../Phoneword/Resources/Splash/splash.svg | 8 + .../Phoneword/Resources/Styles/Colors.xaml | 44 ++ .../Phoneword/Resources/Styles/Styles.xaml | 405 ++++++++++++++++++ MyFirstMauiApp/Phoneword/TestPage.cs | 43 ++ 37 files changed, 1195 insertions(+) create mode 100644 MyFirstMauiApp/MyFirstMauiApp.sln create mode 100644 MyFirstMauiApp/Phoneword/App.xaml create mode 100644 MyFirstMauiApp/Phoneword/App.xaml.cs create mode 100644 MyFirstMauiApp/Phoneword/AppShell.xaml create mode 100644 MyFirstMauiApp/Phoneword/AppShell.xaml.cs create mode 100644 MyFirstMauiApp/Phoneword/MainPage.xaml create mode 100644 MyFirstMauiApp/Phoneword/MainPage.xaml.cs create mode 100644 MyFirstMauiApp/Phoneword/MauiProgram.cs create mode 100644 MyFirstMauiApp/Phoneword/Phoneword.csproj create mode 100644 MyFirstMauiApp/Phoneword/PhonewordTranslator.cs create mode 100644 MyFirstMauiApp/Phoneword/Platforms/Android/AndroidManifest.xml create mode 100644 MyFirstMauiApp/Phoneword/Platforms/Android/MainActivity.cs create mode 100644 MyFirstMauiApp/Phoneword/Platforms/Android/MainApplication.cs create mode 100644 MyFirstMauiApp/Phoneword/Platforms/Android/Resources/values/colors.xml create mode 100644 MyFirstMauiApp/Phoneword/Platforms/MacCatalyst/AppDelegate.cs create mode 100644 MyFirstMauiApp/Phoneword/Platforms/MacCatalyst/Info.plist create mode 100644 MyFirstMauiApp/Phoneword/Platforms/MacCatalyst/Program.cs create mode 100644 MyFirstMauiApp/Phoneword/Platforms/Tizen/Main.cs create mode 100644 MyFirstMauiApp/Phoneword/Platforms/Tizen/tizen-manifest.xml create mode 100644 MyFirstMauiApp/Phoneword/Platforms/Windows/App.xaml create mode 100644 MyFirstMauiApp/Phoneword/Platforms/Windows/App.xaml.cs create mode 100644 MyFirstMauiApp/Phoneword/Platforms/Windows/Package.appxmanifest create mode 100644 MyFirstMauiApp/Phoneword/Platforms/Windows/app.manifest create mode 100644 MyFirstMauiApp/Phoneword/Platforms/iOS/AppDelegate.cs create mode 100644 MyFirstMauiApp/Phoneword/Platforms/iOS/Info.plist create mode 100644 MyFirstMauiApp/Phoneword/Platforms/iOS/Program.cs create mode 100644 MyFirstMauiApp/Phoneword/Properties/launchSettings.json create mode 100644 MyFirstMauiApp/Phoneword/Resources/AppIcon/appicon.svg create mode 100644 MyFirstMauiApp/Phoneword/Resources/AppIcon/appiconfg.svg create mode 100644 MyFirstMauiApp/Phoneword/Resources/Fonts/OpenSans-Regular.ttf create mode 100644 MyFirstMauiApp/Phoneword/Resources/Fonts/OpenSans-Semibold.ttf create mode 100644 MyFirstMauiApp/Phoneword/Resources/Images/dotnet_bot.svg create mode 100644 MyFirstMauiApp/Phoneword/Resources/Raw/AboutAssets.txt create mode 100644 MyFirstMauiApp/Phoneword/Resources/Splash/splash.svg create mode 100644 MyFirstMauiApp/Phoneword/Resources/Styles/Colors.xaml create mode 100644 MyFirstMauiApp/Phoneword/Resources/Styles/Styles.xaml create mode 100644 MyFirstMauiApp/Phoneword/TestPage.cs diff --git a/MyFirstMauiApp/MyFirstMauiApp.sln b/MyFirstMauiApp/MyFirstMauiApp.sln new file mode 100644 index 0000000..295bff2 --- /dev/null +++ b/MyFirstMauiApp/MyFirstMauiApp.sln @@ -0,0 +1,27 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.8.34511.84 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Phoneword", "Phoneword\Phoneword.csproj", "{B3546A62-5BF5-4659-A76C-626F5781CDA4}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {B3546A62-5BF5-4659-A76C-626F5781CDA4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B3546A62-5BF5-4659-A76C-626F5781CDA4}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B3546A62-5BF5-4659-A76C-626F5781CDA4}.Debug|Any CPU.Deploy.0 = Debug|Any CPU + {B3546A62-5BF5-4659-A76C-626F5781CDA4}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B3546A62-5BF5-4659-A76C-626F5781CDA4}.Release|Any CPU.Build.0 = Release|Any CPU + {B3546A62-5BF5-4659-A76C-626F5781CDA4}.Release|Any CPU.Deploy.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {34F9DB89-BB6B-44B4-AD3D-1BEC6A927C1E} + EndGlobalSection +EndGlobal diff --git a/MyFirstMauiApp/Phoneword/App.xaml b/MyFirstMauiApp/Phoneword/App.xaml new file mode 100644 index 0000000..64213f7 --- /dev/null +++ b/MyFirstMauiApp/Phoneword/App.xaml @@ -0,0 +1,14 @@ + + + + + + + + + + + diff --git a/MyFirstMauiApp/Phoneword/App.xaml.cs b/MyFirstMauiApp/Phoneword/App.xaml.cs new file mode 100644 index 0000000..3abd634 --- /dev/null +++ b/MyFirstMauiApp/Phoneword/App.xaml.cs @@ -0,0 +1,12 @@ +namespace Phoneword +{ + public partial class App : Application + { + public App() + { + InitializeComponent(); + + MainPage = new AppShell(); + } + } +} diff --git a/MyFirstMauiApp/Phoneword/AppShell.xaml b/MyFirstMauiApp/Phoneword/AppShell.xaml new file mode 100644 index 0000000..cea77a7 --- /dev/null +++ b/MyFirstMauiApp/Phoneword/AppShell.xaml @@ -0,0 +1,14 @@ + + + + + + diff --git a/MyFirstMauiApp/Phoneword/AppShell.xaml.cs b/MyFirstMauiApp/Phoneword/AppShell.xaml.cs new file mode 100644 index 0000000..a8e5031 --- /dev/null +++ b/MyFirstMauiApp/Phoneword/AppShell.xaml.cs @@ -0,0 +1,10 @@ +namespace Phoneword +{ + public partial class AppShell : Shell + { + public AppShell() + { + InitializeComponent(); + } + } +} diff --git a/MyFirstMauiApp/Phoneword/MainPage.xaml b/MyFirstMauiApp/Phoneword/MainPage.xaml new file mode 100644 index 0000000..fff6c97 --- /dev/null +++ b/MyFirstMauiApp/Phoneword/MainPage.xaml @@ -0,0 +1,20 @@ + + + + +