Add Windows.Media.Capture.CameraCaptureUI sample

This commit is contained in:
Jérôme Laban 2018-10-05 11:02:06 -04:00
Родитель 90fd7accce
Коммит 3bf85a2027
40 изменённых файлов: 1427 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,269 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.28124.53
MinimumVisualStudioVersion = 10.0.40219.1
Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "CameraCaptureUISample.Shared", "CameraCaptureUISample\CameraCaptureUISample.Shared\CameraCaptureUISample.Shared.shproj", "{6279C845-92F8-4333-AB99-3D213163593C}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CameraCaptureUISample.Droid", "CameraCaptureUISample\CameraCaptureUISample.Droid\CameraCaptureUISample.Droid.csproj", "{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CameraCaptureUISample.iOS", "CameraCaptureUISample\CameraCaptureUISample.iOS\CameraCaptureUISample.iOS.csproj", "{D29CCD31-E51B-4902-BAF3-7E77FFE010E3}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CameraCaptureUISample.UWP", "CameraCaptureUISample\CameraCaptureUISample.UWP\CameraCaptureUISample.UWP.csproj", "{481086B8-402A-4D1B-806A-D5760E5186C6}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CameraCaptureUISample.Wasm", "CameraCaptureUISample\CameraCaptureUISample.Wasm\CameraCaptureUISample.Wasm.csproj", "{1038EF68-351F-4246-B490-BE9ADD1B77FA}"
EndProject
Global
GlobalSection(SharedMSBuildProjectFiles) = preSolution
CameraCaptureUISample\CameraCaptureUISample.Shared\CameraCaptureUISample.Shared.projitems*{481086b8-402a-4d1b-806a-d5760e5186c6}*SharedItemsImports = 4
CameraCaptureUISample\CameraCaptureUISample.Shared\CameraCaptureUISample.Shared.projitems*{6279c845-92f8-4333-ab99-3d213163593c}*SharedItemsImports = 13
CameraCaptureUISample\CameraCaptureUISample.Shared\CameraCaptureUISample.Shared.projitems*{98de70c1-c8de-4ebb-87e8-e08920702eb7}*SharedItemsImports = 4
CameraCaptureUISample\CameraCaptureUISample.Shared\CameraCaptureUISample.Shared.projitems*{d29ccd31-e51b-4902-baf3-7e77ffe010e3}*SharedItemsImports = 4
EndGlobalSection
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Ad-Hoc|Any CPU = Ad-Hoc|Any CPU
Ad-Hoc|ARM = Ad-Hoc|ARM
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|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|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|iPhone = Release|iPhone
Release|iPhoneSimulator = Release|iPhoneSimulator
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.Ad-Hoc|Any CPU.ActiveCfg = Release|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.Ad-Hoc|Any CPU.Build.0 = Release|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.Ad-Hoc|Any CPU.Deploy.0 = Release|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.Ad-Hoc|ARM.ActiveCfg = Release|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.Ad-Hoc|ARM.Build.0 = Release|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.Ad-Hoc|ARM.Deploy.0 = Release|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.Ad-Hoc|iPhone.ActiveCfg = Release|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.Ad-Hoc|iPhone.Build.0 = Release|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.Ad-Hoc|iPhone.Deploy.0 = Release|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.Ad-Hoc|iPhoneSimulator.ActiveCfg = Release|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.Ad-Hoc|iPhoneSimulator.Build.0 = Release|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.Ad-Hoc|iPhoneSimulator.Deploy.0 = Release|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.Ad-Hoc|x64.ActiveCfg = Release|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.Ad-Hoc|x64.Build.0 = Release|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.Ad-Hoc|x64.Deploy.0 = Release|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.Ad-Hoc|x86.ActiveCfg = Release|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.Ad-Hoc|x86.Build.0 = Release|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.Ad-Hoc|x86.Deploy.0 = Release|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.AppStore|Any CPU.ActiveCfg = Release|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.AppStore|Any CPU.Build.0 = Release|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.AppStore|Any CPU.Deploy.0 = Release|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.AppStore|ARM.ActiveCfg = Release|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.AppStore|ARM.Build.0 = Release|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.AppStore|ARM.Deploy.0 = Release|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.AppStore|iPhone.ActiveCfg = Release|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.AppStore|iPhone.Build.0 = Release|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.AppStore|iPhone.Deploy.0 = Release|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.AppStore|iPhoneSimulator.ActiveCfg = Release|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.AppStore|iPhoneSimulator.Build.0 = Release|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.AppStore|iPhoneSimulator.Deploy.0 = Release|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.AppStore|x64.ActiveCfg = Release|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.AppStore|x64.Build.0 = Release|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.AppStore|x64.Deploy.0 = Release|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.AppStore|x86.ActiveCfg = Release|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.AppStore|x86.Build.0 = Release|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.AppStore|x86.Deploy.0 = Release|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.Debug|Any CPU.Build.0 = Debug|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.Debug|ARM.ActiveCfg = Debug|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.Debug|ARM.Build.0 = Debug|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.Debug|ARM.Deploy.0 = Debug|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.Debug|iPhone.ActiveCfg = Debug|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.Debug|iPhone.Build.0 = Debug|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.Debug|iPhone.Deploy.0 = Debug|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.Debug|iPhoneSimulator.Deploy.0 = Debug|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.Debug|x64.ActiveCfg = Debug|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.Debug|x64.Build.0 = Debug|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.Debug|x64.Deploy.0 = Debug|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.Debug|x86.ActiveCfg = Debug|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.Debug|x86.Build.0 = Debug|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.Debug|x86.Deploy.0 = Debug|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.Release|Any CPU.ActiveCfg = Release|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.Release|Any CPU.Build.0 = Release|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.Release|Any CPU.Deploy.0 = Release|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.Release|ARM.ActiveCfg = Release|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.Release|ARM.Build.0 = Release|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.Release|ARM.Deploy.0 = Release|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.Release|iPhone.ActiveCfg = Release|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.Release|iPhone.Build.0 = Release|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.Release|iPhone.Deploy.0 = Release|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.Release|iPhoneSimulator.Deploy.0 = Release|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.Release|x64.ActiveCfg = Release|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.Release|x64.Build.0 = Release|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.Release|x64.Deploy.0 = Release|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.Release|x86.ActiveCfg = Release|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.Release|x86.Build.0 = Release|Any CPU
{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}.Release|x86.Deploy.0 = Release|Any CPU
{D29CCD31-E51B-4902-BAF3-7E77FFE010E3}.Ad-Hoc|Any CPU.ActiveCfg = Ad-Hoc|iPhone
{D29CCD31-E51B-4902-BAF3-7E77FFE010E3}.Ad-Hoc|ARM.ActiveCfg = Ad-Hoc|iPhone
{D29CCD31-E51B-4902-BAF3-7E77FFE010E3}.Ad-Hoc|iPhone.ActiveCfg = Ad-Hoc|iPhone
{D29CCD31-E51B-4902-BAF3-7E77FFE010E3}.Ad-Hoc|iPhone.Build.0 = Ad-Hoc|iPhone
{D29CCD31-E51B-4902-BAF3-7E77FFE010E3}.Ad-Hoc|iPhoneSimulator.ActiveCfg = Ad-Hoc|iPhoneSimulator
{D29CCD31-E51B-4902-BAF3-7E77FFE010E3}.Ad-Hoc|iPhoneSimulator.Build.0 = Ad-Hoc|iPhoneSimulator
{D29CCD31-E51B-4902-BAF3-7E77FFE010E3}.Ad-Hoc|x64.ActiveCfg = Ad-Hoc|iPhone
{D29CCD31-E51B-4902-BAF3-7E77FFE010E3}.Ad-Hoc|x86.ActiveCfg = Ad-Hoc|iPhone
{D29CCD31-E51B-4902-BAF3-7E77FFE010E3}.AppStore|Any CPU.ActiveCfg = AppStore|iPhone
{D29CCD31-E51B-4902-BAF3-7E77FFE010E3}.AppStore|ARM.ActiveCfg = AppStore|iPhone
{D29CCD31-E51B-4902-BAF3-7E77FFE010E3}.AppStore|iPhone.ActiveCfg = AppStore|iPhone
{D29CCD31-E51B-4902-BAF3-7E77FFE010E3}.AppStore|iPhone.Build.0 = AppStore|iPhone
{D29CCD31-E51B-4902-BAF3-7E77FFE010E3}.AppStore|iPhoneSimulator.ActiveCfg = AppStore|iPhoneSimulator
{D29CCD31-E51B-4902-BAF3-7E77FFE010E3}.AppStore|iPhoneSimulator.Build.0 = AppStore|iPhoneSimulator
{D29CCD31-E51B-4902-BAF3-7E77FFE010E3}.AppStore|x64.ActiveCfg = AppStore|iPhone
{D29CCD31-E51B-4902-BAF3-7E77FFE010E3}.AppStore|x86.ActiveCfg = AppStore|iPhone
{D29CCD31-E51B-4902-BAF3-7E77FFE010E3}.Debug|Any CPU.ActiveCfg = Debug|iPhone
{D29CCD31-E51B-4902-BAF3-7E77FFE010E3}.Debug|ARM.ActiveCfg = Debug|iPhone
{D29CCD31-E51B-4902-BAF3-7E77FFE010E3}.Debug|iPhone.ActiveCfg = Debug|iPhone
{D29CCD31-E51B-4902-BAF3-7E77FFE010E3}.Debug|iPhone.Build.0 = Debug|iPhone
{D29CCD31-E51B-4902-BAF3-7E77FFE010E3}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator
{D29CCD31-E51B-4902-BAF3-7E77FFE010E3}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator
{D29CCD31-E51B-4902-BAF3-7E77FFE010E3}.Debug|x64.ActiveCfg = Debug|iPhone
{D29CCD31-E51B-4902-BAF3-7E77FFE010E3}.Debug|x86.ActiveCfg = Debug|iPhone
{D29CCD31-E51B-4902-BAF3-7E77FFE010E3}.Release|Any CPU.ActiveCfg = Release|iPhone
{D29CCD31-E51B-4902-BAF3-7E77FFE010E3}.Release|ARM.ActiveCfg = Release|iPhone
{D29CCD31-E51B-4902-BAF3-7E77FFE010E3}.Release|iPhone.ActiveCfg = Release|iPhone
{D29CCD31-E51B-4902-BAF3-7E77FFE010E3}.Release|iPhone.Build.0 = Release|iPhone
{D29CCD31-E51B-4902-BAF3-7E77FFE010E3}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator
{D29CCD31-E51B-4902-BAF3-7E77FFE010E3}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator
{D29CCD31-E51B-4902-BAF3-7E77FFE010E3}.Release|x64.ActiveCfg = Release|iPhone
{D29CCD31-E51B-4902-BAF3-7E77FFE010E3}.Release|x86.ActiveCfg = Release|iPhone
{481086B8-402A-4D1B-806A-D5760E5186C6}.Ad-Hoc|Any CPU.ActiveCfg = Release|x64
{481086B8-402A-4D1B-806A-D5760E5186C6}.Ad-Hoc|Any CPU.Build.0 = Release|x64
{481086B8-402A-4D1B-806A-D5760E5186C6}.Ad-Hoc|Any CPU.Deploy.0 = Release|x64
{481086B8-402A-4D1B-806A-D5760E5186C6}.Ad-Hoc|ARM.ActiveCfg = Release|ARM
{481086B8-402A-4D1B-806A-D5760E5186C6}.Ad-Hoc|ARM.Build.0 = Release|ARM
{481086B8-402A-4D1B-806A-D5760E5186C6}.Ad-Hoc|ARM.Deploy.0 = Release|ARM
{481086B8-402A-4D1B-806A-D5760E5186C6}.Ad-Hoc|iPhone.ActiveCfg = Release|x64
{481086B8-402A-4D1B-806A-D5760E5186C6}.Ad-Hoc|iPhone.Build.0 = Release|x64
{481086B8-402A-4D1B-806A-D5760E5186C6}.Ad-Hoc|iPhone.Deploy.0 = Release|x64
{481086B8-402A-4D1B-806A-D5760E5186C6}.Ad-Hoc|iPhoneSimulator.ActiveCfg = Release|x64
{481086B8-402A-4D1B-806A-D5760E5186C6}.Ad-Hoc|iPhoneSimulator.Build.0 = Release|x64
{481086B8-402A-4D1B-806A-D5760E5186C6}.Ad-Hoc|iPhoneSimulator.Deploy.0 = Release|x64
{481086B8-402A-4D1B-806A-D5760E5186C6}.Ad-Hoc|x64.ActiveCfg = Release|x64
{481086B8-402A-4D1B-806A-D5760E5186C6}.Ad-Hoc|x64.Build.0 = Release|x64
{481086B8-402A-4D1B-806A-D5760E5186C6}.Ad-Hoc|x64.Deploy.0 = Release|x64
{481086B8-402A-4D1B-806A-D5760E5186C6}.Ad-Hoc|x86.ActiveCfg = Release|x86
{481086B8-402A-4D1B-806A-D5760E5186C6}.Ad-Hoc|x86.Build.0 = Release|x86
{481086B8-402A-4D1B-806A-D5760E5186C6}.Ad-Hoc|x86.Deploy.0 = Release|x86
{481086B8-402A-4D1B-806A-D5760E5186C6}.AppStore|Any CPU.ActiveCfg = Release|x64
{481086B8-402A-4D1B-806A-D5760E5186C6}.AppStore|Any CPU.Build.0 = Release|x64
{481086B8-402A-4D1B-806A-D5760E5186C6}.AppStore|Any CPU.Deploy.0 = Release|x64
{481086B8-402A-4D1B-806A-D5760E5186C6}.AppStore|ARM.ActiveCfg = Release|ARM
{481086B8-402A-4D1B-806A-D5760E5186C6}.AppStore|ARM.Build.0 = Release|ARM
{481086B8-402A-4D1B-806A-D5760E5186C6}.AppStore|ARM.Deploy.0 = Release|ARM
{481086B8-402A-4D1B-806A-D5760E5186C6}.AppStore|iPhone.ActiveCfg = Release|x64
{481086B8-402A-4D1B-806A-D5760E5186C6}.AppStore|iPhone.Build.0 = Release|x64
{481086B8-402A-4D1B-806A-D5760E5186C6}.AppStore|iPhone.Deploy.0 = Release|x64
{481086B8-402A-4D1B-806A-D5760E5186C6}.AppStore|iPhoneSimulator.ActiveCfg = Release|x64
{481086B8-402A-4D1B-806A-D5760E5186C6}.AppStore|iPhoneSimulator.Build.0 = Release|x64
{481086B8-402A-4D1B-806A-D5760E5186C6}.AppStore|iPhoneSimulator.Deploy.0 = Release|x64
{481086B8-402A-4D1B-806A-D5760E5186C6}.AppStore|x64.ActiveCfg = Release|x64
{481086B8-402A-4D1B-806A-D5760E5186C6}.AppStore|x64.Build.0 = Release|x64
{481086B8-402A-4D1B-806A-D5760E5186C6}.AppStore|x64.Deploy.0 = Release|x64
{481086B8-402A-4D1B-806A-D5760E5186C6}.AppStore|x86.ActiveCfg = Release|x86
{481086B8-402A-4D1B-806A-D5760E5186C6}.AppStore|x86.Build.0 = Release|x86
{481086B8-402A-4D1B-806A-D5760E5186C6}.AppStore|x86.Deploy.0 = Release|x86
{481086B8-402A-4D1B-806A-D5760E5186C6}.Debug|Any CPU.ActiveCfg = Debug|x86
{481086B8-402A-4D1B-806A-D5760E5186C6}.Debug|ARM.ActiveCfg = Debug|ARM
{481086B8-402A-4D1B-806A-D5760E5186C6}.Debug|ARM.Build.0 = Debug|ARM
{481086B8-402A-4D1B-806A-D5760E5186C6}.Debug|ARM.Deploy.0 = Debug|ARM
{481086B8-402A-4D1B-806A-D5760E5186C6}.Debug|iPhone.ActiveCfg = Debug|x86
{481086B8-402A-4D1B-806A-D5760E5186C6}.Debug|iPhoneSimulator.ActiveCfg = Debug|x86
{481086B8-402A-4D1B-806A-D5760E5186C6}.Debug|x64.ActiveCfg = Debug|x64
{481086B8-402A-4D1B-806A-D5760E5186C6}.Debug|x64.Build.0 = Debug|x64
{481086B8-402A-4D1B-806A-D5760E5186C6}.Debug|x64.Deploy.0 = Debug|x64
{481086B8-402A-4D1B-806A-D5760E5186C6}.Debug|x86.ActiveCfg = Debug|x86
{481086B8-402A-4D1B-806A-D5760E5186C6}.Debug|x86.Build.0 = Debug|x86
{481086B8-402A-4D1B-806A-D5760E5186C6}.Debug|x86.Deploy.0 = Debug|x86
{481086B8-402A-4D1B-806A-D5760E5186C6}.Release|Any CPU.ActiveCfg = Release|x86
{481086B8-402A-4D1B-806A-D5760E5186C6}.Release|ARM.ActiveCfg = Release|ARM
{481086B8-402A-4D1B-806A-D5760E5186C6}.Release|ARM.Build.0 = Release|ARM
{481086B8-402A-4D1B-806A-D5760E5186C6}.Release|ARM.Deploy.0 = Release|ARM
{481086B8-402A-4D1B-806A-D5760E5186C6}.Release|iPhone.ActiveCfg = Release|x86
{481086B8-402A-4D1B-806A-D5760E5186C6}.Release|iPhoneSimulator.ActiveCfg = Release|x86
{481086B8-402A-4D1B-806A-D5760E5186C6}.Release|x64.ActiveCfg = Release|x64
{481086B8-402A-4D1B-806A-D5760E5186C6}.Release|x64.Build.0 = Release|x64
{481086B8-402A-4D1B-806A-D5760E5186C6}.Release|x64.Deploy.0 = Release|x64
{481086B8-402A-4D1B-806A-D5760E5186C6}.Release|x86.ActiveCfg = Release|x86
{481086B8-402A-4D1B-806A-D5760E5186C6}.Release|x86.Build.0 = Release|x86
{481086B8-402A-4D1B-806A-D5760E5186C6}.Release|x86.Deploy.0 = Release|x86
{1038EF68-351F-4246-B490-BE9ADD1B77FA}.Ad-Hoc|Any CPU.ActiveCfg = Debug|Any CPU
{1038EF68-351F-4246-B490-BE9ADD1B77FA}.Ad-Hoc|Any CPU.Build.0 = Debug|Any CPU
{1038EF68-351F-4246-B490-BE9ADD1B77FA}.Ad-Hoc|ARM.ActiveCfg = Debug|Any CPU
{1038EF68-351F-4246-B490-BE9ADD1B77FA}.Ad-Hoc|ARM.Build.0 = Debug|Any CPU
{1038EF68-351F-4246-B490-BE9ADD1B77FA}.Ad-Hoc|iPhone.ActiveCfg = Debug|Any CPU
{1038EF68-351F-4246-B490-BE9ADD1B77FA}.Ad-Hoc|iPhone.Build.0 = Debug|Any CPU
{1038EF68-351F-4246-B490-BE9ADD1B77FA}.Ad-Hoc|iPhoneSimulator.ActiveCfg = Debug|Any CPU
{1038EF68-351F-4246-B490-BE9ADD1B77FA}.Ad-Hoc|iPhoneSimulator.Build.0 = Debug|Any CPU
{1038EF68-351F-4246-B490-BE9ADD1B77FA}.Ad-Hoc|x64.ActiveCfg = Debug|Any CPU
{1038EF68-351F-4246-B490-BE9ADD1B77FA}.Ad-Hoc|x64.Build.0 = Debug|Any CPU
{1038EF68-351F-4246-B490-BE9ADD1B77FA}.Ad-Hoc|x86.ActiveCfg = Debug|Any CPU
{1038EF68-351F-4246-B490-BE9ADD1B77FA}.Ad-Hoc|x86.Build.0 = Debug|Any CPU
{1038EF68-351F-4246-B490-BE9ADD1B77FA}.AppStore|Any CPU.ActiveCfg = Debug|Any CPU
{1038EF68-351F-4246-B490-BE9ADD1B77FA}.AppStore|Any CPU.Build.0 = Debug|Any CPU
{1038EF68-351F-4246-B490-BE9ADD1B77FA}.AppStore|ARM.ActiveCfg = Debug|Any CPU
{1038EF68-351F-4246-B490-BE9ADD1B77FA}.AppStore|ARM.Build.0 = Debug|Any CPU
{1038EF68-351F-4246-B490-BE9ADD1B77FA}.AppStore|iPhone.ActiveCfg = Debug|Any CPU
{1038EF68-351F-4246-B490-BE9ADD1B77FA}.AppStore|iPhone.Build.0 = Debug|Any CPU
{1038EF68-351F-4246-B490-BE9ADD1B77FA}.AppStore|iPhoneSimulator.ActiveCfg = Debug|Any CPU
{1038EF68-351F-4246-B490-BE9ADD1B77FA}.AppStore|iPhoneSimulator.Build.0 = Debug|Any CPU
{1038EF68-351F-4246-B490-BE9ADD1B77FA}.AppStore|x64.ActiveCfg = Debug|Any CPU
{1038EF68-351F-4246-B490-BE9ADD1B77FA}.AppStore|x64.Build.0 = Debug|Any CPU
{1038EF68-351F-4246-B490-BE9ADD1B77FA}.AppStore|x86.ActiveCfg = Debug|Any CPU
{1038EF68-351F-4246-B490-BE9ADD1B77FA}.AppStore|x86.Build.0 = Debug|Any CPU
{1038EF68-351F-4246-B490-BE9ADD1B77FA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1038EF68-351F-4246-B490-BE9ADD1B77FA}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1038EF68-351F-4246-B490-BE9ADD1B77FA}.Debug|ARM.ActiveCfg = Debug|Any CPU
{1038EF68-351F-4246-B490-BE9ADD1B77FA}.Debug|ARM.Build.0 = Debug|Any CPU
{1038EF68-351F-4246-B490-BE9ADD1B77FA}.Debug|iPhone.ActiveCfg = Debug|Any CPU
{1038EF68-351F-4246-B490-BE9ADD1B77FA}.Debug|iPhone.Build.0 = Debug|Any CPU
{1038EF68-351F-4246-B490-BE9ADD1B77FA}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
{1038EF68-351F-4246-B490-BE9ADD1B77FA}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
{1038EF68-351F-4246-B490-BE9ADD1B77FA}.Debug|x64.ActiveCfg = Debug|Any CPU
{1038EF68-351F-4246-B490-BE9ADD1B77FA}.Debug|x64.Build.0 = Debug|Any CPU
{1038EF68-351F-4246-B490-BE9ADD1B77FA}.Debug|x86.ActiveCfg = Debug|Any CPU
{1038EF68-351F-4246-B490-BE9ADD1B77FA}.Debug|x86.Build.0 = Debug|Any CPU
{1038EF68-351F-4246-B490-BE9ADD1B77FA}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1038EF68-351F-4246-B490-BE9ADD1B77FA}.Release|Any CPU.Build.0 = Release|Any CPU
{1038EF68-351F-4246-B490-BE9ADD1B77FA}.Release|ARM.ActiveCfg = Release|Any CPU
{1038EF68-351F-4246-B490-BE9ADD1B77FA}.Release|ARM.Build.0 = Release|Any CPU
{1038EF68-351F-4246-B490-BE9ADD1B77FA}.Release|iPhone.ActiveCfg = Release|Any CPU
{1038EF68-351F-4246-B490-BE9ADD1B77FA}.Release|iPhone.Build.0 = Release|Any CPU
{1038EF68-351F-4246-B490-BE9ADD1B77FA}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
{1038EF68-351F-4246-B490-BE9ADD1B77FA}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
{1038EF68-351F-4246-B490-BE9ADD1B77FA}.Release|x64.ActiveCfg = Release|Any CPU
{1038EF68-351F-4246-B490-BE9ADD1B77FA}.Release|x64.Build.0 = Release|Any CPU
{1038EF68-351F-4246-B490-BE9ADD1B77FA}.Release|x86.ActiveCfg = Release|Any CPU
{1038EF68-351F-4246-B490-BE9ADD1B77FA}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {678F9933-7F06-4CE8-82DA-25F74EB256C1}
EndGlobalSection
EndGlobal

