diff --git a/Polar_chart_sample/PolarChartSample.slnx b/Polar_chart_sample/PolarChartSample.slnx new file mode 100644 index 0000000..da42a19 --- /dev/null +++ b/Polar_chart_sample/PolarChartSample.slnx @@ -0,0 +1,3 @@ + + + diff --git a/Polar_chart_sample/PolarChartSample/App.xaml.cs b/Polar_chart_sample/PolarChartSample/App.xaml.cs index e8e71dd..b6566ee 100644 --- a/Polar_chart_sample/PolarChartSample/App.xaml.cs +++ b/Polar_chart_sample/PolarChartSample/App.xaml.cs @@ -1,12 +1,17 @@ -namespace PolarChartSample +using Microsoft.Extensions.DependencyInjection; + +namespace PolarChartSample { public partial class App : Application { public App() { InitializeComponent(); + } - MainPage = new AppShell(); + protected override Window CreateWindow(IActivationState? activationState) + { + return new Window(new AppShell()); } } -} +} \ No newline at end of file diff --git a/Polar_chart_sample/PolarChartSample/AppShell.xaml b/Polar_chart_sample/PolarChartSample/AppShell.xaml index df9a2f1..d5a13f0 100644 --- a/Polar_chart_sample/PolarChartSample/AppShell.xaml +++ b/Polar_chart_sample/PolarChartSample/AppShell.xaml @@ -4,10 +4,10 @@ xmlns="http://schemas.microsoft.com/dotnet/2021/maui" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:local="clr-namespace:PolarChartSample" - Shell.FlyoutBehavior="Disabled" Title="PolarChartSample"> diff --git a/Polar_chart_sample/PolarChartSample/Platforms/Android/MainActivity.cs b/Polar_chart_sample/PolarChartSample/Platforms/Android/MainActivity.cs index a7a2be3..faccf7f 100644 --- a/Polar_chart_sample/PolarChartSample/Platforms/Android/MainActivity.cs +++ b/Polar_chart_sample/PolarChartSample/Platforms/Android/MainActivity.cs @@ -4,7 +4,7 @@ namespace PolarChartSample { - [Activity(Theme = "@style/Maui.SplashTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.UiMode | ConfigChanges.ScreenLayout | ConfigChanges.SmallestScreenSize | ConfigChanges.Density)] + [Activity(Theme = "@style/Maui.SplashTheme", MainLauncher = true, LaunchMode = LaunchMode.SingleTop, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.UiMode | ConfigChanges.ScreenLayout | ConfigChanges.SmallestScreenSize | ConfigChanges.Density)] public class MainActivity : MauiAppCompatActivity { } diff --git a/Polar_chart_sample/PolarChartSample/Platforms/MacCatalyst/Info.plist b/Polar_chart_sample/PolarChartSample/Platforms/MacCatalyst/Info.plist index 7268977..f2e0987 100644 --- a/Polar_chart_sample/PolarChartSample/Platforms/MacCatalyst/Info.plist +++ b/Polar_chart_sample/PolarChartSample/Platforms/MacCatalyst/Info.plist @@ -15,6 +15,8 @@ 2 + LSApplicationCategoryType + public.app-category.lifestyle UIRequiredDeviceCapabilities arm64 diff --git a/Polar_chart_sample/PolarChartSample/Platforms/Tizen/Main.cs b/Polar_chart_sample/PolarChartSample/Platforms/Tizen/Main.cs deleted file mode 100644 index 09936b0..0000000 --- a/Polar_chart_sample/PolarChartSample/Platforms/Tizen/Main.cs +++ /dev/null @@ -1,17 +0,0 @@ -using Microsoft.Maui; -using Microsoft.Maui.Hosting; -using System; - -namespace PolarChartSample -{ - internal class Program : MauiApplication - { - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); - - static void Main(string[] args) - { - var app = new Program(); - app.Run(args); - } - } -} diff --git a/Polar_chart_sample/PolarChartSample/Platforms/Tizen/tizen-manifest.xml b/Polar_chart_sample/PolarChartSample/Platforms/Tizen/tizen-manifest.xml deleted file mode 100644 index 53e3533..0000000 --- a/Polar_chart_sample/PolarChartSample/Platforms/Tizen/tizen-manifest.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - maui-appicon-placeholder - - - - - http://tizen.org/privilege/internet - - - - \ No newline at end of file diff --git a/Polar_chart_sample/PolarChartSample/Platforms/Windows/Package.appxmanifest b/Polar_chart_sample/PolarChartSample/Platforms/Windows/Package.appxmanifest index 24f9206..f965dc6 100644 --- a/Polar_chart_sample/PolarChartSample/Platforms/Windows/Package.appxmanifest +++ b/Polar_chart_sample/PolarChartSample/Platforms/Windows/Package.appxmanifest @@ -8,7 +8,7 @@ - + $placeholder$ diff --git a/Polar_chart_sample/PolarChartSample/Platforms/Windows/app.manifest b/Polar_chart_sample/PolarChartSample/Platforms/Windows/app.manifest index 6232418..e5a3552 100644 --- a/Polar_chart_sample/PolarChartSample/Platforms/Windows/app.manifest +++ b/Polar_chart_sample/PolarChartSample/Platforms/Windows/app.manifest @@ -10,6 +10,8 @@ --> true/PM PerMonitorV2, PerMonitor + + true diff --git a/Polar_chart_sample/PolarChartSample/Platforms/iOS/Resources/PrivacyInfo.xcprivacy b/Polar_chart_sample/PolarChartSample/Platforms/iOS/Resources/PrivacyInfo.xcprivacy new file mode 100644 index 0000000..24ab3b4 --- /dev/null +++ b/Polar_chart_sample/PolarChartSample/Platforms/iOS/Resources/PrivacyInfo.xcprivacy @@ -0,0 +1,51 @@ + + + + + + NSPrivacyAccessedAPITypes + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryFileTimestamp + NSPrivacyAccessedAPITypeReasons + + C617.1 + + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategorySystemBootTime + NSPrivacyAccessedAPITypeReasons + + 35F9.1 + + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryDiskSpace + NSPrivacyAccessedAPITypeReasons + + E174.1 + + + + + + diff --git a/Polar_chart_sample/PolarChartSample/PolarChartSample.csproj b/Polar_chart_sample/PolarChartSample/PolarChartSample.csproj index b2269ef..db3b756 100644 --- a/Polar_chart_sample/PolarChartSample/PolarChartSample.csproj +++ b/Polar_chart_sample/PolarChartSample/PolarChartSample.csproj @@ -1,10 +1,9 @@ - + - net8.0-android;net8.0-ios;net8.0-maccatalyst - $(TargetFrameworks);net8.0-windows10.0.19041.0 - - + net10.0-android + $(TargetFrameworks);net10.0-ios;net10.0-maccatalyst + $(TargetFrameworks);net10.0-windows10.0.19041.0 + SourceGen + PolarChartSample @@ -30,12 +37,14 @@ 1.0 1 - 11.0 - 13.1 + + None + + 15.0 + 15.0 21.0 10.0.17763.0 10.0.17763.0 - 6.5 @@ -48,7 +57,7 @@ - + @@ -58,8 +67,7 @@ - - + diff --git a/Polar_chart_sample/PolarChartSample/PolarChartSample.sln b/Polar_chart_sample/PolarChartSample/PolarChartSample.sln deleted file mode 100644 index 35ae4d6..0000000 --- a/Polar_chart_sample/PolarChartSample/PolarChartSample.sln +++ /dev/null @@ -1,27 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.8.34330.188 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PolarChartSample", "PolarChartSample.csproj", "{B5AA8CBE-0874-4D62-8576-A060CEF770F4}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {B5AA8CBE-0874-4D62-8576-A060CEF770F4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {B5AA8CBE-0874-4D62-8576-A060CEF770F4}.Debug|Any CPU.Build.0 = Debug|Any CPU - {B5AA8CBE-0874-4D62-8576-A060CEF770F4}.Debug|Any CPU.Deploy.0 = Debug|Any CPU - {B5AA8CBE-0874-4D62-8576-A060CEF770F4}.Release|Any CPU.ActiveCfg = Release|Any CPU - {B5AA8CBE-0874-4D62-8576-A060CEF770F4}.Release|Any CPU.Build.0 = Release|Any CPU - {B5AA8CBE-0874-4D62-8576-A060CEF770F4}.Release|Any CPU.Deploy.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {24F14122-8899-488E-8970-8D3A68A84422} - EndGlobalSection -EndGlobal diff --git a/Polar_chart_sample/PolarChartSample/Properties/launchSettings.json b/Polar_chart_sample/PolarChartSample/Properties/launchSettings.json index edf8aad..4f85793 100644 --- a/Polar_chart_sample/PolarChartSample/Properties/launchSettings.json +++ b/Polar_chart_sample/PolarChartSample/Properties/launchSettings.json @@ -1,7 +1,7 @@ { "profiles": { "Windows Machine": { - "commandName": "MsixPackage", + "commandName": "Project", "nativeDebugging": false } } diff --git a/Polar_chart_sample/PolarChartSample/Resources/Fonts/OpenSans-Regular.ttf b/Polar_chart_sample/PolarChartSample/Resources/Fonts/OpenSans-Regular.ttf index 9ab655d..2cc82d2 100644 Binary files a/Polar_chart_sample/PolarChartSample/Resources/Fonts/OpenSans-Regular.ttf and b/Polar_chart_sample/PolarChartSample/Resources/Fonts/OpenSans-Regular.ttf differ diff --git a/Polar_chart_sample/PolarChartSample/Resources/Fonts/OpenSans-Semibold.ttf b/Polar_chart_sample/PolarChartSample/Resources/Fonts/OpenSans-Semibold.ttf index 2b7468e..fcb5284 100644 Binary files a/Polar_chart_sample/PolarChartSample/Resources/Fonts/OpenSans-Semibold.ttf and b/Polar_chart_sample/PolarChartSample/Resources/Fonts/OpenSans-Semibold.ttf differ diff --git a/Polar_chart_sample/PolarChartSample/Resources/Images/dotnet_bot.png b/Polar_chart_sample/PolarChartSample/Resources/Images/dotnet_bot.png index f93ce02..054167e 100644 Binary files a/Polar_chart_sample/PolarChartSample/Resources/Images/dotnet_bot.png and b/Polar_chart_sample/PolarChartSample/Resources/Images/dotnet_bot.png differ diff --git a/Polar_chart_sample/PolarChartSample/Resources/Raw/AboutAssets.txt b/Polar_chart_sample/PolarChartSample/Resources/Raw/AboutAssets.txt index 15d6244..89dc758 100644 --- a/Polar_chart_sample/PolarChartSample/Resources/Raw/AboutAssets.txt +++ b/Polar_chart_sample/PolarChartSample/Resources/Raw/AboutAssets.txt @@ -4,7 +4,7 @@ is automatically handled by the following `MauiAsset` Build Action within your ` -These files will be deployed with you package and will be accessible using Essentials: +These files will be deployed with your package and will be accessible using Essentials: async Task LoadMauiAsset() { diff --git a/Polar_chart_sample/PolarChartSample/Resources/Styles/Colors.xaml b/Polar_chart_sample/PolarChartSample/Resources/Styles/Colors.xaml index 30307a5..d57fcc6 100644 --- a/Polar_chart_sample/PolarChartSample/Resources/Styles/Colors.xaml +++ b/Polar_chart_sample/PolarChartSample/Resources/Styles/Colors.xaml @@ -1,5 +1,4 @@  - diff --git a/Polar_chart_sample/PolarChartSample/Resources/Styles/Styles.xaml b/Polar_chart_sample/PolarChartSample/Resources/Styles/Styles.xaml index e0d36bb..5fef12a 100644 --- a/Polar_chart_sample/PolarChartSample/Resources/Styles/Styles.xaml +++ b/Polar_chart_sample/PolarChartSample/Resources/Styles/Styles.xaml @@ -1,5 +1,4 @@  - @@ -132,12 +131,6 @@ - - - - - - + +