Skip to content

Commit 2cdeb3d

Browse files
committed
Windows 10 RTM Release - August 2015 Update 2
1 parent 4968d97 commit 2cdeb3d

File tree

455 files changed

+8485
-1508
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

455 files changed

+8485
-1508
lines changed

README.md

+15-8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
<!---
2+
samplefwlink: http://go.microsoft.com/fwlink/p/?LinkId=619979&clcid=0x409
3+
--->
4+
15
# Universal Windows app samples
26

37
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.
@@ -84,15 +88,16 @@ For additional Windows samples, see [Windows on GitHub](http://microsoft.github.
8488
</tr>
8589
<tr>
8690
<td><a href="Samples/BasicFaceTracking">Basic face tracking</a></td>
91+
<td><a href="Samples/Playlists">Playlists</a></td>
8792
<td><a href="Samples/SimpleImaging">Simple imaging</a></td>
88-
<td><a href="Samples/SpatialSound">Spatial audio</a></td>
8993
</tr>
9094
<tr>
95+
<td><a href="Samples/SpatialSound">Spatial audio</a></td>
9196
<td><a href="Samples/SystemMediaTransportControls">System media transport controls</a></td>
9297
<td><a href="Samples/MediaTranscoding">Transcoding media</a></td>
93-
<td><a href="Samples/VideoPlayback">Video playback</a></td>
9498
</tr>
9599
<tr>
100+
<td><a href="Samples/VideoPlayback">Video playback</a></td>
96101
<td><a href="Samples/WindowsAudioSession">Windows audio session (WASAPI)</a></td>
97102
<td><a href="Samples/MediaImport">Windows media import</a></td>
98103
</tr>
@@ -314,15 +319,16 @@ For additional Windows samples, see [Windows on GitHub](http://microsoft.github.
314319
</tr>
315320
<tr>
316321
<td><a href="Samples/ApplicationResources">Application resources and localization</a></td>
322+
<td><a href="Samples/DateTimeFormatting">Date and time formatting</a></td>
317323
<td><a href="Samples/JapanesePhoneticAnalysis">Japanese phonetic analysis</a></td>
318-
<td><a href="Samples/LanguageFont">Language font mapping</a></td>
319324
</tr>
320325
<tr>
326+
<td><a href="Samples/LanguageFont">Language font mapping</a></td>
321327
<td><a href="Samples/LinguisticServices">Linguistic services</a></td>
322328
<td><a href="Samples/NumberFormatting">Number formatting and parsing</a></td>
323-
<td><a href="Samples/TextSegmentation">Text segmentation</a></td>
324329
</tr>
325330
<tr>
331+
<td><a href="Samples/TextSegmentation">Text segmentation</a></td>
326332
<td><a href="Samples/TextSuggestion">Text suggestions</a></td>
327333
<td><a href="Samples/Unicode">Unicode string processing</a></td>
328334
</tr>
@@ -332,18 +338,19 @@ For additional Windows samples, see [Windows on GitHub](http://microsoft.github.
332338
<th colspan="3" align="left">Graphics and animation</th>
333339
</tr>
334340
<tr>
341+
<td><a href="Samples/XamlAnimatedGif">Animated GIF (XAML)</a></td>
342+
<td><a href="Samples/AnimationLibrary">Animation library (HTML)</a></td>
335343
<td><a href="Samples/AnimationMetrics">Animation metrics</a></td>
344+
</tr>
345+
<tr>
336346
<td><a href="Samples/D2DCustomEffects">Direct2D custom image effects</a></td>
337347
<td><a href="Samples/D2DGradientMesh">Direct2D gradient mesh</a></td>
348+
<td><a href="Samples/EfficientAnimations">Efficient animations (HTML)</a></td>
338349
</tr>
339350
<tr>
340-
<td><a href="Samples/AnimationLibrary">HTML animation library</a></td>
341351
<td><a href="Samples/XamlTransform3DAnimations">Transform3D animations</a></td>
342352
<td><a href="Samples/XamlTransform3DParallax">Transform3D parallax</a></td>
343353
</tr>
344-
<tr>
345-
<td><a href="Samples/EfficientAnimations">Efficient HTML animations</a></td>
346-
</tr>
347354
</table>
348355
<table>
349356
<tr>

Samples/Accelerometer/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<!---
22
category: DevicesSensorsAndPower
3+
samplefwlink: http://go.microsoft.com/fwlink/p/?LinkId=620477&clcid=0x409
34
--->
45

56
# Accelerometer sample

Samples/Accelerometer/cpp/Accelerometer.vcxproj

+15-15
Original file line numberDiff line numberDiff line change
@@ -146,19 +146,19 @@
146146
</ClInclude>
147147
<ClInclude Include="SampleConfiguration.h" />
148148
<ClInclude Include="Scenario1_DataEvents.xaml.h">
149-
<DependentUpon>Scenario1_DataEvents.xaml</DependentUpon>
149+
<DependentUpon>..\shared\Scenario1_DataEvents.xaml</DependentUpon>
150150
</ClInclude>
151151
<ClInclude Include="Scenario2_ShakeEvents.xaml.h">
152-
<DependentUpon>Scenario2_ShakeEvents.xaml</DependentUpon>
152+
<DependentUpon>..\shared\Scenario2_ShakeEvents.xaml</DependentUpon>
153153
</ClInclude>
154154
<ClInclude Include="Scenario3_Polling.xaml.h">
155-
<DependentUpon>Scenario3_Polling.xaml</DependentUpon>
155+
<DependentUpon>..\shared\Scenario3_Polling.xaml</DependentUpon>
156156
</ClInclude>
157157
<ClInclude Include="Scenario4_OrientationChanged.xaml.h">
158-
<DependentUpon>Scenario4_OrientationChanged.xaml</DependentUpon>
158+
<DependentUpon>..\shared\Scenario4_OrientationChanged.xaml</DependentUpon>
159159
</ClInclude>
160160
<ClInclude Include="Scenario5_DataEventsBatching.xaml.h">
161-
<DependentUpon>Scenario5_DataEventsBatching.xaml</DependentUpon>
161+
<DependentUpon>..\shared\Scenario5_DataEventsBatching.xaml</DependentUpon>
162162
</ClInclude>
163163
</ItemGroup>
164164
<ItemGroup>
@@ -168,11 +168,11 @@
168168
<Page Include="..\..\..\SharedContent\cpp\MainPage.xaml">
169169
<SubType>Designer</SubType>
170170
</Page>
171-
<Page Include="Scenario1_DataEvents.xaml" />
172-
<Page Include="Scenario2_ShakeEvents.xaml" />
173-
<Page Include="Scenario3_Polling.xaml" />
174-
<Page Include="Scenario4_OrientationChanged.xaml" />
175-
<Page Include="Scenario5_DataEventsBatching.xaml" />
171+
<Page Include="..\shared\Scenario1_DataEvents.xaml" />
172+
<Page Include="..\shared\Scenario2_ShakeEvents.xaml" />
173+
<Page Include="..\shared\Scenario3_Polling.xaml" />
174+
<Page Include="..\shared\Scenario4_OrientationChanged.xaml" />
175+
<Page Include="..\shared\Scenario5_DataEventsBatching.xaml" />
176176
<Page Include="..\..\..\SharedContent\xaml\Styles.xaml">
177177
<Link>Styles\Styles.xaml</Link>
178178
</Page>
@@ -199,19 +199,19 @@
199199
</ClCompile>
200200
<ClCompile Include="SampleConfiguration.cpp" />
201201
<ClCompile Include="Scenario1_DataEvents.xaml.cpp">
202-
<DependentUpon>Scenario1_DataEvents.xaml</DependentUpon>
202+
<DependentUpon>..\shared\Scenario1_DataEvents.xaml</DependentUpon>
203203
</ClCompile>
204204
<ClCompile Include="Scenario2_ShakeEvents.xaml.cpp">
205-
<DependentUpon>Scenario2_ShakeEvents.xaml</DependentUpon>
205+
<DependentUpon>..\shared\Scenario2_ShakeEvents.xaml</DependentUpon>
206206
</ClCompile>
207207
<ClCompile Include="Scenario3_Polling.xaml.cpp">
208-
<DependentUpon>Scenario3_Polling.xaml</DependentUpon>
208+
<DependentUpon>..\shared\Scenario3_Polling.xaml</DependentUpon>
209209
</ClCompile>
210210
<ClCompile Include="Scenario4_OrientationChanged.xaml.cpp">
211-
<DependentUpon>Scenario4_OrientationChanged.xaml</DependentUpon>
211+
<DependentUpon>..\shared\Scenario4_OrientationChanged.xaml</DependentUpon>
212212
</ClCompile>
213213
<ClCompile Include="Scenario5_DataEventsBatching.xaml.cpp">
214-
<DependentUpon>Scenario5_DataEventsBatching.xaml</DependentUpon>
214+
<DependentUpon>..\shared\Scenario5_DataEventsBatching.xaml</DependentUpon>
215215
</ClCompile>
216216
</ItemGroup>
217217
<ItemGroup>

Samples/Accelerometer/cpp/Accelerometer.vcxproj.filters

+5-5
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@
5353
</ItemGroup>
5454
<ItemGroup>
5555
<Page Include="..\..\..\SharedContent\cpp\MainPage.xaml" />
56-
<Page Include="Scenario1_DataEvents.xaml" />
57-
<Page Include="Scenario2_ShakeEvents.xaml" />
58-
<Page Include="Scenario3_Polling.xaml" />
59-
<Page Include="Scenario4_OrientationChanged.xaml" />
60-
<Page Include="Scenario5_DataEventsBatching.xaml" />
56+
<Page Include="..\shared\Scenario1_DataEvents.xaml" />
57+
<Page Include="..\shared\Scenario2_ShakeEvents.xaml" />
58+
<Page Include="..\shared\Scenario3_Polling.xaml" />
59+
<Page Include="..\shared\Scenario4_OrientationChanged.xaml" />
60+
<Page Include="..\shared\Scenario5_DataEventsBatching.xaml" />
6161
<Page Include="..\..\..\SharedContent\xaml\Styles.xaml">
6262
<Filter>Styles</Filter>
6363
</Page>

Samples/Accelerometer/cpp/Package.appxmanifest

+5-5
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
IgnorableNamespaces="uap mp">
88

99
<Identity
10-
Name="Microsoft.SDKSamples.AccelerometerCPP.CPP"
10+
Name="Microsoft.SDKSamples.Accelerometer.CPP"
1111
Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US"
1212
Version="1.0.0.0" />
1313

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

1616
<Properties>
17-
<DisplayName>AccelerometerCPP</DisplayName>
17+
<DisplayName>Accelerometer C++ Sample</DisplayName>
1818
<PublisherDisplayName>Microsoft Corporation</PublisherDisplayName>
1919
<Logo>Assets\StoreLogo-sdk.png</Logo>
2020
</Properties>
@@ -30,12 +30,12 @@
3030
<Applications>
3131
<Application Id="App"
3232
Executable="$targetnametoken$.exe"
33-
EntryPoint="AccelerometerCPP.App">
33+
EntryPoint="Accelerometer.App">
3434
<uap:VisualElements
35-
DisplayName="AccelerometerCPP"
35+
DisplayName="Accelerometer C++ Sample"
3636
Square150x150Logo="Assets\squareTile-sdk.png"
3737
Square44x44Logo="Assets\smallTile-sdk.png"
38-
Description="AccelerometerCPP"
38+
Description="Accelerometer C++ Sample"
3939
BackgroundColor="#00B2F0">
4040
<uap:SplashScreen Image="Assets\splash-sdk.png" />
4141
<uap:DefaultTile>

Samples/Accelerometer/cs/Accelerometer.csproj

+12-7
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
<ProjectGuid>{DC30CE66-DAEE-4CCF-BD02-8837FE918B6F}</ProjectGuid>
88
<OutputType>AppContainerExe</OutputType>
99
<AppDesignerFolder>Properties</AppDesignerFolder>
10-
<RootNamespace>AccelerometerCS</RootNamespace>
11-
<AssemblyName>AccelerometerCS</AssemblyName>
10+
<RootNamespace>SDKTemplate</RootNamespace>
11+
<AssemblyName>Accelerometer</AssemblyName>
1212
<DefaultLanguage>en-US</DefaultLanguage>
1313
<TargetPlatformIdentifier>UAP</TargetPlatformIdentifier>
1414
<TargetPlatformVersion>10.0.10240.0</TargetPlatformVersion>
@@ -125,23 +125,28 @@
125125
<Generator>MSBuild:Compile</Generator>
126126
<SubType>Designer</SubType>
127127
</Page>
128-
<Page Include="Scenario1_DataEvents.xaml">
128+
<Page Include="..\shared\Scenario1_DataEvents.xaml">
129+
<Link>Scenario1_DataEvents.xaml</Link>
129130
<Generator>MSBuild:Compile</Generator>
130131
<SubType>Designer</SubType>
131132
</Page>
132-
<Page Include="Scenario2_ShakeEvents.xaml">
133+
<Page Include="..\shared\Scenario2_ShakeEvents.xaml">
134+
<Link>Scenario2_ShakeEvents.xaml</Link>
133135
<Generator>MSBuild:Compile</Generator>
134136
<SubType>Designer</SubType>
135137
</Page>
136-
<Page Include="Scenario3_Polling.xaml">
138+
<Page Include="..\shared\Scenario3_Polling.xaml">
139+
<Link>Scenario3_Polling.xaml</Link>
137140
<Generator>MSBuild:Compile</Generator>
138141
<SubType>Designer</SubType>
139142
</Page>
140-
<Page Include="Scenario4_OrientationChanged.xaml">
143+
<Page Include="..\shared\Scenario4_OrientationChanged.xaml">
144+
<Link>Scenario4_OrientationChanged.xaml</Link>
141145
<Generator>MSBuild:Compile</Generator>
142146
<SubType>Designer</SubType>
143147
</Page>
144-
<Page Include="Scenario5_DataEventsBatching.xaml">
148+
<Page Include="..\shared\Scenario5_DataEventsBatching.xaml">
149+
<Link>Scenario5_DataEventsBatching.xaml</Link>
145150
<Generator>MSBuild:Compile</Generator>
146151
<SubType>Designer</SubType>
147152
</Page>

Samples/Accelerometer/cs/Package.appxmanifest

+5-5
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77
IgnorableNamespaces="uap mp">
88

99
<Identity
10-
Name="Microsoft.SDKSamples.AccelerometerCS.CS"
10+
Name="Microsoft.SDKSamples.Accelerometer.CS"
1111
Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US"
1212
Version="1.0.0.0" />
1313

1414

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

1717
<Properties>
18-
<DisplayName>AccelerometerCS</DisplayName>
18+
<DisplayName>Accelerometer C# Sample</DisplayName>
1919
<PublisherDisplayName>Microsoft Corporation</PublisherDisplayName>
2020
<Logo>Assets\StoreLogo-sdk.png</Logo>
2121
</Properties>
@@ -31,12 +31,12 @@
3131
<Applications>
3232
<Application Id="App"
3333
Executable="$targetnametoken$.exe"
34-
EntryPoint="AccelerometerCS.App">
34+
EntryPoint="Accelerometer.App">
3535
<uap:VisualElements
36-
DisplayName="AccelerometerCS"
36+
DisplayName="Accelerometer C# Sample"
3737
Square150x150Logo="Assets\SquareTile-sdk.png"
3838
Square44x44Logo="Assets\SmallTile-sdk.png"
39-
Description="AccelerometerCS"
39+
Description="Accelerometer C# Sample"
4040
BackgroundColor="#00b2f0">
4141
<uap:SplashScreen Image="Assets\Splash-sdk.png" />
4242
<uap:DefaultTile>

Samples/Accelerometer/cs/SampleConfiguration.cs

+6-7
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,20 @@
1212
using System;
1313
using System.Collections.Generic;
1414
using Windows.UI.Xaml.Controls;
15-
using AccelerometerCS;
1615

1716
namespace SDKTemplate
1817
{
1918
public partial class MainPage : Page
2019
{
21-
public const string FEATURE_NAME = "AccelerometerCS";
20+
public const string FEATURE_NAME = "Accelerometer";
2221

2322
List<Scenario> scenarios = new List<Scenario>
2423
{
25-
new Scenario() { Title = "Data events", ClassType = typeof(AccelerometerCS.Scenario1_DataEvents) },
26-
new Scenario() { Title = "Shake events", ClassType = typeof(AccelerometerCS.Scenario2_ShakeEvents) },
27-
new Scenario() { Title = "Polling", ClassType = typeof(AccelerometerCS.Scenario3_Polling) },
28-
new Scenario() { Title = "OrientationChange", ClassType = typeof(AccelerometerCS.Scenario4_OrientationChanged) },
29-
new Scenario() { Title = "Data events batching", ClassType = typeof(AccelerometerCS.Scenario5_DataEventsBatching)}
24+
new Scenario() { Title = "Data events", ClassType = typeof(Scenario1_DataEvents) },
25+
new Scenario() { Title = "Shake events", ClassType = typeof(Scenario2_ShakeEvents) },
26+
new Scenario() { Title = "Polling", ClassType = typeof(Scenario3_Polling) },
27+
new Scenario() { Title = "OrientationChange", ClassType = typeof(Scenario4_OrientationChanged) },
28+
new Scenario() { Title = "Data events batching", ClassType = typeof(Scenario5_DataEventsBatching)}
3029
};
3130
}
3231

Samples/Accelerometer/cs/Scenario1_DataEvents.xaml

-40
This file was deleted.

Samples/Accelerometer/cs/Scenario1_DataEvents.xaml.cs

+1-2
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,13 @@
1212
using Windows.UI.Xaml;
1313
using Windows.UI.Xaml.Controls;
1414
using Windows.UI.Xaml.Navigation;
15-
using SDKTemplate;
1615
using System;
1716
using Windows.Devices.Sensors;
1817
using Windows.Foundation;
1918
using System.Threading.Tasks;
2019
using Windows.UI.Core;
2120

22-
namespace AccelerometerCS
21+
namespace SDKTemplate
2322
{
2423
public sealed partial class Scenario1_DataEvents : Page
2524
{

Samples/Accelerometer/cs/Scenario2_ShakeEvents.xaml

-37
This file was deleted.

0 commit comments

Comments
 (0)