Просмотреть файл

@ -0,0 +1,19 @@
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
AssetManager, like this:
public class ReadAsset : Activity
{
protected override void OnCreate (Bundle bundle)
{
base.OnCreate (bundle);
InputStream input = Assets.Open ("my_asset.txt");
}
}
Additionally, some Android functions will automatically load asset files:
Typeface tf = Typeface.CreateFromAsset (Context.Assets, "fonts/samplefont.ttf");

Просмотреть файл

@ -0,0 +1,90 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{98DE70C1-C8DE-4EBB-87E8-E08920702EB7}</ProjectGuid>
<ProjectTypeGuids>{EFBA0AD7-5A72-4C68-AF49-83D382785DCF};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>CameraCaptureUISample.Droid</RootNamespace>
<AssemblyName>CameraCaptureUISample.Droid</AssemblyName>
<FileAlignment>512</FileAlignment>
<AndroidApplication>true</AndroidApplication>
<AndroidResgenFile>Resources\Resource.Designer.cs</AndroidResgenFile>
<GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies>
<AndroidUseLatestPlatformSdk>False</AndroidUseLatestPlatformSdk>
<TargetFrameworkVersion>v8.0</TargetFrameworkVersion>
<AndroidManifest>Properties\AndroidManifest.xml</AndroidManifest>
<AndroidUseIntermediateDesignerFile>True</AndroidUseIntermediateDesignerFile>
<ResourcesDirectory>..\CameraCaptureUISample.Shared\Strings</ResourcesDirectory>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<AndroidUseSharedRuntime>True</AndroidUseSharedRuntime>
<AndroidLinkMode>None</AndroidLinkMode>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<DebugSymbols>true</DebugSymbols>
<AndroidManagedSymbols>true</AndroidManagedSymbols>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<AndroidUseSharedRuntime>False</AndroidUseSharedRuntime>
<AndroidLinkMode>SdkOnly</AndroidLinkMode>
</PropertyGroup>
<ItemGroup>
<Reference Include="Mono.Android" />
<Reference Include="Mono.Android.Export" />
<Reference Include="mscorlib" />
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Uno.UI" Version="1.41.0-dev.481" />
<PackageReference Include="Uno.UniversalImageLoader" Version="1.9.31" />
</ItemGroup>
<ItemGroup>
<Compile Include="MainActivity.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Main.cs" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\AboutResources.txt" />
<None Include="Assets\AboutAssets.txt" />
</ItemGroup>
<ItemGroup>
<AndroidResource Include="Resources\values\Strings.xml" />
</ItemGroup>
<ItemGroup>
<AndroidResource Include="Resources\drawable\Icon.png" />
</ItemGroup>
<ItemGroup>
<None Include="Properties\AndroidManifest.xml" />
</ItemGroup>
<ItemGroup>
<AndroidResource Include="Resources\values\Styles.xml" />
</ItemGroup>
<Import Project="..\CameraCaptureUISample.Shared\CameraCaptureUISample.Shared.projitems" Label="Shared" Condition="Exists('..\CameraCaptureUISample.Shared\CameraCaptureUISample.Shared.projitems')" />
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>

