diff --git a/UI/CameraCaptureUI/CameraCaptureUISample.sln b/UI/CameraCaptureUI/CameraCaptureUISample.sln
index e1bf8f184..b0945e4af 100644
--- a/UI/CameraCaptureUI/CameraCaptureUISample.sln
+++ b/UI/CameraCaptureUI/CameraCaptureUISample.sln
@@ -1,207 +1,89 @@
-
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
-VisualStudioVersion = 17.1.32210.238
-MinimumVisualStudioVersion = 10.0.40219.1
-Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "CameraCaptureUISample.Shared", "CameraCaptureUISample\CameraCaptureUISample.Shared\CameraCaptureUISample.Shared.shproj", "{6279C845-92F8-4333-AB99-3D213163593C}"
+VisualStudioVersion = 17.2.32210.308
+MinimumVisualStudioVersion = 15.0.26124.0
+
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CameraCaptureUISample", "CameraCaptureUISample\CameraCaptureUISample.csproj", "{71167D9F-BD25-4C04-B4D4-9E85A3921E5C}"
EndProject
-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Platforms", "Platforms", "{2956D9F7-A079-4B7B-AE29-C967B716C3E9}"
-EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CameraCaptureUISample.Mobile", "CameraCaptureUISample\CameraCaptureUISample.Mobile\CameraCaptureUISample.Mobile.csproj", "{E77B8337-8382-4663-8A64-21E5D69562C5}"
-EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CameraCaptureUISample.Windows", "CameraCaptureUISample\CameraCaptureUISample.Windows\CameraCaptureUISample.Windows.csproj", "{A66C68E8-4191-4182-B631-9058DE01645B}"
+
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{BADA71DC-7FFD-4EDC-9F28-FB74AEADC713}"
+ ProjectSection(SolutionItems) = preProject
+ .editorconfig = .editorconfig
+ .gitignore = .gitignore
+ .vsconfig = .vsconfig
+ Directory.Build.props = Directory.Build.props
+ Directory.Build.targets = Directory.Build.targets
+ Directory.Packages.props = Directory.Packages.props
+ global.json = global.json
+ EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Ad-Hoc|Any CPU = Ad-Hoc|Any CPU
- Ad-Hoc|ARM = Ad-Hoc|ARM
- Ad-Hoc|arm64 = Ad-Hoc|arm64
- Ad-Hoc|iPhone = Ad-Hoc|iPhone
- Ad-Hoc|iPhoneSimulator = Ad-Hoc|iPhoneSimulator
- Ad-Hoc|x64 = Ad-Hoc|x64
- Ad-Hoc|x86 = Ad-Hoc|x86
- AppStore|Any CPU = AppStore|Any CPU
- AppStore|ARM = AppStore|ARM
- AppStore|arm64 = AppStore|arm64
- AppStore|iPhone = AppStore|iPhone
- AppStore|iPhoneSimulator = AppStore|iPhoneSimulator
- AppStore|x64 = AppStore|x64
- AppStore|x86 = AppStore|x86
Debug|Any CPU = Debug|Any CPU
Debug|ARM = Debug|ARM
- Debug|arm64 = Debug|arm64
+ Debug|ARM64 = Debug|ARM64
Debug|iPhone = Debug|iPhone
Debug|iPhoneSimulator = Debug|iPhoneSimulator
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|ARM = Release|ARM
- Release|arm64 = Release|arm64
+ Release|ARM64 = Release|ARM64
Release|iPhone = Release|iPhone
Release|iPhoneSimulator = Release|iPhoneSimulator
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {E77B8337-8382-4663-8A64-21E5D69562C5}.Ad-Hoc|Any CPU.ActiveCfg = Debug|Any CPU
- {E77B8337-8382-4663-8A64-21E5D69562C5}.Ad-Hoc|Any CPU.Build.0 = Debug|Any CPU
- {E77B8337-8382-4663-8A64-21E5D69562C5}.Ad-Hoc|ARM.ActiveCfg = Debug|Any CPU
- {E77B8337-8382-4663-8A64-21E5D69562C5}.Ad-Hoc|ARM.Build.0 = Debug|Any CPU
- {E77B8337-8382-4663-8A64-21E5D69562C5}.Ad-Hoc|arm64.ActiveCfg = Debug|Any CPU
- {E77B8337-8382-4663-8A64-21E5D69562C5}.Ad-Hoc|arm64.Build.0 = Debug|Any CPU
- {E77B8337-8382-4663-8A64-21E5D69562C5}.Ad-Hoc|arm64.Deploy.0 = Debug|Any CPU
- {E77B8337-8382-4663-8A64-21E5D69562C5}.Ad-Hoc|iPhone.ActiveCfg = Debug|Any CPU
- {E77B8337-8382-4663-8A64-21E5D69562C5}.Ad-Hoc|iPhone.Build.0 = Debug|Any CPU
- {E77B8337-8382-4663-8A64-21E5D69562C5}.Ad-Hoc|iPhoneSimulator.ActiveCfg = Debug|Any CPU
- {E77B8337-8382-4663-8A64-21E5D69562C5}.Ad-Hoc|iPhoneSimulator.Build.0 = Debug|Any CPU
- {E77B8337-8382-4663-8A64-21E5D69562C5}.Ad-Hoc|x64.ActiveCfg = Debug|Any CPU
- {E77B8337-8382-4663-8A64-21E5D69562C5}.Ad-Hoc|x64.Build.0 = Debug|Any CPU
- {E77B8337-8382-4663-8A64-21E5D69562C5}.Ad-Hoc|x86.ActiveCfg = Debug|Any CPU
- {E77B8337-8382-4663-8A64-21E5D69562C5}.Ad-Hoc|x86.Build.0 = Debug|Any CPU
- {E77B8337-8382-4663-8A64-21E5D69562C5}.AppStore|Any CPU.ActiveCfg = Debug|Any CPU
- {E77B8337-8382-4663-8A64-21E5D69562C5}.AppStore|Any CPU.Build.0 = Debug|Any CPU
- {E77B8337-8382-4663-8A64-21E5D69562C5}.AppStore|ARM.ActiveCfg = Debug|Any CPU
- {E77B8337-8382-4663-8A64-21E5D69562C5}.AppStore|ARM.Build.0 = Debug|Any CPU
- {E77B8337-8382-4663-8A64-21E5D69562C5}.AppStore|arm64.ActiveCfg = Debug|Any CPU
- {E77B8337-8382-4663-8A64-21E5D69562C5}.AppStore|arm64.Build.0 = Debug|Any CPU
- {E77B8337-8382-4663-8A64-21E5D69562C5}.AppStore|arm64.Deploy.0 = Debug|Any CPU
- {E77B8337-8382-4663-8A64-21E5D69562C5}.AppStore|iPhone.ActiveCfg = Debug|Any CPU
- {E77B8337-8382-4663-8A64-21E5D69562C5}.AppStore|iPhone.Build.0 = Debug|Any CPU
- {E77B8337-8382-4663-8A64-21E5D69562C5}.AppStore|iPhoneSimulator.ActiveCfg = Debug|Any CPU
- {E77B8337-8382-4663-8A64-21E5D69562C5}.AppStore|iPhoneSimulator.Build.0 = Debug|Any CPU
- {E77B8337-8382-4663-8A64-21E5D69562C5}.AppStore|x64.ActiveCfg = Debug|Any CPU
- {E77B8337-8382-4663-8A64-21E5D69562C5}.AppStore|x64.Build.0 = Debug|Any CPU
- {E77B8337-8382-4663-8A64-21E5D69562C5}.AppStore|x86.ActiveCfg = Debug|Any CPU
- {E77B8337-8382-4663-8A64-21E5D69562C5}.AppStore|x86.Build.0 = Debug|Any CPU
- {E77B8337-8382-4663-8A64-21E5D69562C5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {E77B8337-8382-4663-8A64-21E5D69562C5}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {E77B8337-8382-4663-8A64-21E5D69562C5}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
- {E77B8337-8382-4663-8A64-21E5D69562C5}.Debug|ARM.ActiveCfg = Debug|Any CPU
- {E77B8337-8382-4663-8A64-21E5D69562C5}.Debug|ARM.Build.0 = Debug|Any CPU
- {E77B8337-8382-4663-8A64-21E5D69562C5}.Debug|arm64.ActiveCfg = Debug|Any CPU
- {E77B8337-8382-4663-8A64-21E5D69562C5}.Debug|arm64.Build.0 = Debug|Any CPU
- {E77B8337-8382-4663-8A64-21E5D69562C5}.Debug|arm64.Deploy.0 = Debug|Any CPU
- {E77B8337-8382-4663-8A64-21E5D69562C5}.Debug|iPhone.ActiveCfg = Debug|Any CPU
- {E77B8337-8382-4663-8A64-21E5D69562C5}.Debug|iPhone.Build.0 = Debug|Any CPU
- {E77B8337-8382-4663-8A64-21E5D69562C5}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
- {E77B8337-8382-4663-8A64-21E5D69562C5}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
- {E77B8337-8382-4663-8A64-21E5D69562C5}.Debug|x64.ActiveCfg = Debug|Any CPU
- {E77B8337-8382-4663-8A64-21E5D69562C5}.Debug|x64.Build.0 = Debug|Any CPU
- {E77B8337-8382-4663-8A64-21E5D69562C5}.Debug|x86.ActiveCfg = Debug|Any CPU
- {E77B8337-8382-4663-8A64-21E5D69562C5}.Debug|x86.Build.0 = Debug|Any CPU
- {E77B8337-8382-4663-8A64-21E5D69562C5}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {E77B8337-8382-4663-8A64-21E5D69562C5}.Release|Any CPU.Build.0 = Release|Any CPU
- {E77B8337-8382-4663-8A64-21E5D69562C5}.Release|ARM.ActiveCfg = Release|Any CPU
- {E77B8337-8382-4663-8A64-21E5D69562C5}.Release|ARM.Build.0 = Release|Any CPU
- {E77B8337-8382-4663-8A64-21E5D69562C5}.Release|arm64.ActiveCfg = Release|Any CPU
- {E77B8337-8382-4663-8A64-21E5D69562C5}.Release|arm64.Build.0 = Release|Any CPU
- {E77B8337-8382-4663-8A64-21E5D69562C5}.Release|arm64.Deploy.0 = Release|Any CPU
- {E77B8337-8382-4663-8A64-21E5D69562C5}.Release|iPhone.ActiveCfg = Release|Any CPU
- {E77B8337-8382-4663-8A64-21E5D69562C5}.Release|iPhone.Build.0 = Release|Any CPU
- {E77B8337-8382-4663-8A64-21E5D69562C5}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
- {E77B8337-8382-4663-8A64-21E5D69562C5}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
- {E77B8337-8382-4663-8A64-21E5D69562C5}.Release|x64.ActiveCfg = Release|Any CPU
- {E77B8337-8382-4663-8A64-21E5D69562C5}.Release|x64.Build.0 = Release|Any CPU
- {E77B8337-8382-4663-8A64-21E5D69562C5}.Release|x86.ActiveCfg = Release|Any CPU
- {E77B8337-8382-4663-8A64-21E5D69562C5}.Release|x86.Build.0 = Release|Any CPU
- {A66C68E8-4191-4182-B631-9058DE01645B}.Ad-Hoc|Any CPU.ActiveCfg = Debug|x64
- {A66C68E8-4191-4182-B631-9058DE01645B}.Ad-Hoc|Any CPU.Build.0 = Debug|x64
- {A66C68E8-4191-4182-B631-9058DE01645B}.Ad-Hoc|Any CPU.Deploy.0 = Debug|x64
- {A66C68E8-4191-4182-B631-9058DE01645B}.Ad-Hoc|ARM.ActiveCfg = Debug|x64
- {A66C68E8-4191-4182-B631-9058DE01645B}.Ad-Hoc|ARM.Build.0 = Debug|x64
- {A66C68E8-4191-4182-B631-9058DE01645B}.Ad-Hoc|ARM.Deploy.0 = Debug|x64
- {A66C68E8-4191-4182-B631-9058DE01645B}.Ad-Hoc|arm64.ActiveCfg = Debug|arm64
- {A66C68E8-4191-4182-B631-9058DE01645B}.Ad-Hoc|arm64.Build.0 = Debug|arm64
- {A66C68E8-4191-4182-B631-9058DE01645B}.Ad-Hoc|arm64.Deploy.0 = Debug|arm64
- {A66C68E8-4191-4182-B631-9058DE01645B}.Ad-Hoc|iPhone.ActiveCfg = Debug|x64
- {A66C68E8-4191-4182-B631-9058DE01645B}.Ad-Hoc|iPhone.Build.0 = Debug|x64
- {A66C68E8-4191-4182-B631-9058DE01645B}.Ad-Hoc|iPhone.Deploy.0 = Debug|x64
- {A66C68E8-4191-4182-B631-9058DE01645B}.Ad-Hoc|iPhoneSimulator.ActiveCfg = Debug|x64
- {A66C68E8-4191-4182-B631-9058DE01645B}.Ad-Hoc|iPhoneSimulator.Build.0 = Debug|x64
- {A66C68E8-4191-4182-B631-9058DE01645B}.Ad-Hoc|iPhoneSimulator.Deploy.0 = Debug|x64
- {A66C68E8-4191-4182-B631-9058DE01645B}.Ad-Hoc|x64.ActiveCfg = Debug|x64
- {A66C68E8-4191-4182-B631-9058DE01645B}.Ad-Hoc|x64.Build.0 = Debug|x64
- {A66C68E8-4191-4182-B631-9058DE01645B}.Ad-Hoc|x64.Deploy.0 = Debug|x64
- {A66C68E8-4191-4182-B631-9058DE01645B}.Ad-Hoc|x86.ActiveCfg = Debug|x86
- {A66C68E8-4191-4182-B631-9058DE01645B}.Ad-Hoc|x86.Build.0 = Debug|x86
- {A66C68E8-4191-4182-B631-9058DE01645B}.Ad-Hoc|x86.Deploy.0 = Debug|x86
- {A66C68E8-4191-4182-B631-9058DE01645B}.AppStore|Any CPU.ActiveCfg = Debug|x64
- {A66C68E8-4191-4182-B631-9058DE01645B}.AppStore|Any CPU.Build.0 = Debug|x64
- {A66C68E8-4191-4182-B631-9058DE01645B}.AppStore|Any CPU.Deploy.0 = Debug|x64
- {A66C68E8-4191-4182-B631-9058DE01645B}.AppStore|ARM.ActiveCfg = Debug|x64
- {A66C68E8-4191-4182-B631-9058DE01645B}.AppStore|ARM.Build.0 = Debug|x64
- {A66C68E8-4191-4182-B631-9058DE01645B}.AppStore|ARM.Deploy.0 = Debug|x64
- {A66C68E8-4191-4182-B631-9058DE01645B}.AppStore|arm64.ActiveCfg = Debug|arm64
- {A66C68E8-4191-4182-B631-9058DE01645B}.AppStore|arm64.Build.0 = Debug|arm64
- {A66C68E8-4191-4182-B631-9058DE01645B}.AppStore|arm64.Deploy.0 = Debug|arm64
- {A66C68E8-4191-4182-B631-9058DE01645B}.AppStore|iPhone.ActiveCfg = Debug|x64
- {A66C68E8-4191-4182-B631-9058DE01645B}.AppStore|iPhone.Build.0 = Debug|x64
- {A66C68E8-4191-4182-B631-9058DE01645B}.AppStore|iPhone.Deploy.0 = Debug|x64
- {A66C68E8-4191-4182-B631-9058DE01645B}.AppStore|iPhoneSimulator.ActiveCfg = Debug|x64
- {A66C68E8-4191-4182-B631-9058DE01645B}.AppStore|iPhoneSimulator.Build.0 = Debug|x64
- {A66C68E8-4191-4182-B631-9058DE01645B}.AppStore|iPhoneSimulator.Deploy.0 = Debug|x64
- {A66C68E8-4191-4182-B631-9058DE01645B}.AppStore|x64.ActiveCfg = Debug|x64
- {A66C68E8-4191-4182-B631-9058DE01645B}.AppStore|x64.Build.0 = Debug|x64
- {A66C68E8-4191-4182-B631-9058DE01645B}.AppStore|x64.Deploy.0 = Debug|x64
- {A66C68E8-4191-4182-B631-9058DE01645B}.AppStore|x86.ActiveCfg = Debug|x86
- {A66C68E8-4191-4182-B631-9058DE01645B}.AppStore|x86.Build.0 = Debug|x86
- {A66C68E8-4191-4182-B631-9058DE01645B}.AppStore|x86.Deploy.0 = Debug|x86
- {A66C68E8-4191-4182-B631-9058DE01645B}.Debug|Any CPU.ActiveCfg = Debug|x64
- {A66C68E8-4191-4182-B631-9058DE01645B}.Debug|Any CPU.Build.0 = Debug|x64
- {A66C68E8-4191-4182-B631-9058DE01645B}.Debug|Any CPU.Deploy.0 = Debug|x64
- {A66C68E8-4191-4182-B631-9058DE01645B}.Debug|ARM.ActiveCfg = Debug|x64
- {A66C68E8-4191-4182-B631-9058DE01645B}.Debug|ARM.Build.0 = Debug|x64
- {A66C68E8-4191-4182-B631-9058DE01645B}.Debug|ARM.Deploy.0 = Debug|x64
- {A66C68E8-4191-4182-B631-9058DE01645B}.Debug|arm64.ActiveCfg = Debug|arm64
- {A66C68E8-4191-4182-B631-9058DE01645B}.Debug|arm64.Build.0 = Debug|arm64
- {A66C68E8-4191-4182-B631-9058DE01645B}.Debug|arm64.Deploy.0 = Debug|arm64
- {A66C68E8-4191-4182-B631-9058DE01645B}.Debug|iPhone.ActiveCfg = Debug|x64
- {A66C68E8-4191-4182-B631-9058DE01645B}.Debug|iPhone.Build.0 = Debug|x64
- {A66C68E8-4191-4182-B631-9058DE01645B}.Debug|iPhone.Deploy.0 = Debug|x64
- {A66C68E8-4191-4182-B631-9058DE01645B}.Debug|iPhoneSimulator.ActiveCfg = Debug|x64
- {A66C68E8-4191-4182-B631-9058DE01645B}.Debug|iPhoneSimulator.Build.0 = Debug|x64
- {A66C68E8-4191-4182-B631-9058DE01645B}.Debug|iPhoneSimulator.Deploy.0 = Debug|x64
- {A66C68E8-4191-4182-B631-9058DE01645B}.Debug|x64.ActiveCfg = Debug|x64
- {A66C68E8-4191-4182-B631-9058DE01645B}.Debug|x64.Build.0 = Debug|x64
- {A66C68E8-4191-4182-B631-9058DE01645B}.Debug|x64.Deploy.0 = Debug|x64
- {A66C68E8-4191-4182-B631-9058DE01645B}.Debug|x86.ActiveCfg = Debug|x86
- {A66C68E8-4191-4182-B631-9058DE01645B}.Debug|x86.Build.0 = Debug|x86
- {A66C68E8-4191-4182-B631-9058DE01645B}.Debug|x86.Deploy.0 = Debug|x86
- {A66C68E8-4191-4182-B631-9058DE01645B}.Release|Any CPU.ActiveCfg = Release|x64
- {A66C68E8-4191-4182-B631-9058DE01645B}.Release|Any CPU.Build.0 = Release|x64
- {A66C68E8-4191-4182-B631-9058DE01645B}.Release|Any CPU.Deploy.0 = Release|x64
- {A66C68E8-4191-4182-B631-9058DE01645B}.Release|ARM.ActiveCfg = Release|x64
- {A66C68E8-4191-4182-B631-9058DE01645B}.Release|ARM.Build.0 = Release|x64
- {A66C68E8-4191-4182-B631-9058DE01645B}.Release|ARM.Deploy.0 = Release|x64
- {A66C68E8-4191-4182-B631-9058DE01645B}.Release|arm64.ActiveCfg = Release|arm64
- {A66C68E8-4191-4182-B631-9058DE01645B}.Release|arm64.Build.0 = Release|arm64
- {A66C68E8-4191-4182-B631-9058DE01645B}.Release|arm64.Deploy.0 = Release|arm64
- {A66C68E8-4191-4182-B631-9058DE01645B}.Release|iPhone.ActiveCfg = Release|x64
- {A66C68E8-4191-4182-B631-9058DE01645B}.Release|iPhone.Build.0 = Release|x64
- {A66C68E8-4191-4182-B631-9058DE01645B}.Release|iPhone.Deploy.0 = Release|x64
- {A66C68E8-4191-4182-B631-9058DE01645B}.Release|iPhoneSimulator.ActiveCfg = Release|x64
- {A66C68E8-4191-4182-B631-9058DE01645B}.Release|iPhoneSimulator.Build.0 = Release|x64
- {A66C68E8-4191-4182-B631-9058DE01645B}.Release|iPhoneSimulator.Deploy.0 = Release|x64
- {A66C68E8-4191-4182-B631-9058DE01645B}.Release|x64.ActiveCfg = Release|x64
- {A66C68E8-4191-4182-B631-9058DE01645B}.Release|x64.Build.0 = Release|x64
- {A66C68E8-4191-4182-B631-9058DE01645B}.Release|x64.Deploy.0 = Release|x64
- {A66C68E8-4191-4182-B631-9058DE01645B}.Release|x86.ActiveCfg = Release|x86
- {A66C68E8-4191-4182-B631-9058DE01645B}.Release|x86.Build.0 = Release|x86
- {A66C68E8-4191-4182-B631-9058DE01645B}.Release|x86.Deploy.0 = Release|x86
+ {71167D9F-BD25-4C04-B4D4-9E85A3921E5C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {71167D9F-BD25-4C04-B4D4-9E85A3921E5C}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {71167D9F-BD25-4C04-B4D4-9E85A3921E5C}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
+ {71167D9F-BD25-4C04-B4D4-9E85A3921E5C}.Debug|ARM.ActiveCfg = Debug|Any CPU
+ {71167D9F-BD25-4C04-B4D4-9E85A3921E5C}.Debug|ARM.Build.0 = Debug|Any CPU
+ {71167D9F-BD25-4C04-B4D4-9E85A3921E5C}.Debug|ARM.Deploy.0 = Debug|Any CPU
+ {71167D9F-BD25-4C04-B4D4-9E85A3921E5C}.Debug|ARM64.ActiveCfg = Debug|Any CPU
+ {71167D9F-BD25-4C04-B4D4-9E85A3921E5C}.Debug|ARM64.Build.0 = Debug|Any CPU
+ {71167D9F-BD25-4C04-B4D4-9E85A3921E5C}.Debug|ARM64.Deploy.0 = Debug|Any CPU
+ {71167D9F-BD25-4C04-B4D4-9E85A3921E5C}.Debug|iPhone.ActiveCfg = Debug|Any CPU
+ {71167D9F-BD25-4C04-B4D4-9E85A3921E5C}.Debug|iPhone.Build.0 = Debug|Any CPU
+ {71167D9F-BD25-4C04-B4D4-9E85A3921E5C}.Debug|iPhone.Deploy.0 = Debug|Any CPU
+ {71167D9F-BD25-4C04-B4D4-9E85A3921E5C}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
+ {71167D9F-BD25-4C04-B4D4-9E85A3921E5C}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
+ {71167D9F-BD25-4C04-B4D4-9E85A3921E5C}.Debug|iPhoneSimulator.Deploy.0 = Debug|Any CPU
+ {71167D9F-BD25-4C04-B4D4-9E85A3921E5C}.Debug|x64.ActiveCfg = Debug|Any CPU
+ {71167D9F-BD25-4C04-B4D4-9E85A3921E5C}.Debug|x64.Build.0 = Debug|Any CPU
+ {71167D9F-BD25-4C04-B4D4-9E85A3921E5C}.Debug|x64.Deploy.0 = Debug|Any CPU
+ {71167D9F-BD25-4C04-B4D4-9E85A3921E5C}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {71167D9F-BD25-4C04-B4D4-9E85A3921E5C}.Debug|x86.Build.0 = Debug|Any CPU
+ {71167D9F-BD25-4C04-B4D4-9E85A3921E5C}.Debug|x86.Deploy.0 = Debug|Any CPU
+ {71167D9F-BD25-4C04-B4D4-9E85A3921E5C}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {71167D9F-BD25-4C04-B4D4-9E85A3921E5C}.Release|Any CPU.Build.0 = Release|Any CPU
+ {71167D9F-BD25-4C04-B4D4-9E85A3921E5C}.Release|Any CPU.Deploy.0 = Release|Any CPU
+ {71167D9F-BD25-4C04-B4D4-9E85A3921E5C}.Release|ARM.ActiveCfg = Release|Any CPU
+ {71167D9F-BD25-4C04-B4D4-9E85A3921E5C}.Release|ARM.Build.0 = Release|Any CPU
+ {71167D9F-BD25-4C04-B4D4-9E85A3921E5C}.Release|ARM.Deploy.0 = Release|Any CPU
+ {71167D9F-BD25-4C04-B4D4-9E85A3921E5C}.Release|ARM64.ActiveCfg = Release|Any CPU
+ {71167D9F-BD25-4C04-B4D4-9E85A3921E5C}.Release|ARM64.Build.0 = Release|Any CPU
+ {71167D9F-BD25-4C04-B4D4-9E85A3921E5C}.Release|ARM64.Deploy.0 = Release|Any CPU
+ {71167D9F-BD25-4C04-B4D4-9E85A3921E5C}.Release|iPhone.ActiveCfg = Release|Any CPU
+ {71167D9F-BD25-4C04-B4D4-9E85A3921E5C}.Release|iPhone.Build.0 = Release|Any CPU
+ {71167D9F-BD25-4C04-B4D4-9E85A3921E5C}.Release|iPhone.Deploy.0 = Release|Any CPU
+ {71167D9F-BD25-4C04-B4D4-9E85A3921E5C}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
+ {71167D9F-BD25-4C04-B4D4-9E85A3921E5C}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
+ {71167D9F-BD25-4C04-B4D4-9E85A3921E5C}.Release|iPhoneSimulator.Deploy.0 = Release|Any CPU
+ {71167D9F-BD25-4C04-B4D4-9E85A3921E5C}.Release|x64.ActiveCfg = Release|Any CPU
+ {71167D9F-BD25-4C04-B4D4-9E85A3921E5C}.Release|x64.Build.0 = Release|Any CPU
+ {71167D9F-BD25-4C04-B4D4-9E85A3921E5C}.Release|x64.Deploy.0 = Release|Any CPU
+ {71167D9F-BD25-4C04-B4D4-9E85A3921E5C}.Release|x86.ActiveCfg = Release|Any CPU
+ {71167D9F-BD25-4C04-B4D4-9E85A3921E5C}.Release|x86.Build.0 = Release|Any CPU
+ {71167D9F-BD25-4C04-B4D4-9E85A3921E5C}.Release|x86.Deploy.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
- {E77B8337-8382-4663-8A64-21E5D69562C5} = {2956D9F7-A079-4B7B-AE29-C967B716C3E9}
- {A66C68E8-4191-4182-B631-9058DE01645B} = {2956D9F7-A079-4B7B-AE29-C967B716C3E9}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
- SolutionGuid = {678F9933-7F06-4CE8-82DA-25F74EB256C1}
- EndGlobalSection
- GlobalSection(SharedMSBuildProjectFiles) = preSolution
- CameraCaptureUISample\CameraCaptureUISample.Shared\CameraCaptureUISample.Shared.projitems*{6279c845-92f8-4333-ab99-3d213163593c}*SharedItemsImports = 13
- CameraCaptureUISample\CameraCaptureUISample.Shared\CameraCaptureUISample.Shared.projitems*{a66c68e8-4191-4182-b631-9058de01645b}*SharedItemsImports = 5
- CameraCaptureUISample\CameraCaptureUISample.Shared\CameraCaptureUISample.Shared.projitems*{e77b8337-8382-4663-8a64-21e5d69562c5}*SharedItemsImports = 5
+ SolutionGuid = {6C6B0923-1795-4EF7-AE82-541235B29C10}
EndGlobalSection
EndGlobal
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/App.xaml b/UI/CameraCaptureUI/CameraCaptureUISample/App.xaml
new file mode 100644
index 000000000..136c48e88
--- /dev/null
+++ b/UI/CameraCaptureUI/CameraCaptureUISample/App.xaml
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/App.xaml.cs b/UI/CameraCaptureUI/CameraCaptureUISample/App.xaml.cs
new file mode 100644
index 000000000..a56268be3
--- /dev/null
+++ b/UI/CameraCaptureUI/CameraCaptureUISample/App.xaml.cs
@@ -0,0 +1,133 @@
+using System;
+using Microsoft.Extensions.Logging;
+using Uno.Resizetizer;
+
+namespace CameraCaptureUISample;
+
+public partial class App : Application
+{
+ ///
+ /// Initializes the singleton application object. This is the first line of authored code
+ /// executed, and as such is the logical equivalent of main() or WinMain().
+ ///
+ public App()
+ {
+ this.InitializeComponent();
+ }
+
+ protected Window? MainWindow { get; private set; }
+
+ protected override void OnLaunched(LaunchActivatedEventArgs args)
+ {
+ MainWindow = new Window();
+#if DEBUG
+ MainWindow.UseStudio();
+#endif
+
+
+ // Do not repeat app initialization when the Window already has content,
+ // just ensure that the window is active
+ if (MainWindow.Content is not Frame rootFrame)
+ {
+ // Create a Frame to act as the navigation context and navigate to the first page
+ rootFrame = new Frame();
+
+ // Place the frame in the current Window
+ MainWindow.Content = rootFrame;
+
+ rootFrame.NavigationFailed += OnNavigationFailed;
+ }
+
+ if (rootFrame.Content == null)
+ {
+ // When the navigation stack isn't restored navigate to the first page,
+ // configuring the new page by passing required information as a navigation
+ // parameter
+ rootFrame.Navigate(typeof(MainPage), args.Arguments);
+ }
+
+ MainWindow.SetWindowIcon();
+ // Ensure the current window is active
+ MainWindow.Activate();
+ }
+
+ ///
+ /// Invoked when Navigation to a certain page fails
+ ///
+ /// The Frame which failed navigation
+ /// Details about the navigation failure
+ void OnNavigationFailed(object sender, NavigationFailedEventArgs e)
+ {
+ throw new InvalidOperationException($"Failed to load {e.SourcePageType.FullName}: {e.Exception}");
+ }
+
+ ///
+ /// Configures global Uno Platform logging
+ ///
+ public static void InitializeLogging()
+ {
+#if DEBUG
+ // Logging is disabled by default for release builds, as it incurs a significant
+ // initialization cost from Microsoft.Extensions.Logging setup. If startup performance
+ // is a concern for your application, keep this disabled. If you're running on the web or
+ // desktop targets, you can use URL or command line parameters to enable it.
+ //
+ // For more performance documentation: https://platform.uno/docs/articles/Uno-UI-Performance.html
+
+ var factory = LoggerFactory.Create(builder =>
+ {
+#if __WASM__
+ builder.AddProvider(new global::Uno.Extensions.Logging.WebAssembly.WebAssemblyConsoleLoggerProvider());
+#elif __IOS__
+ builder.AddProvider(new global::Uno.Extensions.Logging.OSLogLoggerProvider());
+
+ // Log to the Visual Studio Debug console
+ builder.AddConsole();
+#else
+ builder.AddConsole();
+#endif
+
+ // Exclude logs below this level
+ builder.SetMinimumLevel(LogLevel.Information);
+
+ // Default filters for Uno Platform namespaces
+ builder.AddFilter("Uno", LogLevel.Warning);
+ builder.AddFilter("Windows", LogLevel.Warning);
+ builder.AddFilter("Microsoft", LogLevel.Warning);
+
+ // Generic Xaml events
+ // builder.AddFilter("Microsoft.UI.Xaml", LogLevel.Debug );
+ // builder.AddFilter("Microsoft.UI.Xaml.VisualStateGroup", LogLevel.Debug );
+ // builder.AddFilter("Microsoft.UI.Xaml.StateTriggerBase", LogLevel.Debug );
+ // builder.AddFilter("Microsoft.UI.Xaml.UIElement", LogLevel.Debug );
+ // builder.AddFilter("Microsoft.UI.Xaml.FrameworkElement", LogLevel.Trace );
+
+ // Layouter specific messages
+ // builder.AddFilter("Microsoft.UI.Xaml.Controls", LogLevel.Debug );
+ // builder.AddFilter("Microsoft.UI.Xaml.Controls.Layouter", LogLevel.Debug );
+ // builder.AddFilter("Microsoft.UI.Xaml.Controls.Panel", LogLevel.Debug );
+
+ // builder.AddFilter("Windows.Storage", LogLevel.Debug );
+
+ // Binding related messages
+ // builder.AddFilter("Microsoft.UI.Xaml.Data", LogLevel.Debug );
+ // builder.AddFilter("Microsoft.UI.Xaml.Data", LogLevel.Debug );
+
+ // Binder memory references tracking
+ // builder.AddFilter("Uno.UI.DataBinding.BinderReferenceHolder", LogLevel.Debug );
+
+ // DevServer and HotReload related
+ // builder.AddFilter("Uno.UI.RemoteControl", LogLevel.Information);
+
+ // Debug JS interop
+ // builder.AddFilter("Uno.Foundation.WebAssemblyRuntime", LogLevel.Debug );
+ });
+
+ global::Uno.Extensions.LogExtensionPoint.AmbientLoggerFactory = factory;
+
+#if HAS_UNO
+ global::Uno.UI.Adapter.Microsoft.Extensions.Logging.LoggingAdapter.Initialize();
+#endif
+#endif
+ }
+}
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/Assets/Icons/icon.svg b/UI/CameraCaptureUI/CameraCaptureUISample/Assets/Icons/icon.svg
new file mode 100644
index 000000000..a15af53aa
--- /dev/null
+++ b/UI/CameraCaptureUI/CameraCaptureUISample/Assets/Icons/icon.svg
@@ -0,0 +1,42 @@
+
+
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/Assets/Icons/icon_foreground.svg b/UI/CameraCaptureUI/CameraCaptureUISample/Assets/Icons/icon_foreground.svg
new file mode 100644
index 000000000..8ffc41ae3
--- /dev/null
+++ b/UI/CameraCaptureUI/CameraCaptureUISample/Assets/Icons/icon_foreground.svg
@@ -0,0 +1,137 @@
+
+
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/Assets/SharedAssets.md b/UI/CameraCaptureUI/CameraCaptureUISample/Assets/SharedAssets.md
new file mode 100644
index 000000000..b1cc4e762
--- /dev/null
+++ b/UI/CameraCaptureUI/CameraCaptureUISample/Assets/SharedAssets.md
@@ -0,0 +1,32 @@
+# Shared Assets
+
+See documentation about assets here: https://github.com/unoplatform/uno/blob/master/doc/articles/features/working-with-assets.md
+
+## Here is a cheat sheet
+
+1. Add the image file to the `Assets` directory of a shared project.
+2. Set the build action to `Content`.
+3. (Recommended) Provide an asset for various scales/dpi
+
+### Examples
+
+```text
+\Assets\Images\logo.scale-100.png
+\Assets\Images\logo.scale-200.png
+\Assets\Images\logo.scale-400.png
+
+\Assets\Images\scale-100\logo.png
+\Assets\Images\scale-200\logo.png
+\Assets\Images\scale-400\logo.png
+```
+
+### Table of scales
+
+| Scale | WinUI | iOS | Android |
+|-------|:-----------:|:---------------:|:-------:|
+| `100` | scale-100 | @1x | mdpi |
+| `125` | scale-125 | N/A | N/A |
+| `150` | scale-150 | N/A | hdpi |
+| `200` | scale-200 | @2x | xhdpi |
+| `300` | scale-300 | @3x | xxhdpi |
+| `400` | scale-400 | N/A | xxxhdpi |
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/Assets/Splash/splash_screen.svg b/UI/CameraCaptureUI/CameraCaptureUISample/Assets/Splash/splash_screen.svg
new file mode 100644
index 000000000..8ffc41ae3
--- /dev/null
+++ b/UI/CameraCaptureUI/CameraCaptureUISample/Assets/Splash/splash_screen.svg
@@ -0,0 +1,137 @@
+
+
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/Android/AndroidManifest.xml b/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/Android/AndroidManifest.xml
deleted file mode 100644
index 0f2980cd4..000000000
--- a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/Android/AndroidManifest.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/Android/Assets/Fonts/uno-fluentui-assets.ttf b/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/Android/Assets/Fonts/uno-fluentui-assets.ttf
deleted file mode 100644
index 055184054..000000000
Binary files a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/Android/Assets/Fonts/uno-fluentui-assets.ttf and /dev/null differ
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/Android/Main.Android.cs b/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/Android/Main.Android.cs
deleted file mode 100644
index 647765e43..000000000
--- a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/Android/Main.Android.cs
+++ /dev/null
@@ -1,43 +0,0 @@
-using Android.App;
-using Android.Content;
-using Android.OS;
-using Android.Runtime;
-using Android.Views;
-using Android.Widget;
-using Com.Nostra13.Universalimageloader.Core;
-using Microsoft.UI.Xaml.Media;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-
-namespace CameraCaptureUISample.Droid
-{
- [global::Android.App.ApplicationAttribute(
- Label = "@string/ApplicationName",
- Icon = "@mipmap/icon",
- LargeHeap = true,
- HardwareAccelerated = true,
- Theme = "@style/AppTheme"
- )]
- public class Application : Microsoft.UI.Xaml.NativeApplication
- {
- public Application(IntPtr javaReference, JniHandleOwnership transfer)
- : base(() => new App(), javaReference, transfer)
- {
- ConfigureUniversalImageLoader();
- }
-
- private static void ConfigureUniversalImageLoader()
- {
- // Create global configuration and initialize ImageLoader with this config
- ImageLoaderConfiguration config = new ImageLoaderConfiguration
- .Builder(Context)
- .Build();
-
- ImageLoader.Instance.Init(config);
-
- ImageSource.DefaultImageLoader = ImageLoader.Instance.LoadImageAsync;
- }
- }
-}
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/Android/MainActivity.Android.cs b/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/Android/MainActivity.Android.cs
deleted file mode 100644
index de75e82f2..000000000
--- a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/Android/MainActivity.Android.cs
+++ /dev/null
@@ -1,18 +0,0 @@
-using Android.App;
-using Android.Content.PM;
-using Android.OS;
-using Android.Views;
-using Android.Widget;
-
-namespace CameraCaptureUISample
-{
- [Activity(
- MainLauncher = true,
- ConfigurationChanges = global::Uno.UI.ActivityHelper.AllConfigChanges,
- WindowSoftInputMode = SoftInput.AdjustPan | SoftInput.StateHidden
- )]
- public class MainActivity : Microsoft.UI.Xaml.ApplicationActivity
- {
- }
-}
-
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/Android/Resources/mipmap-hdpi/icon.png b/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/Android/Resources/mipmap-hdpi/icon.png
deleted file mode 100644
index 024be3ca5..000000000
Binary files a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/Android/Resources/mipmap-hdpi/icon.png and /dev/null differ
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/Android/Resources/mipmap-ldpi/icon.png b/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/Android/Resources/mipmap-ldpi/icon.png
deleted file mode 100644
index 2194c9ca1..000000000
Binary files a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/Android/Resources/mipmap-ldpi/icon.png and /dev/null differ
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/Android/Resources/mipmap-mdpi/icon.png b/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/Android/Resources/mipmap-mdpi/icon.png
deleted file mode 100644
index cfa450bab..000000000
Binary files a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/Android/Resources/mipmap-mdpi/icon.png and /dev/null differ
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/Android/Resources/mipmap-tvdpi/icon.png b/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/Android/Resources/mipmap-tvdpi/icon.png
deleted file mode 100644
index 3869c27f4..000000000
Binary files a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/Android/Resources/mipmap-tvdpi/icon.png and /dev/null differ
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/Android/Resources/mipmap-xhdpi/icon.png b/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/Android/Resources/mipmap-xhdpi/icon.png
deleted file mode 100644
index a5cfc6e10..000000000
Binary files a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/Android/Resources/mipmap-xhdpi/icon.png and /dev/null differ
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/Android/Resources/mipmap-xxhdpi/icon.png b/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/Android/Resources/mipmap-xxhdpi/icon.png
deleted file mode 100644
index d6b8da0d5..000000000
Binary files a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/Android/Resources/mipmap-xxhdpi/icon.png and /dev/null differ
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/Android/Resources/mipmap-xxxhdpi/icon.png b/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/Android/Resources/mipmap-xxxhdpi/icon.png
deleted file mode 100644
index 696295cef..000000000
Binary files a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/Android/Resources/mipmap-xxxhdpi/icon.png and /dev/null differ
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/Android/Resources/values/Strings.xml b/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/Android/Resources/values/Strings.xml
deleted file mode 100644
index daad16b4c..000000000
--- a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/Android/Resources/values/Strings.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
- Hello World, Click Me!
- UnoQuickStart
-
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/Android/Resources/values/Styles.xml b/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/Android/Resources/values/Styles.xml
deleted file mode 100644
index f24b9a0cd..000000000
--- a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/Android/Resources/values/Styles.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/CameraCaptureUISample.Mobile.csproj b/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/CameraCaptureUISample.Mobile.csproj
deleted file mode 100644
index f22436650..000000000
--- a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/CameraCaptureUISample.Mobile.csproj
+++ /dev/null
@@ -1,80 +0,0 @@
-
-
- net8.0-android
- $(TargetFrameworks);net8.0-ios
-
-
-
-
- true
- Exe
-
-
-
-
-
- true
- 14.2
- 14.0
- 21.0
- 10.14
-
-
-
- iossimulator-x64
- maccatalyst-x64
- osx-x64
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- $(MtouchExtraArgs) --setenv=MONO_GC_PARAMS=soft-heap-limit=512m,nursery-size=64m,evacuation-threshold=66,major=marksweep,concurrent-sweep
-
- $(MtouchExtraArgs) --registrar:static
-
- $(MtouchExtraArgs) --marshal-objectivec-exceptions:disable
-
-
-
-
-
-
-
-
- $(MtouchExtraArgs) --setenv=MONO_GC_PARAMS=soft-heap-limit=512m,nursery-size=64m,evacuation-threshold=66,major=marksweep,concurrent-sweep
-
- $(MtouchExtraArgs) --registrar:static
-
- $(MtouchExtraArgs) --marshal-objectivec-exceptions:disable
-
- false
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/iOS/LaunchScreen.storyboard b/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/iOS/LaunchScreen.storyboard
deleted file mode 100644
index 04a81ae75..000000000
--- a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/iOS/LaunchScreen.storyboard
+++ /dev/null
@@ -1,52 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/iOS/Main.iOS.cs b/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/iOS/Main.iOS.cs
deleted file mode 100644
index eced97a23..000000000
--- a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/iOS/Main.iOS.cs
+++ /dev/null
@@ -1,15 +0,0 @@
-using UIKit;
-
-namespace CameraCaptureUISample
-{
- public class EntryPoint
- {
- // This is the main entry point of the application.
- static void Main(string[] args)
- {
- // if you want to use a different Application Delegate class from "AppDelegate"
- // you can specify it here.
- UIApplication.Main(args, null, typeof(App));
- }
- }
-}
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/iOS/Media.xcassets/AppIcons.appiconset/Contents.json b/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/iOS/Media.xcassets/AppIcons.appiconset/Contents.json
deleted file mode 100644
index a5c670237..000000000
--- a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/iOS/Media.xcassets/AppIcons.appiconset/Contents.json
+++ /dev/null
@@ -1,117 +0,0 @@
-{
- "images": [
- {
- "scale": "2x",
- "size": "29x29",
- "idiom": "iphone",
- "filename": "Icon58.png"
- },
- {
- "scale": "3x",
- "size": "29x29",
- "idiom": "iphone",
- "filename": "Icon87.png"
- },
- {
- "scale": "2x",
- "size": "40x40",
- "idiom": "iphone",
- "filename": "Icon80.png"
- },
- {
- "scale": "3x",
- "size": "60x60",
- "idiom": "iphone",
- "filename": "Icon180.png"
- },
- {
- "scale": "1x",
- "size": "20x20",
- "idiom": "ipad",
- "filename": "Icon20.png"
- },
- {
- "scale": "2x",
- "size": "20x20",
- "idiom": "ipad",
- "filename": "Icon40.png"
- },
- {
- "scale": "1x",
- "size": "29x29",
- "idiom": "ipad",
- "filename": "Icon29.png"
- },
- {
- "scale": "2x",
- "size": "29x29",
- "idiom": "ipad",
- "filename": "Icon58.png"
- },
- {
- "scale": "1x",
- "size": "40x40",
- "idiom": "ipad",
- "filename": "Icon40.png"
- },
- {
- "scale": "2x",
- "size": "40x40",
- "idiom": "ipad",
- "filename": "Icon80.png"
- },
- {
- "scale": "1x",
- "size": "76x76",
- "idiom": "ipad",
- "filename": "Icon76.png"
- },
- {
- "scale": "2x",
- "size": "20x20",
- "idiom": "iphone",
- "filename": "Icon40.png"
- },
- {
- "scale": "3x",
- "size": "20x20",
- "idiom": "iphone",
- "filename": "Icon60.png"
- },
- {
- "scale": "3x",
- "size": "40x40",
- "idiom": "iphone",
- "filename": "Icon120.png"
- },
- {
- "scale": "2x",
- "size": "60x60",
- "idiom": "iphone",
- "filename": "Icon120.png"
- },
- {
- "scale": "2x",
- "size": "76x76",
- "idiom": "ipad",
- "filename": "Icon152.png"
- },
- {
- "scale": "2x",
- "size": "83.5x83.5",
- "idiom": "ipad",
- "filename": "Icon167.png"
- },
- {
- "scale": "1x",
- "size": "1024x1024",
- "idiom": "ios-marketing",
- "filename": "Icon1024.png"
- }
- ],
- "properties": {},
- "info": {
- "version": 1,
- "author": "xcode"
- }
-}
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/iOS/Media.xcassets/AppIcons.appiconset/Icon1024.png b/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/iOS/Media.xcassets/AppIcons.appiconset/Icon1024.png
deleted file mode 100644
index c7e45b700..000000000
Binary files a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/iOS/Media.xcassets/AppIcons.appiconset/Icon1024.png and /dev/null differ
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/iOS/Media.xcassets/AppIcons.appiconset/Icon120.png b/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/iOS/Media.xcassets/AppIcons.appiconset/Icon120.png
deleted file mode 100644
index 5f2aea5eb..000000000
Binary files a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/iOS/Media.xcassets/AppIcons.appiconset/Icon120.png and /dev/null differ
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/iOS/Media.xcassets/AppIcons.appiconset/Icon152.png b/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/iOS/Media.xcassets/AppIcons.appiconset/Icon152.png
deleted file mode 100644
index c28bde8fe..000000000
Binary files a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/iOS/Media.xcassets/AppIcons.appiconset/Icon152.png and /dev/null differ
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/iOS/Media.xcassets/AppIcons.appiconset/Icon167.png b/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/iOS/Media.xcassets/AppIcons.appiconset/Icon167.png
deleted file mode 100644
index aeeb0769b..000000000
Binary files a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/iOS/Media.xcassets/AppIcons.appiconset/Icon167.png and /dev/null differ
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/iOS/Media.xcassets/AppIcons.appiconset/Icon180.png b/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/iOS/Media.xcassets/AppIcons.appiconset/Icon180.png
deleted file mode 100644
index 0a851b8d7..000000000
Binary files a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/iOS/Media.xcassets/AppIcons.appiconset/Icon180.png and /dev/null differ
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/iOS/Media.xcassets/AppIcons.appiconset/Icon20.png b/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/iOS/Media.xcassets/AppIcons.appiconset/Icon20.png
deleted file mode 100644
index 6f1a958b7..000000000
Binary files a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/iOS/Media.xcassets/AppIcons.appiconset/Icon20.png and /dev/null differ
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/iOS/Media.xcassets/AppIcons.appiconset/Icon29.png b/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/iOS/Media.xcassets/AppIcons.appiconset/Icon29.png
deleted file mode 100644
index 2d1ce7977..000000000
Binary files a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/iOS/Media.xcassets/AppIcons.appiconset/Icon29.png and /dev/null differ
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/iOS/Media.xcassets/AppIcons.appiconset/Icon40.png b/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/iOS/Media.xcassets/AppIcons.appiconset/Icon40.png
deleted file mode 100644
index a0ab12a4e..000000000
Binary files a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/iOS/Media.xcassets/AppIcons.appiconset/Icon40.png and /dev/null differ
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/iOS/Media.xcassets/AppIcons.appiconset/Icon58.png b/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/iOS/Media.xcassets/AppIcons.appiconset/Icon58.png
deleted file mode 100644
index 26ef6c932..000000000
Binary files a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/iOS/Media.xcassets/AppIcons.appiconset/Icon58.png and /dev/null differ
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/iOS/Media.xcassets/AppIcons.appiconset/Icon60.png b/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/iOS/Media.xcassets/AppIcons.appiconset/Icon60.png
deleted file mode 100644
index 84bfd00e1..000000000
Binary files a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/iOS/Media.xcassets/AppIcons.appiconset/Icon60.png and /dev/null differ
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/iOS/Media.xcassets/AppIcons.appiconset/Icon76.png b/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/iOS/Media.xcassets/AppIcons.appiconset/Icon76.png
deleted file mode 100644
index b5ee36118..000000000
Binary files a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/iOS/Media.xcassets/AppIcons.appiconset/Icon76.png and /dev/null differ
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/iOS/Media.xcassets/AppIcons.appiconset/Icon80.png b/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/iOS/Media.xcassets/AppIcons.appiconset/Icon80.png
deleted file mode 100644
index 5de98b1c6..000000000
Binary files a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/iOS/Media.xcassets/AppIcons.appiconset/Icon80.png and /dev/null differ
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/iOS/Media.xcassets/AppIcons.appiconset/Icon87.png b/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/iOS/Media.xcassets/AppIcons.appiconset/Icon87.png
deleted file mode 100644
index 53147588c..000000000
Binary files a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/iOS/Media.xcassets/AppIcons.appiconset/Icon87.png and /dev/null differ
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/iOS/Resources/Default-568h@2x.png b/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/iOS/Resources/Default-568h@2x.png
deleted file mode 100644
index 29973dcbe..000000000
Binary files a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/iOS/Resources/Default-568h@2x.png and /dev/null differ
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/iOS/Resources/Fonts/uno-fluentui-assets.ttf b/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/iOS/Resources/Fonts/uno-fluentui-assets.ttf
deleted file mode 100644
index 055184054..000000000
Binary files a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/iOS/Resources/Fonts/uno-fluentui-assets.ttf and /dev/null differ
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/iOS/Resources/SplashScreen@2x.png b/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/iOS/Resources/SplashScreen@2x.png
deleted file mode 100644
index f8e793d9e..000000000
Binary files a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/iOS/Resources/SplashScreen@2x.png and /dev/null differ
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/iOS/Resources/SplashScreen@3x.png b/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/iOS/Resources/SplashScreen@3x.png
deleted file mode 100644
index 8c5f3984c..000000000
Binary files a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/iOS/Resources/SplashScreen@3x.png and /dev/null differ
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Shared/App.xaml b/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Shared/App.xaml
deleted file mode 100644
index 5eee98ddb..000000000
--- a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Shared/App.xaml
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Shared/App.xaml.cs b/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Shared/App.xaml.cs
deleted file mode 100644
index 485e46f02..000000000
--- a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Shared/App.xaml.cs
+++ /dev/null
@@ -1,183 +0,0 @@
-using Microsoft.Extensions.Logging;
-using Microsoft.UI.Xaml;
-using Microsoft.UI.Xaml.Controls;
-using Microsoft.UI.Xaml.Navigation;
-using System;
-using Windows.ApplicationModel;
-using Windows.ApplicationModel.Activation;
-
-namespace CameraCaptureUISample
-{
- ///
- /// Provides application-specific behavior to supplement the default Application class.
- ///
- public sealed partial class App : Application
- {
- private Window _window;
-
- ///
- /// Initializes the singleton application object. This is the first line of authored code
- /// executed, and as such is the logical equivalent of main() or WinMain().
- ///
- public App()
- {
- InitializeLogging();
-
- this.InitializeComponent();
-
-#if HAS_UNO || NETFX_CORE
- this.Suspending += OnSuspending;
-#endif
- }
-
- ///
- /// Invoked when the application is launched normally by the end user. Other entry points
- /// will be used such as when the application is launched to open a specific file.
- ///
- /// Details about the launch request and process.
- protected override void OnLaunched(Microsoft.UI.Xaml.LaunchActivatedEventArgs args)
- {
-#if DEBUG
- if (System.Diagnostics.Debugger.IsAttached)
- {
- // this.DebugSettings.EnableFrameRateCounter = true;
- }
-#endif
-
-#if NET6_0_OR_GREATER && WINDOWS && !HAS_UNO
- _window = new Window();
- _window.Activate();
-#else
- _window = Microsoft.UI.Xaml.Window.Current;
-#endif
-
- var rootFrame = _window.Content as Frame;
-
- // Do not repeat app initialization when the Window already has content,
- // just ensure that the window is active
- if (rootFrame == null)
- {
- // Create a Frame to act as the navigation context and navigate to the first page
- rootFrame = new Frame();
-
- rootFrame.NavigationFailed += OnNavigationFailed;
-
- if (args.UWPLaunchActivatedEventArgs.PreviousExecutionState == ApplicationExecutionState.Terminated)
- {
- // TODO: Load state from previously suspended application
- }
-
- // Place the frame in the current Window
- _window.Content = rootFrame;
- }
-
-#if !(NET6_0_OR_GREATER && WINDOWS)
- if (args.UWPLaunchActivatedEventArgs.PrelaunchActivated == false)
-#endif
- {
- if (rootFrame.Content == null)
- {
- // When the navigation stack isn't restored navigate to the first page,
- // configuring the new page by passing required information as a navigation
- // parameter
- rootFrame.Navigate(typeof(MainPage), args.Arguments);
- }
- // Ensure the current window is active
- _window.Activate();
- }
- }
-
- ///
- /// Invoked when Navigation to a certain page fails
- ///
- /// The Frame which failed navigation
- /// Details about the navigation failure
- void OnNavigationFailed(object sender, NavigationFailedEventArgs e)
- {
- throw new InvalidOperationException($"Failed to load {e.SourcePageType.FullName}: {e.Exception}");
- }
-
- ///
- /// Invoked when application execution is being suspended. Application state is saved
- /// without knowing whether the application will be terminated or resumed with the contents
- /// of memory still intact.
- ///
- /// The source of the suspend request.
- /// Details about the suspend request.
- private void OnSuspending(object sender, SuspendingEventArgs e)
- {
- var deferral = e.SuspendingOperation.GetDeferral();
- //TODO: Save application state and stop any background activity
- deferral.Complete();
- }
-
- ///
- /// Configures global Uno Platform logging
- ///
- private static void InitializeLogging()
- {
-#if DEBUG
- // Logging is disabled by default for release builds, as it incurs a significant
- // initialization cost from Microsoft.Extensions.Logging setup. If startup performance
- // is a concern for your application, keep this disabled. If you're running on web or
- // desktop targets, you can use url or command line parameters to enable it.
- //
- // For more performance documentation: https://platform.uno/docs/articles/Uno-UI-Performance.html
-
- var factory = LoggerFactory.Create(builder =>
- {
-#if __WASM__
- builder.AddProvider(new global::Uno.Extensions.Logging.WebAssembly.WebAssemblyConsoleLoggerProvider());
-#elif __IOS__
- builder.AddProvider(new global::Uno.Extensions.Logging.OSLogLoggerProvider());
-#elif NETFX_CORE
- builder.AddDebug();
-#else
- builder.AddConsole();
-#endif
-
- // Exclude logs below this level
- builder.SetMinimumLevel(LogLevel.Information);
-
- // Default filters for Uno Platform namespaces
- builder.AddFilter("Uno", LogLevel.Warning);
- builder.AddFilter("Windows", LogLevel.Warning);
- builder.AddFilter("Microsoft", LogLevel.Warning);
-
- // Generic Xaml events
- // builder.AddFilter("Windows.UI.Xaml", LogLevel.Debug );
- // builder.AddFilter("Windows.UI.Xaml.VisualStateGroup", LogLevel.Debug );
- // builder.AddFilter("Windows.UI.Xaml.StateTriggerBase", LogLevel.Debug );
- // builder.AddFilter("Windows.UI.Xaml.UIElement", LogLevel.Debug );
- // builder.AddFilter("Windows.UI.Xaml.FrameworkElement", LogLevel.Trace );
-
- // Layouter specific messages
- // builder.AddFilter("Windows.UI.Xaml.Controls", LogLevel.Debug );
- // builder.AddFilter("Windows.UI.Xaml.Controls.Layouter", LogLevel.Debug );
- // builder.AddFilter("Windows.UI.Xaml.Controls.Panel", LogLevel.Debug );
-
- // builder.AddFilter("Windows.Storage", LogLevel.Debug );
-
- // Binding related messages
- // builder.AddFilter("Windows.UI.Xaml.Data", LogLevel.Debug );
- // builder.AddFilter("Windows.UI.Xaml.Data", LogLevel.Debug );
-
- // Binder memory references tracking
- // builder.AddFilter("Uno.UI.DataBinding.BinderReferenceHolder", LogLevel.Debug );
-
- // RemoteControl and HotReload related
- // builder.AddFilter("Uno.UI.RemoteControl", LogLevel.Information);
-
- // Debug JS interop
- // builder.AddFilter("Uno.Foundation.WebAssemblyRuntime", LogLevel.Debug );
- });
-
- global::Uno.Extensions.LogExtensionPoint.AmbientLoggerFactory = factory;
-
-#if HAS_UNO
- global::Uno.UI.Adapter.Microsoft.Extensions.Logging.LoggingAdapter.Initialize();
-#endif
-#endif
- }
- }
-}
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Shared/Assets/SharedAssets.md b/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Shared/Assets/SharedAssets.md
deleted file mode 100644
index c578d778f..000000000
--- a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Shared/Assets/SharedAssets.md
+++ /dev/null
@@ -1,34 +0,0 @@
-See the documentation about assets here: https://platform.uno/docs/articles/features/working-with-assets.html
-
-# Here is a cheat sheet:
-
-1. Add the image file to the `Assets` directory of a shared project.
-2. Set the build action to `Content`.
-3. (Recommended) Provide an asset for various scales/dpi
-
-## Examples
-
-```
-\Assets\Images\logo.scale-100.png
-\Assets\Images\logo.scale-200.png
-\Assets\Images\logo.scale-400.png
-
-\Assets\Images\scale-100\logo.png
-\Assets\Images\scale-200\logo.png
-\Assets\Images\scale-400\logo.png
-```
-
-## Table of scales
-
-| Scale | UWP | iOS | Android |
-|-------|:-----------:|:--------:|:-------:|
-| `100` | scale-100 | @1x | mdpi |
-| `125` | scale-125 | N/A | N/A |
-| `150` | scale-150 | N/A | hdpi |
-| `200` | scale-200 | @2x | xhdpi |
-| `300` | scale-300 | @3x | xxhdpi |
-| `400` | scale-400 | N/A | xxxhdpi |
-
-
-
-
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Shared/Assets/lockscreenlogo.scale-200.png b/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Shared/Assets/lockscreenlogo.scale-200.png
deleted file mode 100644
index cb5e47bf2..000000000
Binary files a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Shared/Assets/lockscreenlogo.scale-200.png and /dev/null differ
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Shared/Assets/splashscreen.scale-200.png b/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Shared/Assets/splashscreen.scale-200.png
deleted file mode 100644
index 8c265cf27..000000000
Binary files a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Shared/Assets/splashscreen.scale-200.png and /dev/null differ
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Shared/Assets/square150x150logo.scale-200.png b/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Shared/Assets/square150x150logo.scale-200.png
deleted file mode 100644
index 9ad09e66a..000000000
Binary files a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Shared/Assets/square150x150logo.scale-200.png and /dev/null differ
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Shared/Assets/square44x44logo.scale-200.png b/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Shared/Assets/square44x44logo.scale-200.png
deleted file mode 100644
index 1cf187ef0..000000000
Binary files a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Shared/Assets/square44x44logo.scale-200.png and /dev/null differ
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Shared/Assets/storelogo.png b/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Shared/Assets/storelogo.png
deleted file mode 100644
index bc585363f..000000000
Binary files a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Shared/Assets/storelogo.png and /dev/null differ
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Shared/Assets/wide310x150logo.scale-200.png b/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Shared/Assets/wide310x150logo.scale-200.png
deleted file mode 100644
index 6c31a63a7..000000000
Binary files a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Shared/Assets/wide310x150logo.scale-200.png and /dev/null differ
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Shared/CameraCaptureUISample.Shared.globs.props b/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Shared/CameraCaptureUISample.Shared.globs.props
deleted file mode 100644
index 94ce800df..000000000
--- a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Shared/CameraCaptureUISample.Shared.globs.props
+++ /dev/null
@@ -1,34 +0,0 @@
-
-
-
-
- <_Globbled_Page Include="$(MSBuildThisFileDirectory)**/*.xaml" Exclude="@(Page);@(ApplicationDefinition)">
- Designer
- MSBuild:Compile
-
-
-
- <_Globbed_Compile Include="$(MSBuildThisFileDirectory)**/*.xaml.cs" Exclude="@(Compile)">
- %(Filename)
-
- <_Globbed_Compile Include="$(MSBuildThisFileDirectory)**/*.cs" Exclude="@(Compile);@(_Globbed_Compile)" />
-
-
- <_Globbed_PRIResource Include="$(MSBuildThisFileDirectory)**/*.resw" Exclude="@(PRIResource)" />
-
-
- <_Globbed_Content Include="$(MSBuildThisFileDirectory)Assets/**/*.*" Exclude="@(Content)" />
-
-
-
-
-
-
-
-
-
-
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Shared/CameraCaptureUISample.Shared.projitems b/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Shared/CameraCaptureUISample.Shared.projitems
deleted file mode 100644
index d42d4a278..000000000
--- a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Shared/CameraCaptureUISample.Shared.projitems
+++ /dev/null
@@ -1,38 +0,0 @@
-
-
-
- $(MSBuildAllProjects);$(MSBuildThisFileFullPath)
- true
- 6279c845-92f8-4333-ab99-3d213163593c
-
-
- CameraCaptureUISample
-
-
-
- Designer
- MSBuild:Compile
-
-
-
-
- App.xaml
-
-
- MainPage.xaml
-
-
-
-
- Designer
- MSBuild:Compile
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Shared/CameraCaptureUISample.Shared.shproj b/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Shared/CameraCaptureUISample.Shared.shproj
deleted file mode 100644
index be07a9ca2..000000000
--- a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Shared/CameraCaptureUISample.Shared.shproj
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
- 6279c845-92f8-4333-ab99-3d213163593c
- 14.0
-
-
-
-
-
-
-
-
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Shared/MainPage.xaml b/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Shared/MainPage.xaml
deleted file mode 100644
index 1adef552c..000000000
--- a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Shared/MainPage.xaml
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
-
-
-
-
-
-
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Shared/MainPage.xaml.cs b/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Shared/MainPage.xaml.cs
deleted file mode 100644
index 44c2843c3..000000000
--- a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Shared/MainPage.xaml.cs
+++ /dev/null
@@ -1,59 +0,0 @@
-using Microsoft.UI.Xaml;
-using Microsoft.UI.Xaml.Controls;
-using Microsoft.UI.Xaml.Controls.Primitives;
-using Microsoft.UI.Xaml.Data;
-using Microsoft.UI.Xaml.Input;
-using Microsoft.UI.Xaml.Media;
-using Microsoft.UI.Xaml.Media.Imaging;
-using Microsoft.UI.Xaml.Navigation;
-using System;
-using System.Diagnostics;
-using System.Collections.Generic;
-using System.IO;
-using System.Linq;
-using System.Runtime.InteropServices.WindowsRuntime;
-using Windows.Foundation;
-using Windows.Foundation.Collections;
-using Windows.Media.Capture;
-
-// The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=402352&clcid=0x409
-
-namespace CameraCaptureUISample
-{
- ///
- /// An empty page that can be used on its own or navigated to within a Frame.
- ///
- public sealed partial class MainPage : Page
- {
- public MainPage()
- {
- this.InitializeComponent();
- }
-
- public async void button_Click(object sender, RoutedEventArgs e)
- {
- try
- {
- var captureUI = new CameraCaptureUI();
- captureUI.PhotoSettings.Format = CameraCaptureUIPhotoFormat.Jpeg;
- captureUI.PhotoSettings.CroppedSizeInPixels = new Size(200, 200);
-
- var photo = await captureUI.CaptureFileAsync(CameraCaptureUIMode.Photo);
-
- if (photo == null)
- {
- return;
- }
- else
- {
- var source = new BitmapImage(new Uri(photo.Path));
- image.Source = source;
- }
- }
- catch (Exception ex)
- {
- System.Diagnostics.Debug.WriteLine(ex);
- }
- }
- }
-}
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Windows/CameraCaptureUISample.Windows.csproj b/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Windows/CameraCaptureUISample.Windows.csproj
deleted file mode 100644
index ef0ae3155..000000000
--- a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Windows/CameraCaptureUISample.Windows.csproj
+++ /dev/null
@@ -1,44 +0,0 @@
-
-
- WinExe
- net8.0-windows10.0.19041.0
- 10.0.19041.0
- CameraCaptureUISample
- app.manifest
- x86;x64;arm64
- win-x86;win-x64;win-arm64
-
- win-$(Platform).pubxml
- true
- true
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Windows/Images/LockScreenLogo.scale-200.png b/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Windows/Images/LockScreenLogo.scale-200.png
deleted file mode 100644
index 735f57adb..000000000
Binary files a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Windows/Images/LockScreenLogo.scale-200.png and /dev/null differ
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Windows/Images/SplashScreen.scale-200.png b/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Windows/Images/SplashScreen.scale-200.png
deleted file mode 100644
index 023e7f1fe..000000000
Binary files a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Windows/Images/SplashScreen.scale-200.png and /dev/null differ
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Windows/Images/Square150x150Logo.scale-200.png b/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Windows/Images/Square150x150Logo.scale-200.png
deleted file mode 100644
index af49fec1a..000000000
Binary files a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Windows/Images/Square150x150Logo.scale-200.png and /dev/null differ
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Windows/Images/Square44x44Logo.scale-200.png b/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Windows/Images/Square44x44Logo.scale-200.png
deleted file mode 100644
index ce342a2ec..000000000
Binary files a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Windows/Images/Square44x44Logo.scale-200.png and /dev/null differ
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Windows/Images/Square44x44Logo.targetsize-24_altform-unplated.png b/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Windows/Images/Square44x44Logo.targetsize-24_altform-unplated.png
deleted file mode 100644
index f6c02ce97..000000000
Binary files a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Windows/Images/Square44x44Logo.targetsize-24_altform-unplated.png and /dev/null differ
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Windows/Images/StoreLogo.png b/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Windows/Images/StoreLogo.png
deleted file mode 100644
index 7385b56c0..000000000
Binary files a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Windows/Images/StoreLogo.png and /dev/null differ
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Windows/Images/Wide310x150Logo.scale-200.png b/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Windows/Images/Wide310x150Logo.scale-200.png
deleted file mode 100644
index 288995b39..000000000
Binary files a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Windows/Images/Wide310x150Logo.scale-200.png and /dev/null differ
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Windows/Package.appxmanifest b/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Windows/Package.appxmanifest
deleted file mode 100644
index 3d5f12eaa..000000000
--- a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Windows/Package.appxmanifest
+++ /dev/null
@@ -1,49 +0,0 @@
-
-
-
-
-
-
-
- CameraCaptureUISample
- CameraCaptureUISample
- Images\StoreLogo.png
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Windows/Properties/launchSettings.json b/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Windows/Properties/launchSettings.json
deleted file mode 100644
index f25083d5b..000000000
--- a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Windows/Properties/launchSettings.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "profiles": {
- "CameraCaptureUISample.Windows": {
- "commandName": "MsixPackage"
- }
- }
-}
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.csproj b/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.csproj
new file mode 100644
index 000000000..efdf8094b
--- /dev/null
+++ b/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.csproj
@@ -0,0 +1,29 @@
+
+
+ net10.0-android;net10.0-ios;net10.0-browserwasm;net10.0-desktop
+
+ Exe
+ true
+
+
+ CameraCaptureUISample
+
+ com.companyname.cameracaptureuisample
+
+ 1.0
+ 1
+
+ CameraCaptureUISample
+
+ CameraCaptureUISample powered by Uno Platform.
+
+
+
+ SkiaRenderer;
+
+
+
+
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/GlobalUsings.cs b/UI/CameraCaptureUI/CameraCaptureUISample/GlobalUsings.cs
new file mode 100644
index 000000000..270863212
--- /dev/null
+++ b/UI/CameraCaptureUI/CameraCaptureUISample/GlobalUsings.cs
@@ -0,0 +1,4 @@
+global using System.Collections.Immutable;
+global using Microsoft.Extensions.DependencyInjection;
+global using Microsoft.Extensions.Logging;
+global using ApplicationExecutionState = Windows.ApplicationModel.Activation.ApplicationExecutionState;
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/MainPage.xaml b/UI/CameraCaptureUI/CameraCaptureUISample/MainPage.xaml
new file mode 100644
index 000000000..6442f2b23
--- /dev/null
+++ b/UI/CameraCaptureUI/CameraCaptureUISample/MainPage.xaml
@@ -0,0 +1,36 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/MainPage.xaml.cs b/UI/CameraCaptureUI/CameraCaptureUISample/MainPage.xaml.cs
new file mode 100644
index 000000000..1b3612a9a
--- /dev/null
+++ b/UI/CameraCaptureUI/CameraCaptureUISample/MainPage.xaml.cs
@@ -0,0 +1,62 @@
+using Microsoft.UI.Xaml.Media.Imaging;
+using Windows.Storage;
+using Windows.Storage.Pickers;
+
+#if __ANDROID__ || __IOS__ || __WINDOWS__
+using Windows.Media.Capture;
+#endif
+
+namespace CameraCaptureUISample;
+
+public sealed partial class MainPage : Page
+{
+ public MainPage()
+ {
+ this.InitializeComponent();
+ }
+
+ private async void CaptureButton_Click(object sender, RoutedEventArgs e)
+ {
+ try
+ {
+ StorageFile? photo = null;
+
+#if __ANDROID__ || __IOS__ || __WINDOWS__
+ var captureUI = new CameraCaptureUI();
+ captureUI.PhotoSettings.Format = CameraCaptureUIPhotoFormat.Jpeg;
+ captureUI.PhotoSettings.CroppedSizeInPixels = new Windows.Foundation.Size(200, 200);
+
+ photo = await captureUI.CaptureFileAsync(CameraCaptureUIMode.Photo);
+#else
+ var picker = new FileOpenPicker();
+ picker.SuggestedStartLocation = PickerLocationId.PicturesLibrary;
+ picker.FileTypeFilter.Add(".jpg");
+ picker.FileTypeFilter.Add(".jpeg");
+ picker.FileTypeFilter.Add(".png");
+ picker.FileTypeFilter.Add(".bmp");
+
+ photo = await picker.PickSingleFileAsync();
+#endif
+
+ if (photo is null)
+ {
+ StatusText.Text = "No photo selected.";
+ return;
+ }
+
+ var bitmapImage = new BitmapImage();
+ using (var stream = await photo.OpenReadAsync())
+ {
+ await bitmapImage.SetSourceAsync(stream);
+ }
+
+ CapturedImage.Source = bitmapImage;
+ StatusText.Text = "Photo loaded successfully.";
+ }
+ catch (Exception ex)
+ {
+ StatusText.Text = $"Error: {ex.Message}";
+ System.Diagnostics.Debug.WriteLine(ex);
+ }
+ }
+}
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/Package.appxmanifest b/UI/CameraCaptureUI/CameraCaptureUISample/Package.appxmanifest
new file mode 100644
index 000000000..9ef381467
--- /dev/null
+++ b/UI/CameraCaptureUI/CameraCaptureUISample/Package.appxmanifest
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/Platforms/Android/AndroidManifest.xml b/UI/CameraCaptureUI/CameraCaptureUISample/Platforms/Android/AndroidManifest.xml
new file mode 100644
index 000000000..f0316a608
--- /dev/null
+++ b/UI/CameraCaptureUI/CameraCaptureUISample/Platforms/Android/AndroidManifest.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/Android/Assets/AboutAssets.txt b/UI/CameraCaptureUI/CameraCaptureUISample/Platforms/Android/Assets/AboutAssets.txt
similarity index 88%
rename from UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/Android/Assets/AboutAssets.txt
rename to UI/CameraCaptureUI/CameraCaptureUISample/Platforms/Android/Assets/AboutAssets.txt
index 210a93b80..89ab409df 100644
--- a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/Android/Assets/AboutAssets.txt
+++ b/UI/CameraCaptureUI/CameraCaptureUISample/Platforms/Android/Assets/AboutAssets.txt
@@ -4,7 +4,7 @@ in the shared project instead. Assets in this folder are Android-only assets.
Any raw assets you want to be deployed with your application can be placed in
this directory (and child directories) and given a Build Action of "AndroidAsset".
-These files will be deployed with you package and will be accessible using Android's
+These files will be deployed with your package and will be accessible using Android's
AssetManager, like this:
public class ReadAsset : Activity
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/Platforms/Android/Main.Android.cs b/UI/CameraCaptureUI/CameraCaptureUISample/Platforms/Android/Main.Android.cs
new file mode 100644
index 000000000..129c776d7
--- /dev/null
+++ b/UI/CameraCaptureUI/CameraCaptureUISample/Platforms/Android/Main.Android.cs
@@ -0,0 +1,35 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using Android.App;
+using Android.Content;
+using Android.OS;
+using Android.Runtime;
+using Android.Views;
+using Android.Widget;
+using Microsoft.UI.Xaml.Media;
+
+namespace CameraCaptureUISample.Droid;
+
+[global::Android.App.ApplicationAttribute(
+ Label = "@string/ApplicationName",
+ Icon = "@mipmap/icon",
+ LargeHeap = true,
+ HardwareAccelerated = true,
+ Theme = "@style/Theme.App.Starting"
+)]
+public class Application : Microsoft.UI.Xaml.NativeApplication
+{
+ static Application()
+ {
+ App.InitializeLogging();
+ }
+
+ public Application(IntPtr javaReference, JniHandleOwnership transfer)
+ : base(() => new App(), javaReference, transfer)
+ {
+ }
+
+}
+
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/Platforms/Android/MainActivity.Android.cs b/UI/CameraCaptureUI/CameraCaptureUISample/Platforms/Android/MainActivity.Android.cs
new file mode 100644
index 000000000..e6cffeec9
--- /dev/null
+++ b/UI/CameraCaptureUI/CameraCaptureUISample/Platforms/Android/MainActivity.Android.cs
@@ -0,0 +1,23 @@
+using Android.App;
+using Android.Content.PM;
+using Android.OS;
+using Android.Views;
+using Android.Widget;
+
+namespace CameraCaptureUISample.Droid;
+
+[Activity(
+ MainLauncher = true,
+ ConfigurationChanges = global::Uno.UI.ActivityHelper.AllConfigChanges,
+ WindowSoftInputMode = SoftInput.AdjustNothing | SoftInput.StateHidden
+)]
+public class MainActivity : Microsoft.UI.Xaml.ApplicationActivity
+{
+ protected override void OnCreate(Bundle? savedInstanceState)
+ {
+ global::AndroidX.Core.SplashScreen.SplashScreen.InstallSplashScreen(this);
+
+ base.OnCreate(savedInstanceState);
+ }
+
+}
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/Android/Resources/AboutResources.txt b/UI/CameraCaptureUI/CameraCaptureUISample/Platforms/Android/Resources/AboutResources.txt
similarity index 100%
rename from UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/Android/Resources/AboutResources.txt
rename to UI/CameraCaptureUI/CameraCaptureUISample/Platforms/Android/Resources/AboutResources.txt
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/Platforms/Android/Resources/values/Strings.xml b/UI/CameraCaptureUI/CameraCaptureUISample/Platforms/Android/Resources/values/Strings.xml
new file mode 100644
index 000000000..50db66eb9
--- /dev/null
+++ b/UI/CameraCaptureUI/CameraCaptureUISample/Platforms/Android/Resources/values/Strings.xml
@@ -0,0 +1,5 @@
+
+
+ Hello World, Click Me!
+ CameraCaptureUISample
+
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/Platforms/Android/Resources/values/Styles.xml b/UI/CameraCaptureUI/CameraCaptureUISample/Platforms/Android/Resources/values/Styles.xml
new file mode 100644
index 000000000..f47dcf36b
--- /dev/null
+++ b/UI/CameraCaptureUI/CameraCaptureUISample/Platforms/Android/Resources/values/Styles.xml
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+
+
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/Android/environment.conf b/UI/CameraCaptureUI/CameraCaptureUISample/Platforms/Android/environment.conf
similarity index 57%
rename from UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/Android/environment.conf
rename to UI/CameraCaptureUI/CameraCaptureUISample/Platforms/Android/environment.conf
index fa6c2e32b..d8c106452 100644
--- a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/Android/environment.conf
+++ b/UI/CameraCaptureUI/CameraCaptureUISample/Platforms/Android/environment.conf
@@ -1,2 +1,2 @@
# See this for more details: http://developer.xamarin.com/guides/android/advanced_topics/garbage_collection/
-MONO_GC_PARAMS=bridge-implementation=tarjan,nursery-size=32m,soft-heap-limit=256m
\ No newline at end of file
+MONO_GC_PARAMS=bridge-implementation=new,nursery-size=32m,soft-heap-limit=256m
\ No newline at end of file
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/Platforms/Desktop/Program.cs b/UI/CameraCaptureUI/CameraCaptureUISample/Platforms/Desktop/Program.cs
new file mode 100644
index 000000000..6c8096762
--- /dev/null
+++ b/UI/CameraCaptureUI/CameraCaptureUISample/Platforms/Desktop/Program.cs
@@ -0,0 +1,22 @@
+using Uno.UI.Hosting;
+
+namespace CameraCaptureUISample;
+
+internal class Program
+{
+ [STAThread]
+ public static void Main(string[] args)
+ {
+ App.InitializeLogging();
+
+ var host = UnoPlatformHostBuilder.Create()
+ .App(() => new App())
+ .UseX11()
+ .UseLinuxFrameBuffer()
+ .UseMacOS()
+ .UseWin32()
+ .Build();
+
+ host.Run();
+ }
+}
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/Platforms/WebAssembly/LinkerConfig.xml b/UI/CameraCaptureUI/CameraCaptureUISample/Platforms/WebAssembly/LinkerConfig.xml
new file mode 100644
index 000000000..70b876ae2
--- /dev/null
+++ b/UI/CameraCaptureUI/CameraCaptureUISample/Platforms/WebAssembly/LinkerConfig.xml
@@ -0,0 +1,10 @@
+
+
+
+
+
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/Platforms/WebAssembly/Program.cs b/UI/CameraCaptureUI/CameraCaptureUISample/Platforms/WebAssembly/Program.cs
new file mode 100644
index 000000000..419923acb
--- /dev/null
+++ b/UI/CameraCaptureUI/CameraCaptureUISample/Platforms/WebAssembly/Program.cs
@@ -0,0 +1,18 @@
+using Uno.UI.Hosting;
+
+namespace CameraCaptureUISample;
+
+public class Program
+{
+ public static async Task Main(string[] args)
+ {
+ App.InitializeLogging();
+
+ var host = UnoPlatformHostBuilder.Create()
+ .App(() => new App())
+ .UseWebAssembly()
+ .Build();
+
+ await host.RunAsync();
+ }
+}
\ No newline at end of file
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/Platforms/WebAssembly/WasmCSS/Fonts.css b/UI/CameraCaptureUI/CameraCaptureUISample/Platforms/WebAssembly/WasmCSS/Fonts.css
new file mode 100644
index 000000000..4fdd60555
--- /dev/null
+++ b/UI/CameraCaptureUI/CameraCaptureUISample/Platforms/WebAssembly/WasmCSS/Fonts.css
@@ -0,0 +1,28 @@
+/**
+ When adding fonts here, make sure to add them using a base64 data uri, otherwise
+ fonts loading are delayed, and text may get displayed incorrectly.
+*/
+
+/* https://github.com/unoplatform/uno/issues/3954 */
+@font-face {
+ font-family: 'Segoe UI';
+ src: local('Segoe UI'), local('-apple-system'), local('BlinkMacSystemFont'), local('Inter'), local('Cantarell'), local('Ubuntu'), local('Roboto'), local('Open Sans'), local('Noto Sans'), local('Helvetica Neue'), local('sans-serif');
+}
+
+@font-face {
+ font-family: 'Roboto';
+ src: url(./Uno.Fonts.Roboto/Fonts/Roboto-Light.ttf) format('truetype');
+ font-weight: 300;
+}
+
+@font-face {
+ font-family: 'Roboto';
+ src: url(./Uno.Fonts.Roboto/Fonts/Roboto-Regular.ttf) format('truetype');
+ font-weight: 400;
+}
+
+@font-face {
+ font-family: 'Roboto';
+ src: url(./Uno.Fonts.Roboto/Fonts/Roboto-Medium.ttf) format('truetype');
+ font-weight: 500;
+}
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/Platforms/WebAssembly/WasmScripts/AppManifest.js b/UI/CameraCaptureUI/CameraCaptureUISample/Platforms/WebAssembly/WasmScripts/AppManifest.js
new file mode 100644
index 000000000..c99ce8991
--- /dev/null
+++ b/UI/CameraCaptureUI/CameraCaptureUISample/Platforms/WebAssembly/WasmScripts/AppManifest.js
@@ -0,0 +1,3 @@
+var UnoAppManifest = {
+ displayName: "CameraCaptureUISample"
+}
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/Platforms/WebAssembly/manifest.webmanifest b/UI/CameraCaptureUI/CameraCaptureUISample/Platforms/WebAssembly/manifest.webmanifest
new file mode 100644
index 000000000..e7745b365
--- /dev/null
+++ b/UI/CameraCaptureUI/CameraCaptureUISample/Platforms/WebAssembly/manifest.webmanifest
@@ -0,0 +1,10 @@
+{
+ "background_color": "#ffffff",
+ "description": "CameraCaptureUISample",
+ "display": "standalone",
+ "name": "CameraCaptureUISample",
+ "short_name": "CameraCaptureUISample",
+ "start_url": "/index.html",
+ "theme_color": "#ffffff",
+ "scope": "/"
+}
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/Platforms/WebAssembly/wwwroot/staticwebapp.config.json b/UI/CameraCaptureUI/CameraCaptureUISample/Platforms/WebAssembly/wwwroot/staticwebapp.config.json
new file mode 100644
index 000000000..79c1b17c4
--- /dev/null
+++ b/UI/CameraCaptureUI/CameraCaptureUISample/Platforms/WebAssembly/wwwroot/staticwebapp.config.json
@@ -0,0 +1,30 @@
+{
+ "navigationFallback": {
+ "rewrite": "/index.html",
+ "exclude": [
+ "*.{css,js}",
+ "*.{png}",
+ "*.{c,h,wasm,clr,pdb,dat,txt}"
+ ]
+ },
+ "routes": [
+ {
+ "route": "/package_*",
+ "headers": {
+ "cache-control": "public, immutable, max-age=31536000"
+ }
+ },
+ {
+ "route": "/*.ttf",
+ "headers": {
+ "cache-control": "public, immutable, max-age=31536000"
+ }
+ },
+ {
+ "route": "/*",
+ "headers": {
+ "cache-control": "must-revalidate, max-age=3600"
+ }
+ }
+ ]
+}
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/Platforms/WebAssembly/wwwroot/web.config b/UI/CameraCaptureUI/CameraCaptureUISample/Platforms/WebAssembly/wwwroot/web.config
new file mode 100644
index 000000000..8f5a860f5
--- /dev/null
+++ b/UI/CameraCaptureUI/CameraCaptureUISample/Platforms/WebAssembly/wwwroot/web.config
@@ -0,0 +1,78 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/iOS/Entitlements.plist b/UI/CameraCaptureUI/CameraCaptureUISample/Platforms/iOS/Entitlements.plist
similarity index 100%
rename from UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/iOS/Entitlements.plist
rename to UI/CameraCaptureUI/CameraCaptureUISample/Platforms/iOS/Entitlements.plist
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/iOS/Info.plist b/UI/CameraCaptureUI/CameraCaptureUISample/Platforms/iOS/Info.plist
similarity index 52%
rename from UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/iOS/Info.plist
rename to UI/CameraCaptureUI/CameraCaptureUISample/Platforms/iOS/Info.plist
index 19202d82d..2409e4abf 100644
--- a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/iOS/Info.plist
+++ b/UI/CameraCaptureUI/CameraCaptureUISample/Platforms/iOS/Info.plist
@@ -1,15 +1,7 @@
-
+
- CFBundleDisplayName
- CameraCaptureUISample
- CFBundleIdentifier
- com.companyname.CameraCaptureUISample
- CFBundleShortVersionString
- 1.0
- CFBundleVersion
- 1.0
LSRequiresIPhoneOS
UIDeviceFamily
@@ -17,8 +9,6 @@
1
2
- UILaunchStoryboardName
- LaunchScreen
UIRequiredDeviceCapabilities
armv7
@@ -37,30 +27,22 @@
UIInterfaceOrientationLandscapeLeft
UIInterfaceOrientationLandscapeRight
- UIAppFonts
-
- Fonts/uno-fluentui-assets.ttf
-
UIViewControllerBasedStatusBarAppearance
- UILaunchImageMinimumOSVersion
- 9.0
- UILaunchImageOrientation
- Portrait
- UILaunchImageSize
- {320, 568}
XSAppIconAssets
- Media.xcassets/AppIcons.appiconset
+ Assets.xcassets/icon.appiconset
UIApplicationSupportsIndirectInputEvents
+
NSCameraUsageDescription
- This app needs access to use your camera
- NSPhotoLibraryUsageDescription
- This app needs access to use your photo library
+ This app requires camera access to capture photos.
+ NSMicrophoneUsageDescription
+ This app requires microphone access for video capture.
+
+ Adjust this to your application's encryption usage.
+ ITSAppUsesNonExemptEncryption
+
+ -->
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/Platforms/iOS/Main.iOS.cs b/UI/CameraCaptureUI/CameraCaptureUISample/Platforms/iOS/Main.iOS.cs
new file mode 100644
index 000000000..2d98addd6
--- /dev/null
+++ b/UI/CameraCaptureUI/CameraCaptureUISample/Platforms/iOS/Main.iOS.cs
@@ -0,0 +1,20 @@
+using UIKit;
+using Uno.UI.Hosting;
+
+namespace CameraCaptureUISample.iOS;
+
+public class EntryPoint
+{
+ // This is the main entry point of the application.
+ public static void Main(string[] args)
+ {
+ App.InitializeLogging();
+
+ var host = UnoPlatformHostBuilder.Create()
+ .App(() => new App())
+ .UseAppleUIKit()
+ .Build();
+
+ host.Run();
+ }
+}
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/iOS/Media.xcassets/LaunchImages.launchimage/Contents.json b/UI/CameraCaptureUI/CameraCaptureUISample/Platforms/iOS/Media.xcassets/LaunchImages.launchimage/Contents.json
similarity index 100%
rename from UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Mobile/iOS/Media.xcassets/LaunchImages.launchimage/Contents.json
rename to UI/CameraCaptureUI/CameraCaptureUISample/Platforms/iOS/Media.xcassets/LaunchImages.launchimage/Contents.json
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/Platforms/iOS/PrivacyInfo.xcprivacy b/UI/CameraCaptureUI/CameraCaptureUISample/Platforms/iOS/PrivacyInfo.xcprivacy
new file mode 100644
index 000000000..902abb059
--- /dev/null
+++ b/UI/CameraCaptureUI/CameraCaptureUISample/Platforms/iOS/PrivacyInfo.xcprivacy
@@ -0,0 +1,41 @@
+
+
+
+
+
+
+
+ NSPrivacyAccessedAPIType
+ NSPrivacyAccessedAPICategoryFileTimestamp
+ NSPrivacyAccessedAPITypeReasons
+
+ C617.1
+
+
+
+ NSPrivacyAccessedAPIType
+ NSPrivacyAccessedAPICategorySystemBootTime
+ NSPrivacyAccessedAPITypeReasons
+
+ 35F9.1
+
+
+
+ NSPrivacyAccessedAPIType
+ NSPrivacyAccessedAPICategoryDiskSpace
+ NSPrivacyAccessedAPITypeReasons
+
+ E174.1
+
+
+
+
+
+ NSPrivacyAccessedAPIType
+ NSPrivacyAccessedAPICategoryUserDefaults
+ NSPrivacyAccessedAPITypeReasons
+
+ CA92.1
+
+
+
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/Properties/launchSettings.json b/UI/CameraCaptureUI/CameraCaptureUISample/Properties/launchSettings.json
new file mode 100644
index 000000000..b339a3667
--- /dev/null
+++ b/UI/CameraCaptureUI/CameraCaptureUISample/Properties/launchSettings.json
@@ -0,0 +1,41 @@
+{
+ "iisSettings": {
+ "windowsAuthentication": false,
+ "anonymousAuthentication": true,
+ "iisExpress": {
+ "applicationUrl": "http://localhost:8080",
+ "sslPort": 0
+ }
+ },
+ "profiles": {
+ // This profile is first in order for dotnet run to pick it up by default
+ "CameraCaptureUISample (WebAssembly)": {
+ "commandName": "Project",
+ "dotnetRunMessages": true,
+ "launchBrowser": true,
+ "applicationUrl": "http://localhost:5000",
+ "inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}",
+ "environmentVariables": {
+ "ASPNETCORE_ENVIRONMENT": "Development"
+ }
+ },
+ "CameraCaptureUISample (WebAssembly IIS Express)": {
+ "commandName": "IISExpress",
+ "launchBrowser": true,
+ "inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}",
+ "environmentVariables": {
+ "ASPNETCORE_ENVIRONMENT": "Development"
+ }
+ },
+ "CameraCaptureUISample (Desktop)": {
+ "commandName": "Project",
+ "compatibleTargetFramework": "desktop"
+ },
+ "CameraCaptureUISample (Desktop WSL2)": {
+ "commandName": "WSL2",
+ "commandLineArgs": "{ProjectDir}/bin/Debug/net10.0-desktop/CameraCaptureUISample.dll",
+ "distributionName": "",
+ "compatibleTargetFramework": "desktop"
+ }
+ }
+}
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/ReadMe.md b/UI/CameraCaptureUI/CameraCaptureUISample/ReadMe.md
new file mode 100644
index 000000000..93482da23
--- /dev/null
+++ b/UI/CameraCaptureUI/CameraCaptureUISample/ReadMe.md
@@ -0,0 +1,7 @@
+# Getting Started
+
+Welcome to the Uno Platform!
+
+To discover how to get started with your new app: https://aka.platform.uno/get-started
+
+For more information on how to use the Uno.Sdk or upgrade Uno Platform packages in your solution: https://aka.platform.uno/using-uno-sdk
\ No newline at end of file
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Shared/Strings/en/Resources.resw b/UI/CameraCaptureUI/CameraCaptureUISample/Strings/en/Resources.resw
similarity index 92%
rename from UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Shared/Strings/en/Resources.resw
rename to UI/CameraCaptureUI/CameraCaptureUISample/Strings/en/Resources.resw
index cc6d2002c..9dbd754fe 100644
--- a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Shared/Strings/en/Resources.resw
+++ b/UI/CameraCaptureUI/CameraCaptureUISample/Strings/en/Resources.resw
@@ -1,17 +1,17 @@
-
@@ -118,6 +118,6 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
- CameraCaptureUISample
+ CameraCaptureUISample-en
-
\ No newline at end of file
+
diff --git a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Windows/app.manifest b/UI/CameraCaptureUI/CameraCaptureUISample/app.manifest
similarity index 50%
rename from UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Windows/app.manifest
rename to UI/CameraCaptureUI/CameraCaptureUISample/app.manifest
index bd538e10a..56c24f9e3 100644
--- a/UI/CameraCaptureUI/CameraCaptureUISample/CameraCaptureUISample.Windows/app.manifest
+++ b/UI/CameraCaptureUI/CameraCaptureUISample/app.manifest
@@ -1,6 +1,16 @@
-
+
+
+
+
+
+
+
+
diff --git a/UI/CameraCaptureUI/Directory.Build.props b/UI/CameraCaptureUI/Directory.Build.props
new file mode 100644
index 000000000..8daf56929
--- /dev/null
+++ b/UI/CameraCaptureUI/Directory.Build.props
@@ -0,0 +1,15 @@
+
+
+ enable
+ enable
+ true
+
+
+ $(NoWarn);NU1507;NETSDK1201;PRI257
+
+
diff --git a/UI/CameraCaptureUI/Directory.Build.targets b/UI/CameraCaptureUI/Directory.Build.targets
new file mode 100644
index 000000000..f75adf7e4
--- /dev/null
+++ b/UI/CameraCaptureUI/Directory.Build.targets
@@ -0,0 +1,2 @@
+
+
diff --git a/UI/CameraCaptureUI/Directory.Packages.props b/UI/CameraCaptureUI/Directory.Packages.props
new file mode 100644
index 000000000..2db579c57
--- /dev/null
+++ b/UI/CameraCaptureUI/Directory.Packages.props
@@ -0,0 +1,10 @@
+
+
+
+
+
diff --git a/UI/CameraCaptureUI/global.json b/UI/CameraCaptureUI/global.json
new file mode 100644
index 000000000..85e418330
--- /dev/null
+++ b/UI/CameraCaptureUI/global.json
@@ -0,0 +1,9 @@
+{
+ // To update the version of Uno please update the version of the Uno.Sdk here. See https://aka.platform.uno/upgrade-uno-packages for more information.
+ "msbuild-sdks": {
+ "Uno.Sdk": "6.5.31"
+ },
+ "sdk": {
+ "allowPrerelease": false
+ }
+}