Skip to content

Commit

Permalink
Windows 10 RTM Release - August 2015 Update 2
Browse files Browse the repository at this point in the history
  • Loading branch information
oldnewthing committed Aug 13, 2015
1 parent 4968d97 commit 2cdeb3d
Show file tree
Hide file tree
Showing 455 changed files with 8,485 additions and 1,508 deletions.
23 changes: 15 additions & 8 deletions README.md
@@ -1,3 +1,7 @@
<!---
samplefwlink: http://go.microsoft.com/fwlink/p/?LinkId=619979&clcid=0x409
--->

# Universal Windows app samples

This repo contains the samples that demonstrate the API usage patterns for the Universal Windows Platform (UWP) in the Windows Software Development Kit (SDK) for Windows 10. These code samples were created with the Universal Windows templates available in Visual Studio, and are designed to run on desktop, mobile, and future devices that support the Universal Windows Platform.
Expand Down Expand Up @@ -84,15 +88,16 @@ For additional Windows samples, see [Windows on GitHub](http://microsoft.github.
</tr>
<tr>
<td><a href="Samples/BasicFaceTracking">Basic face tracking</a></td>
<td><a href="Samples/Playlists">Playlists</a></td>
<td><a href="Samples/SimpleImaging">Simple imaging</a></td>
<td><a href="Samples/SpatialSound">Spatial audio</a></td>
</tr>
<tr>
<td><a href="Samples/SpatialSound">Spatial audio</a></td>
<td><a href="Samples/SystemMediaTransportControls">System media transport controls</a></td>
<td><a href="Samples/MediaTranscoding">Transcoding media</a></td>
<td><a href="Samples/VideoPlayback">Video playback</a></td>
</tr>
<tr>
<td><a href="Samples/VideoPlayback">Video playback</a></td>
<td><a href="Samples/WindowsAudioSession">Windows audio session (WASAPI)</a></td>
<td><a href="Samples/MediaImport">Windows media import</a></td>
</tr>
Expand Down Expand Up @@ -314,15 +319,16 @@ For additional Windows samples, see [Windows on GitHub](http://microsoft.github.
</tr>
<tr>
<td><a href="Samples/ApplicationResources">Application resources and localization</a></td>
<td><a href="Samples/DateTimeFormatting">Date and time formatting</a></td>
<td><a href="Samples/JapanesePhoneticAnalysis">Japanese phonetic analysis</a></td>
<td><a href="Samples/LanguageFont">Language font mapping</a></td>
</tr>
<tr>
<td><a href="Samples/LanguageFont">Language font mapping</a></td>
<td><a href="Samples/LinguisticServices">Linguistic services</a></td>
<td><a href="Samples/NumberFormatting">Number formatting and parsing</a></td>
<td><a href="Samples/TextSegmentation">Text segmentation</a></td>
</tr>
<tr>
<td><a href="Samples/TextSegmentation">Text segmentation</a></td>
<td><a href="Samples/TextSuggestion">Text suggestions</a></td>
<td><a href="Samples/Unicode">Unicode string processing</a></td>
</tr>
Expand All @@ -332,18 +338,19 @@ For additional Windows samples, see [Windows on GitHub](http://microsoft.github.
<th colspan="3" align="left">Graphics and animation</th>
</tr>
<tr>
<td><a href="Samples/XamlAnimatedGif">Animated GIF (XAML)</a></td>
<td><a href="Samples/AnimationLibrary">Animation library (HTML)</a></td>
<td><a href="Samples/AnimationMetrics">Animation metrics</a></td>
</tr>
<tr>
<td><a href="Samples/D2DCustomEffects">Direct2D custom image effects</a></td>
<td><a href="Samples/D2DGradientMesh">Direct2D gradient mesh</a></td>
<td><a href="Samples/EfficientAnimations">Efficient animations (HTML)</a></td>
</tr>
<tr>
<td><a href="Samples/AnimationLibrary">HTML animation library</a></td>
<td><a href="Samples/XamlTransform3DAnimations">Transform3D animations</a></td>
<td><a href="Samples/XamlTransform3DParallax">Transform3D parallax</a></td>
</tr>
<tr>
<td><a href="Samples/EfficientAnimations">Efficient HTML animations</a></td>
</tr>
</table>
<table>
<tr>
Expand Down
1 change: 1 addition & 0 deletions Samples/Accelerometer/README.md
@@ -1,5 +1,6 @@
<!---
category: DevicesSensorsAndPower
samplefwlink: http://go.microsoft.com/fwlink/p/?LinkId=620477&clcid=0x409
--->

# Accelerometer sample
Expand Down
30 changes: 15 additions & 15 deletions Samples/Accelerometer/cpp/Accelerometer.vcxproj
Expand Up @@ -146,19 +146,19 @@
</ClInclude>
<ClInclude Include="SampleConfiguration.h" />
<ClInclude Include="Scenario1_DataEvents.xaml.h">
<DependentUpon>Scenario1_DataEvents.xaml</DependentUpon>
<DependentUpon>..\shared\Scenario1_DataEvents.xaml</DependentUpon>
</ClInclude>
<ClInclude Include="Scenario2_ShakeEvents.xaml.h">
<DependentUpon>Scenario2_ShakeEvents.xaml</DependentUpon>
<DependentUpon>..\shared\Scenario2_ShakeEvents.xaml</DependentUpon>
</ClInclude>
<ClInclude Include="Scenario3_Polling.xaml.h">
<DependentUpon>Scenario3_Polling.xaml</DependentUpon>
<DependentUpon>..\shared\Scenario3_Polling.xaml</DependentUpon>
</ClInclude>
<ClInclude Include="Scenario4_OrientationChanged.xaml.h">
<DependentUpon>Scenario4_OrientationChanged.xaml</DependentUpon>
<DependentUpon>..\shared\Scenario4_OrientationChanged.xaml</DependentUpon>
</ClInclude>
<ClInclude Include="Scenario5_DataEventsBatching.xaml.h">
<DependentUpon>Scenario5_DataEventsBatching.xaml</DependentUpon>
<DependentUpon>..\shared\Scenario5_DataEventsBatching.xaml</DependentUpon>
</ClInclude>
</ItemGroup>
<ItemGroup>
Expand All @@ -168,11 +168,11 @@
<Page Include="..\..\..\SharedContent\cpp\MainPage.xaml">
<SubType>Designer</SubType>
</Page>
<Page Include="Scenario1_DataEvents.xaml" />
<Page Include="Scenario2_ShakeEvents.xaml" />
<Page Include="Scenario3_Polling.xaml" />
<Page Include="Scenario4_OrientationChanged.xaml" />
<Page Include="Scenario5_DataEventsBatching.xaml" />
<Page Include="..\shared\Scenario1_DataEvents.xaml" />
<Page Include="..\shared\Scenario2_ShakeEvents.xaml" />
<Page Include="..\shared\Scenario3_Polling.xaml" />
<Page Include="..\shared\Scenario4_OrientationChanged.xaml" />
<Page Include="..\shared\Scenario5_DataEventsBatching.xaml" />
<Page Include="..\..\..\SharedContent\xaml\Styles.xaml">
<Link>Styles\Styles.xaml</Link>
</Page>
Expand All @@ -199,19 +199,19 @@
</ClCompile>
<ClCompile Include="SampleConfiguration.cpp" />
<ClCompile Include="Scenario1_DataEvents.xaml.cpp">
<DependentUpon>Scenario1_DataEvents.xaml</DependentUpon>
<DependentUpon>..\shared\Scenario1_DataEvents.xaml</DependentUpon>
</ClCompile>
<ClCompile Include="Scenario2_ShakeEvents.xaml.cpp">
<DependentUpon>Scenario2_ShakeEvents.xaml</DependentUpon>
<DependentUpon>..\shared\Scenario2_ShakeEvents.xaml</DependentUpon>
</ClCompile>
<ClCompile Include="Scenario3_Polling.xaml.cpp">
<DependentUpon>Scenario3_Polling.xaml</DependentUpon>
<DependentUpon>..\shared\Scenario3_Polling.xaml</DependentUpon>
</ClCompile>
<ClCompile Include="Scenario4_OrientationChanged.xaml.cpp">
<DependentUpon>Scenario4_OrientationChanged.xaml</DependentUpon>
<DependentUpon>..\shared\Scenario4_OrientationChanged.xaml</DependentUpon>
</ClCompile>
<ClCompile Include="Scenario5_DataEventsBatching.xaml.cpp">
<DependentUpon>Scenario5_DataEventsBatching.xaml</DependentUpon>
<DependentUpon>..\shared\Scenario5_DataEventsBatching.xaml</DependentUpon>
</ClCompile>
</ItemGroup>
<ItemGroup>
Expand Down
10 changes: 5 additions & 5 deletions Samples/Accelerometer/cpp/Accelerometer.vcxproj.filters
Expand Up @@ -53,11 +53,11 @@
</ItemGroup>
<ItemGroup>
<Page Include="..\..\..\SharedContent\cpp\MainPage.xaml" />
<Page Include="Scenario1_DataEvents.xaml" />
<Page Include="Scenario2_ShakeEvents.xaml" />
<Page Include="Scenario3_Polling.xaml" />
<Page Include="Scenario4_OrientationChanged.xaml" />
<Page Include="Scenario5_DataEventsBatching.xaml" />
<Page Include="..\shared\Scenario1_DataEvents.xaml" />
<Page Include="..\shared\Scenario2_ShakeEvents.xaml" />
<Page Include="..\shared\Scenario3_Polling.xaml" />
<Page Include="..\shared\Scenario4_OrientationChanged.xaml" />
<Page Include="..\shared\Scenario5_DataEventsBatching.xaml" />
<Page Include="..\..\..\SharedContent\xaml\Styles.xaml">
<Filter>Styles</Filter>
</Page>
Expand Down
10 changes: 5 additions & 5 deletions Samples/Accelerometer/cpp/Package.appxmanifest
Expand Up @@ -7,14 +7,14 @@
IgnorableNamespaces="uap mp">

<Identity
Name="Microsoft.SDKSamples.AccelerometerCPP.CPP"
Name="Microsoft.SDKSamples.Accelerometer.CPP"
Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US"
Version="1.0.0.0" />

<mp:PhoneIdentity PhoneProductId="ba8bd7eb-c330-4395-bac5-1dda93fe77a8" PhonePublisherId="00000000-0000-0000-0000-000000000000"/>

<Properties>
<DisplayName>AccelerometerCPP</DisplayName>
<DisplayName>Accelerometer C++ Sample</DisplayName>
<PublisherDisplayName>Microsoft Corporation</PublisherDisplayName>
<Logo>Assets\StoreLogo-sdk.png</Logo>
</Properties>
Expand All @@ -30,12 +30,12 @@
<Applications>
<Application Id="App"
Executable="$targetnametoken$.exe"
EntryPoint="AccelerometerCPP.App">
EntryPoint="Accelerometer.App">
<uap:VisualElements
DisplayName="AccelerometerCPP"
DisplayName="Accelerometer C++ Sample"
Square150x150Logo="Assets\squareTile-sdk.png"
Square44x44Logo="Assets\smallTile-sdk.png"
Description="AccelerometerCPP"
Description="Accelerometer C++ Sample"
BackgroundColor="#00B2F0">
<uap:SplashScreen Image="Assets\splash-sdk.png" />
<uap:DefaultTile>
Expand Down
19 changes: 12 additions & 7 deletions Samples/Accelerometer/cs/Accelerometer.csproj
Expand Up @@ -7,8 +7,8 @@
<ProjectGuid>{DC30CE66-DAEE-4CCF-BD02-8837FE918B6F}</ProjectGuid>
<OutputType>AppContainerExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>AccelerometerCS</RootNamespace>
<AssemblyName>AccelerometerCS</AssemblyName>
<RootNamespace>SDKTemplate</RootNamespace>
<AssemblyName>Accelerometer</AssemblyName>
<DefaultLanguage>en-US</DefaultLanguage>
<TargetPlatformIdentifier>UAP</TargetPlatformIdentifier>
<TargetPlatformVersion>10.0.10240.0</TargetPlatformVersion>
Expand Down Expand Up @@ -125,23 +125,28 @@
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Scenario1_DataEvents.xaml">
<Page Include="..\shared\Scenario1_DataEvents.xaml">
<Link>Scenario1_DataEvents.xaml</Link>
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Scenario2_ShakeEvents.xaml">
<Page Include="..\shared\Scenario2_ShakeEvents.xaml">
<Link>Scenario2_ShakeEvents.xaml</Link>
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Scenario3_Polling.xaml">
<Page Include="..\shared\Scenario3_Polling.xaml">
<Link>Scenario3_Polling.xaml</Link>
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Scenario4_OrientationChanged.xaml">
<Page Include="..\shared\Scenario4_OrientationChanged.xaml">
<Link>Scenario4_OrientationChanged.xaml</Link>
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Scenario5_DataEventsBatching.xaml">
<Page Include="..\shared\Scenario5_DataEventsBatching.xaml">
<Link>Scenario5_DataEventsBatching.xaml</Link>
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
Expand Down
10 changes: 5 additions & 5 deletions Samples/Accelerometer/cs/Package.appxmanifest
Expand Up @@ -7,15 +7,15 @@
IgnorableNamespaces="uap mp">

<Identity
Name="Microsoft.SDKSamples.AccelerometerCS.CS"
Name="Microsoft.SDKSamples.Accelerometer.CS"
Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US"
Version="1.0.0.0" />


<mp:PhoneIdentity PhoneProductId="3df6c60c-2c0b-4061-9e7b-3108ff8067e6" PhonePublisherId="00000000-0000-0000-0000-000000000000"/>

<Properties>
<DisplayName>AccelerometerCS</DisplayName>
<DisplayName>Accelerometer C# Sample</DisplayName>
<PublisherDisplayName>Microsoft Corporation</PublisherDisplayName>
<Logo>Assets\StoreLogo-sdk.png</Logo>
</Properties>
Expand All @@ -31,12 +31,12 @@
<Applications>
<Application Id="App"
Executable="$targetnametoken$.exe"
EntryPoint="AccelerometerCS.App">
EntryPoint="Accelerometer.App">
<uap:VisualElements
DisplayName="AccelerometerCS"
DisplayName="Accelerometer C# Sample"
Square150x150Logo="Assets\SquareTile-sdk.png"
Square44x44Logo="Assets\SmallTile-sdk.png"
Description="AccelerometerCS"
Description="Accelerometer C# Sample"
BackgroundColor="#00b2f0">
<uap:SplashScreen Image="Assets\Splash-sdk.png" />
<uap:DefaultTile>
Expand Down
13 changes: 6 additions & 7 deletions Samples/Accelerometer/cs/SampleConfiguration.cs
Expand Up @@ -12,21 +12,20 @@
using System;
using System.Collections.Generic;
using Windows.UI.Xaml.Controls;
using AccelerometerCS;

namespace SDKTemplate
{
public partial class MainPage : Page
{
public const string FEATURE_NAME = "AccelerometerCS";
public const string FEATURE_NAME = "Accelerometer";

List<Scenario> scenarios = new List<Scenario>
{
new Scenario() { Title = "Data events", ClassType = typeof(AccelerometerCS.Scenario1_DataEvents) },
new Scenario() { Title = "Shake events", ClassType = typeof(AccelerometerCS.Scenario2_ShakeEvents) },
new Scenario() { Title = "Polling", ClassType = typeof(AccelerometerCS.Scenario3_Polling) },
new Scenario() { Title = "OrientationChange", ClassType = typeof(AccelerometerCS.Scenario4_OrientationChanged) },
new Scenario() { Title = "Data events batching", ClassType = typeof(AccelerometerCS.Scenario5_DataEventsBatching)}
new Scenario() { Title = "Data events", ClassType = typeof(Scenario1_DataEvents) },
new Scenario() { Title = "Shake events", ClassType = typeof(Scenario2_ShakeEvents) },
new Scenario() { Title = "Polling", ClassType = typeof(Scenario3_Polling) },
new Scenario() { Title = "OrientationChange", ClassType = typeof(Scenario4_OrientationChanged) },
new Scenario() { Title = "Data events batching", ClassType = typeof(Scenario5_DataEventsBatching)}
};
}

Expand Down
40 changes: 0 additions & 40 deletions Samples/Accelerometer/cs/Scenario1_DataEvents.xaml

This file was deleted.

3 changes: 1 addition & 2 deletions Samples/Accelerometer/cs/Scenario1_DataEvents.xaml.cs
Expand Up @@ -12,14 +12,13 @@
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Navigation;
using SDKTemplate;
using System;
using Windows.Devices.Sensors;
using Windows.Foundation;
using System.Threading.Tasks;
using Windows.UI.Core;

namespace AccelerometerCS
namespace SDKTemplate
{
public sealed partial class Scenario1_DataEvents : Page
{
Expand Down
37 changes: 0 additions & 37 deletions Samples/Accelerometer/cs/Scenario2_ShakeEvents.xaml

This file was deleted.

0 comments on commit 2cdeb3d

Please sign in to comment.