Просмотреть файл

@ -0,0 +1,43 @@
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 Com.Nostra13.Universalimageloader.Core;
using Windows.UI.Xaml.Media;
namespace CameraCaptureUISample.Droid
{
[global::Android.App.ApplicationAttribute(
Label = "@string/ApplicationName",
LargeHeap = true,
HardwareAccelerated = true,
Theme = "@style/AppTheme"
)]
public class Application : Windows.UI.Xaml.NativeApplication
{
public Application(IntPtr javaReference, JniHandleOwnership transfer)
: base(new App(), javaReference, transfer)
{
ConfigureUniversalImageLoader();
}
private 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;
}
}
}

Просмотреть файл

@ -0,0 +1,18 @@
using Android.App;
using Android.Widget;
using Android.OS;
using Android.Content.PM;
using Android.Views;
namespace CameraCaptureUISample.Droid
{
[Activity(
MainLauncher = true,
ConfigurationChanges = ConfigChanges.Orientation | ConfigChanges.ScreenSize,
WindowSoftInputMode = SoftInput.AdjustPan | SoftInput.StateHidden
)]
public class MainActivity : Windows.UI.Xaml.ApplicationActivity
{
}
}

Просмотреть файл

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="CameraCaptureUISample.CameraCaptureUISample" android:versionCode="1" android:versionName="1.0" android:installLocation="auto">
<uses-sdk android:minSdkVersion="16" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.CAMERA" />
<application android:label="CameraCaptureUISample"></application>
</manifest>

Просмотреть файл

@ -0,0 +1,30 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Android.App;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("UnoQuickStart.Droid")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("UnoQuickStart.Droid")]
[assembly: AssemblyCopyright("Copyright © 2016")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

Просмотреть файл

@ -0,0 +1,44 @@
Images, layout descriptions, binary blobs and string dictionaries can be included
in your application as resource files. Various Android APIs are designed to
operate on the resource IDs instead of dealing with images, strings or binary blobs
directly.
For example, a sample Android app that contains a user interface layout (main.axml),
an internationalization string table (strings.xml) and some icons (drawable-XXX/icon.png)
would keep its resources in the "Resources" directory of the application:
Resources/
drawable/
icon.png
layout/
main.axml
values/
strings.xml
In order to get the build system to recognize Android resources, set the build action to
"AndroidResource". The native Android APIs do not operate directly with filenames, but
instead operate on resource IDs. When you compile an Android application that uses resources,
the build system will package the resources for distribution and generate a class called "R"
(this is an Android convention) that contains the tokens for each one of the resources
included. For example, for the above Resources layout, this is what the R class would expose:
public class R {
public class drawable {
public const int icon = 0x123;
}
public class layout {
public const int main = 0x456;
}
public class strings {
public const int first_string = 0xabc;
public const int second_string = 0xbcd;
}
}
You would then use R.drawable.icon to reference the drawable/icon.png file, or R.layout.main
to reference the layout/main.axml file, or R.strings.first_string to reference the first
string in the dictionary file values/strings.xml.

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 4.0 KiB

Просмотреть файл

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="Hello">Hello World, Click Me!</string>
<string name="ApplicationName">UnoQuickStart.Droid</string>
</resources>

Просмотреть файл

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8" ?>
<resources>
<style name="AppTheme" parent="Theme.AppCompat.Light">
<!-- This removes the ActionBar -->
<item name="windowActionBar">false</item>
<item name="android:windowActionBar">false</item>
<item name="windowNoTitle">true</item>
<item name="android:windowNoTitle">true</item>
</style>
</resources>

Просмотреть файл

@ -0,0 +1,8 @@
<Application
x:Class="CameraCaptureUISample.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:CameraCaptureUISample"
RequestedTheme="Light">
</Application>

Просмотреть файл

@ -0,0 +1,106 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.ApplicationModel;
using Windows.ApplicationModel.Activation;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xaml.Data;
using Windows.UI.Xaml.Input;
using Windows.UI.Xaml.Media;
using Windows.UI.Xaml.Navigation;
namespace CameraCaptureUISample
{
/// <summary>
/// Provides application-specific behavior to supplement the default Application class.
/// </summary>
sealed partial class App : Application
{
/// <summary>
/// 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().
/// </summary>
public App()
{
this.InitializeComponent();
this.Suspending += OnSuspending;
}
/// <summary>
/// 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.
/// </summary>
/// <param name="e">Details about the launch request and process.</param>
protected override void OnLaunched(LaunchActivatedEventArgs e)
{
#if DEBUG
if (System.Diagnostics.Debugger.IsAttached)
{
// this.DebugSettings.EnableFrameRateCounter = true;
}
#endif
Frame rootFrame = Windows.UI.Xaml.Window.Current.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 (e.PreviousExecutionState == ApplicationExecutionState.Terminated)
{
//TODO: Load state from previously suspended application
}
// Place the frame in the current Window
Windows.UI.Xaml.Window.Current.Content = rootFrame;
}
if (e.PrelaunchActivated == false)
{
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), e.Arguments);
}
// Ensure the current window is active
Windows.UI.Xaml.Window.Current.Activate();
}
}
/// <summary>
/// Invoked when Navigation to a certain page fails
/// </summary>
/// <param name="sender">The Frame which failed navigation</param>
/// <param name="e">Details about the navigation failure</param>
void OnNavigationFailed(object sender, NavigationFailedEventArgs e)
{
throw new Exception("Failed to load Page " + e.SourcePageType.FullName);
}
/// <summary>
/// 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.
/// </summary>
/// <param name="sender">The source of the suspend request.</param>
/// <param name="e">Details about the suspend request.</param>
private void OnSuspending(object sender, SuspendingEventArgs e)
{
var deferral = e.SuspendingOperation.GetDeferral();
//TODO: Save application state and stop any background activity
deferral.Complete();
}
}
}

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 1.4 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 7.5 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 2.9 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 1.6 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 1.2 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 1.4 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 3.1 KiB

Просмотреть файл

@ -0,0 +1,43 @@
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
<HasSharedItems>true</HasSharedItems>
<SharedGUID>6279c845-92f8-4333-ab99-3d213163593c</SharedGUID>
</PropertyGroup>
<PropertyGroup Label="Configuration">
<Import_RootNamespace>CameraCaptureUISample.Shared</Import_RootNamespace>
</PropertyGroup>
<ItemGroup>
<ApplicationDefinition Include="$(MSBuildThisFileDirectory)App.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</ApplicationDefinition>
</ItemGroup>
<ItemGroup>
<Compile Include="$(MSBuildThisFileDirectory)App.xaml.cs">
<DependentUpon>App.xaml</DependentUpon>
</Compile>
<Compile Include="$(MSBuildThisFileDirectory)MainPage.xaml.cs">
<DependentUpon>MainPage.xaml</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<Page Include="$(MSBuildThisFileDirectory)MainPage.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
</ItemGroup>
<ItemGroup>
<Content Include="$(MSBuildThisFileDirectory)Assets\LockScreenLogo.scale-200.png" />
<Content Include="$(MSBuildThisFileDirectory)Assets\SplashScreen.scale-200.png" />
<Content Include="$(MSBuildThisFileDirectory)Assets\Square150x150Logo.scale-200.png" />
<Content Include="$(MSBuildThisFileDirectory)Assets\Square44x44Logo.scale-200.png" />
<Content Include="$(MSBuildThisFileDirectory)Assets\Square44x44Logo.targetsize-24_altform-unplated.png" />
<Content Include="$(MSBuildThisFileDirectory)Assets\StoreLogo.png" />
<Content Include="$(MSBuildThisFileDirectory)Assets\Wide310x150Logo.scale-200.png" />
</ItemGroup>
<ItemGroup>
<PRIResource Include="$(MSBuildThisFileDirectory)Strings\en\Resources.resw" />
</ItemGroup>
</Project>

Просмотреть файл

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Label="Globals">
<ProjectGuid>6279c845-92f8-4333-ab99-3d213163593c</ProjectGuid>
<MinimumVisualStudioVersion>14.0</MinimumVisualStudioVersion>
</PropertyGroup>
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeSharing\Microsoft.CodeSharing.Common.Default.props" />
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeSharing\Microsoft.CodeSharing.Common.props" />
<PropertyGroup />
<Import Project="CameraCaptureUISample.Shared.projitems" Label="Shared" />
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeSharing\Microsoft.CodeSharing.CSharp.targets" />
</Project>

Просмотреть файл

@ -0,0 +1,22 @@
<Page
x:Class="CameraCaptureUISample.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:CameraCaptureUISample"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d">
<Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
<StackPanel Padding="50">
<Button x:Name="button"
Content="Capture Image"
Width="150"
Height="30"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Click="button_Click" />
<Image x:Name="image" />
</StackPanel>
</Grid>
</Page>

Просмотреть файл

@ -0,0 +1,60 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.Media.Capture;
using Windows.Storage;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xaml.Data;
using Windows.UI.Xaml.Input;
using Windows.UI.Xaml.Media;
using Windows.UI.Xaml.Media.Imaging;
using Windows.UI.Xaml.Navigation;
// The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=402352&clcid=0x409
namespace CameraCaptureUISample
{
/// <summary>
/// An empty page that can be used on its own or navigated to within a Frame.
/// </summary>
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);
}
}
}
}

Просмотреть файл

@ -0,0 +1,123 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="ApplicationName" xml:space="preserve">
<value>CameraCaptureUISample</value>
</data>
</root>

Просмотреть файл

@ -0,0 +1,122 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<ItemGroup>
<PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform">
<Version>6.1.7</Version>
</PackageReference>
</ItemGroup>
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
<ProjectGuid>{481086B8-402A-4D1B-806A-D5760E5186C6}</ProjectGuid>
<OutputType>AppContainerExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>CameraCaptureUISample</RootNamespace>
<AssemblyName>CameraCaptureUISample</AssemblyName>
<DefaultLanguage>en-US</DefaultLanguage>
<TargetPlatformIdentifier>UAP</TargetPlatformIdentifier>
<TargetPlatformVersion>10.0.16299.0</TargetPlatformVersion>
<TargetPlatformMinVersion>10.0.16299.0</TargetPlatformMinVersion>
<MinimumVisualStudioVersion>14</MinimumVisualStudioVersion>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<PackageCertificateKeyFile>CameraCaptureUISample.Uwp_TemporaryKey.pfx</PackageCertificateKeyFile>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x86\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
<NoWarn>;2008</NoWarn>
<DebugType>full</DebugType>
<PlatformTarget>x86</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
<OutputPath>bin\x86\Release\</OutputPath>
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
<Optimize>true</Optimize>
<NoWarn>;2008</NoWarn>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x86</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
<UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|ARM'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\ARM\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
<NoWarn>;2008</NoWarn>
<DebugType>full</DebugType>
<PlatformTarget>ARM</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|ARM'">
<OutputPath>bin\ARM\Release\</OutputPath>
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
<Optimize>true</Optimize>
<NoWarn>;2008</NoWarn>
<DebugType>pdbonly</DebugType>
<PlatformTarget>ARM</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
<UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x64\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
<NoWarn>;2008</NoWarn>
<DebugType>full</DebugType>
<PlatformTarget>x64</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
<OutputPath>bin\x64\Release\</OutputPath>
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
<Optimize>true</Optimize>
<NoWarn>;2008</NoWarn>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x64</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
<UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
</PropertyGroup>
<ItemGroup>
<!-- A reference to the entire .Net Framework and Windows SDK are automatically included -->
</ItemGroup>
<ItemGroup>
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<AppxManifest Include="Package.appxmanifest">
<SubType>Designer</SubType>
</AppxManifest>
<None Include="CameraCaptureUISample.UWP_TemporaryKey.pfx" />
</ItemGroup>
<ItemGroup>
<Content Include="Properties\Default.rd.xml" />
</ItemGroup>
<Import Project="..\CameraCaptureUISample.Shared\CameraCaptureUISample.Shared.projitems" Label="Shared" Condition="Exists('..\CameraCaptureUISample.Shared\CameraCaptureUISample.Shared.projitems')" />
<PropertyGroup Condition=" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' &lt; '14.0' ">
<VisualStudioVersion>14.0</VisualStudioVersion>
</PropertyGroup>
<Import Project="$(MSBuildExtensionsPath)\Microsoft\WindowsXaml\v$(VisualStudioVersion)\Microsoft.Windows.UI.Xaml.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>

Просмотреть файл

@ -0,0 +1,49 @@
<?xml version="1.0" encoding="utf-8"?>
<Package
xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest"
xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
IgnorableNamespaces="uap mp">
<Identity
Name="481086b8-402a-4d1b-806a-d5760e5186c6"
Publisher="CN=com.example"
Version="1.0.0.0" />
<mp:PhoneIdentity PhoneProductId="1897f84c-689e-44d3-a8b7-c521a62818ae" PhonePublisherId="00000000-0000-0000-0000-000000000000"/>
<Properties>
<DisplayName>CameraCaptureUISample</DisplayName>
<PublisherDisplayName>CameraCaptureUISample</PublisherDisplayName>
<Logo>Assets\StoreLogo.png</Logo>
</Properties>
<Dependencies>
<TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.0.0" MaxVersionTested="10.0.0.0" />
</Dependencies>
<Resources>
<Resource Language="x-generate"/>
</Resources>
<Applications>
<Application Id="App"
Executable="CameraCaptureUISample.exe"
EntryPoint="UnoQuickStart.App">
<uap:VisualElements
DisplayName="CameraCaptureUISample"
Square150x150Logo="Assets\Square150x150Logo.png"
Square44x44Logo="Assets\Square44x44Logo.png"
Description="CameraCaptureUISample"
BackgroundColor="transparent">
<uap:DefaultTile Wide310x150Logo="Assets\Wide310x150Logo.png"/>
<uap:SplashScreen Image="Assets\SplashScreen.png" />
</uap:VisualElements>
</Application>
</Applications>
<Capabilities>
<Capability Name="internetClient" />
</Capabilities>
</Package>

Просмотреть файл

@ -0,0 +1,29 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("UnoQuickStart")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("UnoQuickStart")]
[assembly: AssemblyCopyright("Copyright © 2016")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: ComVisible(false)]

Просмотреть файл

@ -0,0 +1,31 @@
<!--
This file contains Runtime Directives used by .NET Native. The defaults here are suitable for most
developers. However, you can modify these parameters to modify the behavior of the .NET Native
optimizer.
Runtime Directives are documented at http://go.microsoft.com/fwlink/?LinkID=391919
To fully enable reflection for App1.MyClass and all of its public/private members
<Type Name="App1.MyClass" Dynamic="Required All"/>
To enable dynamic creation of the specific instantiation of AppClass<T> over System.Int32
<TypeInstantiation Name="App1.AppClass" Arguments="System.Int32" Activate="Required Public" />
Using the Namespace directive to apply reflection policy to all the types in a particular namespace
<Namespace Name="DataClasses.ViewModels" Seralize="All" />
-->
<Directives xmlns="http://schemas.microsoft.com/netfx/2013/01/metadata">
<Application>
<!--
An Assembly element with Name="*Application*" applies to all assemblies in
the application package. The asterisks are not wildcards.
-->
<Assembly Name="*Application*" Dynamic="Required All" />
<!-- Add your application specific runtime directives here. -->
</Application>
</Directives>

Просмотреть файл

@ -0,0 +1,37 @@
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netstandard2.0</TargetFramework>
<WasmHead>true</WasmHead>
<DefineConstants>$(DefineConstants);__WASM__</DefineConstants>
<NoWarn>NU1701</NoWarn>
</PropertyGroup>
<ItemGroup>
<Content Include="..\CameraCaptureUISample.UWP\Assets\*.png" Link="Assets\%(FileName)%(Extension)" />
<Content Include="Fonts\winjs-symbols.woff2" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="WasmCSS\Fonts.css" />
<EmbeddedResource Include="WasmScripts\AppManifest.js" />
</ItemGroup>
<ItemGroup>
<LinkerDescriptor Include="LinkerConfig.xml" />
</ItemGroup>
<ItemGroup>
<!--
This item group is required by the project templace because of the
new SDK-Style project, otherwise some files are not aded automatically.
You can safely this ItemGroup completely.
-->
<Compile Remove="Program.cs" />
<Compile Include="Program.cs" />
<Content Include="LinkerConfig.xml" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Uno.UI" Version="1.40.0" />
<PackageReference Include="Uno.Wasm.Bootstrap" Version="1.0.0-dev.40" />
</ItemGroup>
<Import Project="..\CameraCaptureUISample.Shared\CameraCaptureUISample.Shared.projitems" Label="Shared" Condition="Exists('..\CameraCaptureUISample.Shared\CameraCaptureUISample.Shared.projitems')" />
</Project>

Двоичный файл не отображается.

Просмотреть файл

@ -0,0 +1,9 @@
<linker>
<assembly fullname="Uno.UI">
<type fullname="*" />
</assembly>
<assembly fullname="System.Core">
<!-- This is required by JSon.NET and any expression.Compile caller -->
<type fullname="System.Linq.Expressions*" />
</assembly>
</linker>

Просмотреть файл

@ -0,0 +1,15 @@
using System;
using Windows.UI.Xaml;
namespace CameraCaptureUISample.Wasm
{
public class Program
{
private static App _app;
static void Main(string[] args)
{
Windows.UI.Xaml.Application.Start(_ => _app = new App());
}
}
}

Просмотреть файл

@ -0,0 +1,4 @@
@font-face {
font-family: "Symbols";
src: url("Fonts/winjs-symbols.woff2") format('woff');
}

Просмотреть файл

@ -0,0 +1,7 @@
var UnoAppManifest = {
splashScreenImage: "Assets/SplashScreen.scale-200.png",
splashScreenColor: "#00f",
displayName: "CameraCaptureUISample"
}

Просмотреть файл

@ -0,0 +1,108 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">iPhoneSimulator</Platform>
<ProjectGuid>{D29CCD31-E51B-4902-BAF3-7E77FFE010E3}</ProjectGuid>
<ProjectTypeGuids>{FEACFBD2-3405-455C-9665-78FE426C6842};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<OutputType>Exe</OutputType>
<RootNamespace>CameraCaptureUISample</RootNamespace>
<IPhoneResourcePrefix>Resources</IPhoneResourcePrefix>
<AssemblyName>CameraCaptureUISample</AssemblyName>
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
<ResourcesDirectory>..\CameraCaptureUISample.Shared\Strings</ResourcesDirectory>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|iPhoneSimulator' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\iPhoneSimulator\Debug</OutputPath>
<DefineConstants>DEBUG</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
<MtouchArch>x86_64</MtouchArch>
<MtouchLink>None</MtouchLink>
<MtouchDebug>true</MtouchDebug>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhoneSimulator' ">
<DebugType>none</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\iPhoneSimulator\Release</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<MtouchLink>None</MtouchLink>
<MtouchArch>x86_64</MtouchArch>
<ConsolePause>false</ConsolePause>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|iPhone' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\iPhone\Debug</OutputPath>
<DefineConstants>DEBUG</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
<MtouchArch>ARM64</MtouchArch>
<CodesignEntitlements>Entitlements.plist</CodesignEntitlements>
<CodesignKey>iPhone Developer</CodesignKey>
<MtouchDebug>true</MtouchDebug>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhone' ">
<DebugType>none</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\iPhone\Release</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<CodesignEntitlements>Entitlements.plist</CodesignEntitlements>
<MtouchArch>ARM64</MtouchArch>
<ConsolePause>false</ConsolePause>
<CodesignKey>iPhone Developer</CodesignKey>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Ad-Hoc|iPhone' ">
<DebugType>none</DebugType>
<Optimize>True</Optimize>
<OutputPath>bin\iPhone\Ad-Hoc</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>False</ConsolePause>
<MtouchArch>ARM64</MtouchArch>
<CodesignEntitlements>Entitlements.plist</CodesignEntitlements>
<BuildIpa>True</BuildIpa>
<CodesignProvision>Automatic:AdHoc</CodesignProvision>
<CodesignKey>iPhone Distribution</CodesignKey>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'AppStore|iPhone' ">
<DebugType>none</DebugType>
<Optimize>True</Optimize>
<OutputPath>bin\iPhone\AppStore</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>False</ConsolePause>
<MtouchArch>ARM64</MtouchArch>
<CodesignEntitlements>Entitlements.plist</CodesignEntitlements>
<CodesignProvision>Automatic:AppStore</CodesignProvision>
<CodesignKey>iPhone Distribution</CodesignKey>
</PropertyGroup>
<ItemGroup>
<Compile Include="Main.cs" />
<None Include="Info.plist">
<SubType>Designer</SubType>
</None>
<Compile Include="Properties\AssemblyInfo.cs" />
<Content Include="Entitlements.plist" />
</ItemGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Xml" />
<Reference Include="System.Core" />
<Reference Include="Xamarin.iOS" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Uno.UI" Version="1.41.0-dev.481" />
</ItemGroup>
<Import Project="..\CameraCaptureUISample.Shared\CameraCaptureUISample.Shared.projitems" Label="Shared" Condition="Exists('..\CameraCaptureUISample.Shared\CameraCaptureUISample.Shared.projitems')" />
<Import Project="$(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.iOS.CSharp.targets" />
</Project>

Просмотреть файл

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
</dict>
</plist>

Просмотреть файл

@ -0,0 +1,46 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDisplayName</key>
<string>UnoQuickStart.iOS</string>
<key>CFBundleIdentifier</key>
<string>com.companyname.CameraCaptureUISample</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>MinimumOSVersion</key>
<string></string>
<key>UIDeviceFamily</key>
<array>
<integer>1</integer>
<integer>2</integer>
</array>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>NSCameraUsageDescription</key>
<string>This app needs access to use your camera</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>This app needs access to use your photo library</string>
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>armv7</string>
</array>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UISupportedInterfaceOrientations~ipad</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
</dict>
</plist>

Просмотреть файл

@ -0,0 +1,15 @@
using UIKit;
namespace CameraCaptureUISample.iOS
{
public class Application
{
// 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));
}
}
}

Просмотреть файл

@ -0,0 +1,36 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("UnoQuickStart.iOS")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("UnoQuickStart.iOS")]
[assembly: AssemblyCopyright("Copyright © 2016")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("166de4ca-8f11-4ef9-bcf8-3e7834988e7d")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]