Skip to content

Commit ec9437f

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

File tree

234 files changed

+6805
-282
lines changed

Some content is hidden

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

234 files changed

+6805
-282
lines changed

README.md

+13-8
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,10 @@ For additional Windows samples, see [Windows on GitHub](http://microsoft.github.
121121
</tr>
122122
<tr>
123123
<td><a href="Samples/Appointments">Appointment calendar</a></td>
124+
<td><a href="Samples/ContactCards">Contact cards</a></td>
125+
<td><a href="Samples/ContactPicker">Contact picker</a></td>
126+
</tr>
127+
<tr>
124128
<td><a href="Samples/UserDataAccountManager">UserDataAccountManager</a></td>
125129
</tr>
126130
</table>
@@ -135,45 +139,46 @@ For additional Windows samples, see [Windows on GitHub](http://microsoft.github.
135139
</tr>
136140
<tr>
137141
<td><a href="Samples/XamlContextMenu">Context menu (XAML)</a></td>
142+
<td><a href="Samples/DisplayOrientation">Display orientation</a></td>
138143
<td><a href="Samples/DWriteTextLayoutCloudFont">Downloadable fonts (DirectWrite)</a></td>
139-
<td><a href="Samples/XamlDragAndDrop">Drag and drop</a></td>
140144
</tr>
141145
<tr>
146+
<td><a href="Samples/XamlDragAndDrop">Drag and drop</a></td>
142147
<td><a href="Samples/DWriteLineSpacingModes">Line spacing (DirectWrite)</a></td>
143148
<td><a href="Samples/XamlFocusVisuals">Focus visuals</a></td>
144-
<td><a href="Samples/FullScreenMode">Full screen mode</a></td>
145149
</tr>
146150
<tr>
151+
<td><a href="Samples/FullScreenMode">Full screen mode</a></td>
147152
<td><a href="Samples/WebView">HTML WebView control</a></td>
148153
<td><a href="Samples/XamlListView">ListView and GridView</a></td>
149-
<td><a href="Samples/LockScreenApps">Lock screen apps</a></td>
150154
</tr>
151155
<tr>
156+
<td><a href="Samples/LockScreenApps">Lock screen apps</a></td>
152157
<td><a href="Samples/MessageDialog">Message dialog</a></td>
153158
<td><a href="Samples/MultipleViews">Multiple views</a></td>
154-
<td><a href="Samples/OCR">OCR</a></td>
155159
</tr>
156160
<tr>
161+
<td><a href="Samples/OCR">OCR</a></td>
157162
<td><a href="Samples/Printing">Printing</a></td>
158163
<td><a href="Samples/XamlPullToRefresh">Pull to refresh</a></td>
159-
<td><a href="Samples/ResizeAppView">Window resizing</a></td>
160164
</tr>
161165
<tr>
166+
<td><a href="Samples/ResizeAppView">Window resizing</a></td>
162167
<td><a href="Samples/DpiScaling">Scaling according to DPI</a></td>
163168
<td><a href="Samples/SplashScreen">Splash screen</a></td>
164-
<td><a href="Samples/XamlStateTriggers">State triggers</a></td>
165169
</tr>
166170
<tr>
171+
<td><a href="Samples/XamlStateTriggers">State triggers</a></td>
167172
<td><a href="Samples/TitleBar">Title bar</a></td>
168173
<td><a href="Samples/UserSelection">Disabling selection</a></td>
169-
<td><a href="Samples/UserInteractionMode">User interaction mode</a></td>
170174
</tr>
171175
<tr>
176+
<td><a href="Samples/UserInteractionMode">User interaction mode</a></td>
172177
<td><a href="Samples/XamlCommanding">Commanding</a></td>
173178
<td><a href="Samples/XamlCloudFontIntegration">Downloadable fonts (XAML)</a></td>
174-
<td><a href="Samples/XamlResponsiveTechniques">Responsiveness techniques</a></td>
175179
</tr>
176180
<tr>
181+
<td><a href="Samples/XamlResponsiveTechniques">Responsiveness techniques</a></td>
177182
<td><a href="Samples/XamlTailoredMultipleViews">Tailored multiple views</a></td>
178183
<td><a href="Samples/XamlUIBasics">XAML UI basics</a></td>
179184
</tr>

Samples/Accelerometer/README.md

+12-6
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
# Accelerometer sample
77

8-
This sample shows how to use the [**Accelerometer**](http://msdn.microsoft.com/library/windows/apps/br225687) API.
8+
This sample shows how to use the [**Accelerometer**](http://msdn.microsoft.com/library/windows/apps/br225687) class.
99

1010
This sample allows the user to view the acceleration forces along the X-, Y-, and Z-axes for a 3-axis accelerometer. You can choose one of four scenarios:
1111

@@ -15,7 +15,7 @@ This sample allows the user to view the acceleration forces along the X-, Y-, an
1515
- Accelerometer orientation changed
1616
- Accelerometer data events batching
1717

18-
### Acclerometer Data Events
18+
### Accelerometer Data Events
1919

2020
When you choose the **Enable** button for the **Data Events** option, the app begins streaming accelerometer readings in real time.
2121

@@ -31,19 +31,25 @@ When you choose the **Enable** button for the **Polling** option, the app will r
3131

3232
When you choose the **Enable** button for the **OrientationChange** option, the app will display both raw sensor readings, as well as sensor readings that align with the current display orientation.
3333

34-
### Accelerometer data events batching**
34+
### Accelerometer data events batching
3535

3636
When you choose the **Enable** button for the **Data Events** option, the app begins streaming accelerometer readings. The readings may be delivered in batches if the device supports data batching.
3737

3838
## Related topics
3939

40-
[**Accelerometer.GetCurrentReading method**](http://msdn.microsoft.com/library/windows/apps/br225699)
40+
### Samples
4141

42-
[**Accelerometer.ReadingChanged event handler**](http://msdn.microsoft.com/library/windows/apps/br225702)
42+
[**Display orientation** sample](../DisplayOrientation)
43+
44+
### Reference
45+
46+
[**Accelerometer.GetCurrentReading** method](http://msdn.microsoft.com/library/windows/apps/br225699)
47+
48+
[**Accelerometer.ReadingChanged** event handler](http://msdn.microsoft.com/library/windows/apps/br225702)
4349

4450
[Quickstart: Responding to user movement with the accelerometer](http://msdn.microsoft.com/library/windows/apps/hh465265)
4551

46-
[Windows.Devices.Sensors namespace](http://go.microsoft.com/fwlink/p/?linkid=241981)
52+
[**Windows.Devices.Sensors** namespace](http://go.microsoft.com/fwlink/p/?linkid=241981)
4753

4854
## System requirements
4955

Samples/Appointments/cs/Package.appxmanifest

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
</Properties>
1010
<Dependencies>
1111
<TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.10240.0" MaxVersionTested="10.0.10240.0" />
12-
<PackageDependency Name="Microsoft.NET.Native.RunTime.1.0" MinVersion="1.0.0.0" Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" />
1312
</Dependencies>
1413
<Resources>
1514
<Resource Language="x-generate" />

Samples/AssociationLaunching/cs/Package.appxmanifest

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
</Properties>
1010
<Dependencies>
1111
<TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.10240.0" MaxVersionTested="10.0.10240.0" />
12-
<PackageDependency Name="Microsoft.NET.Native.RunTime.1.0" MinVersion="1.0.0.0" Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" />
1312
</Dependencies>
1413
<Resources>
1514
<Resource Language="x-generate" />

Samples/BackButton/cs/SystemBack.csproj

+3
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,9 @@
157157
<Link>Assets\windows-sdk.png</Link>
158158
</Content>
159159
</ItemGroup>
160+
<ItemGroup>
161+
<None Include="project.json" />
162+
</ItemGroup>
160163
<PropertyGroup Condition=" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' &lt; '14.0' ">
161164
<VisualStudioVersion>14.0</VisualStudioVersion>
162165
</PropertyGroup>

Samples/BackButton/cs/project.json

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"dependencies": {
3+
"Microsoft.NETCore.UniversalWindowsPlatform": "5.0.0"
4+
},
5+
"frameworks": {
6+
"uap10.0": {}
7+
},
8+
"runtimes": {
9+
"win10-arm": {},
10+
"win10-arm-aot": {},
11+
"win10-x86": {},
12+
"win10-x86-aot": {},
13+
"win10-x64": {},
14+
"win10-x64-aot": {}
15+
}
16+
}

Samples/BackgroundTask/cs/BackgroundTask/SampleConfiguration.cs

+6-7
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
using Windows.UI.Xaml.Controls;
1616
using Windows.ApplicationModel.Background;
1717
using Windows.Storage;
18-
using BackgroundTask;
1918

2019
namespace SDKTemplate
2120
{
@@ -25,11 +24,11 @@ public partial class MainPage : Page
2524

2625
List<Scenario> scenarios = new List<Scenario>
2726
{
28-
new Scenario() { Title="Background Task", ClassType=typeof(BackgroundTask.SampleBackgroundTask)},
29-
new Scenario() { Title="Background Task with Condition", ClassType=typeof(BackgroundTask.SampleBackgroundTaskWithCondition)},
30-
new Scenario() { Title="Servicing Complete Task", ClassType=typeof(BackgroundTask.ServicingCompleteTask)},
31-
new Scenario() { Title="Background Task with Time Trigger", ClassType=typeof(BackgroundTask.TimeTriggeredTask) },
32-
new Scenario() { Title="Background Task with Application Trigger", ClassType=typeof(BackgroundTask.ApplicationTriggerTask) }
27+
new Scenario() { Title="Background Task", ClassType=typeof(SampleBackgroundTask)},
28+
new Scenario() { Title="Background Task with Condition", ClassType=typeof(SampleBackgroundTaskWithCondition)},
29+
new Scenario() { Title="Servicing Complete Task", ClassType=typeof(ServicingCompleteTask)},
30+
new Scenario() { Title="Background Task with Time Trigger", ClassType=typeof(TimeTriggeredTask) },
31+
new Scenario() { Title="Background Task with Application Trigger", ClassType=typeof(ApplicationTriggerTask) }
3332
};
3433
}
3534

@@ -40,7 +39,7 @@ public class Scenario
4039
}
4140
}
4241

43-
namespace BackgroundTask
42+
namespace SDKTemplate
4443
{
4544
class BackgroundTaskSample
4645
{

Samples/BackgroundTask/cs/BackgroundTask/Scenario1_SampleBackgroundTask.xaml.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
// The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=234238
2222

23-
namespace BackgroundTask
23+
namespace SDKTemplate
2424
{
2525
/// <summary>
2626
/// An empty page that can be used on its own or navigated to within a Frame.

Samples/BackgroundTask/cs/BackgroundTask/Scenario2_SampleBackgroundTaskWithCondition.xaml.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
// The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=234238
2323

24-
namespace BackgroundTask
24+
namespace SDKTemplate
2525
{
2626
/// <summary>
2727
/// An empty page that can be used on its own or navigated to within a Frame.

Samples/BackgroundTask/cs/BackgroundTask/Scenario3_ServicingCompleteTask.xaml.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
// The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=234238
2222

23-
namespace BackgroundTask
23+
namespace SDKTemplate
2424
{
2525
/// <summary>
2626
/// An empty page that can be used on its own or navigated to within a Frame.

Samples/BackgroundTask/cs/BackgroundTask/Scenario4_TimeTriggeredTask.xaml.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
// The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=234238
2222

23-
namespace BackgroundTask
23+
namespace SDKTemplate
2424
{
2525
/// <summary>
2626
/// An empty page that can be used on its own or navigated to within a Frame.

Samples/BackgroundTask/cs/BackgroundTask/Scenario5_ApplicationTriggerTask.xaml.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
// The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=234238
2222

23-
namespace BackgroundTask
23+
namespace SDKTemplate
2424
{
2525
/// <summary>
2626
/// An empty page that can be used on its own or navigated to within a Frame.

Samples/ContactCards/README.md

+81
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
<!---
2+
category: ContactsAndCalendar
3+
--->
4+
5+
# Contact cards sample
6+
7+
This sample shows how to show contact cards using methods of the
8+
[**ContactManager**](https://msdn.microsoft.com/en-us/library/windows/apps/windows.applicationmodel.contacts.contactmanager.aspx)
9+
class.
10+
11+
This sample has three scenarios.
12+
13+
- **Show mini contact card**
14+
15+
Mini contact cards appear as a pop-up window inside the app.
16+
Apps provide an anchor rectangle around which the mini card will be displayed
17+
and can provide a suggested position of the mini contact card relative to the anchor rectangle.
18+
The [**ShowContactCard**](https://msdn.microsoft.com/en-us/library/windows/apps/windows.applicationmodel.contacts.contactmanager.showcontactcard.aspx)
19+
method displays a mini contact card.
20+
21+
- **Show mini contact card with delay loaded-data**
22+
23+
Display the mini contact card immediately
24+
while the app obtains additional information about the contact in the background.
25+
The card is updated when the additional information is available.
26+
The [**ShowDelayLoadedContactCard**](https://msdn.microsoft.com/en-us/library/windows/apps/windows.applicationmodel.contacts.contactmanager.showdelayloadedcontactcard.aspx)
27+
method displays a delay loaded mini contact card.
28+
29+
- **Show full contact card**
30+
31+
Full contact cards appear as a separate window.
32+
The [**ShowFullContactCard**](https://msdn.microsoft.com/en-us/library/windows/apps/windows.applicationmodel.contacts.contactmanager.showfullcontactcard.aspx)
33+
method displays a full contact card.
34+
35+
Not all devices support mini contact cards.
36+
The samples also demonstrate how to detect support for mini contact cards.
37+
38+
**Note** The Universal Windows app samples require Visual Studio 2015 to build and Windows 10 to execute.
39+
40+
To obtain information about Windows 10, go to [Windows 10](http://go.microsoft.com/fwlink/?LinkID=532421)
41+
42+
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
43+
44+
## Related topics
45+
46+
### Reference
47+
48+
[**Contact**](http://msdn.microsoft.com/library/windows/apps/br224849)
49+
50+
[**ContactCardDelayedDataLoader**](http://msdn.microsoft.com/library/windows/apps/dn297400)
51+
52+
[**Windows.ApplicationModel.Contacts**](http://msdn.microsoft.com/library/windows/apps/br225002)
53+
54+
[**Windows.ApplicationModel.Contacts.Provider**](http://msdn.microsoft.com/library/windows/apps/br225014)
55+
56+
## System requirements
57+
58+
**Client:** Windows 10
59+
60+
**Server:** Windows Server 2016 Technical Preview
61+
62+
**Phone:** Windows 10 (full contact cards only)
63+
64+
## Build the sample
65+
66+
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
67+
2. Start Microsoft Visual Studio 2015 and select **File** \> **Open** \> **Project/Solution**.
68+
3. Starting in the folder where you unzipped the samples, go to the Samples subfolder, then the subfolder for this specific sample, then the subfolder for your preferred language (C++, C#, or JavaScript). Double-click the Visual Studio 2015 Solution (.sln) file.
69+
4. Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
70+
71+
## Run the sample
72+
73+
The next steps depend on whether you just want to deploy the sample or you want to both deploy and run it.
74+
75+
### Deploying the sample
76+
77+
- Select Build > Deploy Solution.
78+
79+
### Deploying and running the sample
80+
81+
- To debug the sample and then run it, press F5 or select Debug > Start Debugging. To run the sample without debugging, press Ctrl+F5 or select Debug > Start Without Debugging.
+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio 14
4+
VisualStudioVersion = 14.0.22823.1
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ContactCards", "ContactCards.vcxproj", "{F710B9FD-4E6B-42D7-A99A-6D48888D48B0}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|ARM = Debug|ARM
11+
Debug|x64 = Debug|x64
12+
Debug|x86 = Debug|x86
13+
Release|ARM = Release|ARM
14+
Release|x64 = Release|x64
15+
Release|x86 = Release|x86
16+
EndGlobalSection
17+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
18+
{F710B9FD-4E6B-42D7-A99A-6D48888D48B0}.Debug|ARM.ActiveCfg = Debug|ARM
19+
{F710B9FD-4E6B-42D7-A99A-6D48888D48B0}.Debug|ARM.Build.0 = Debug|ARM
20+
{F710B9FD-4E6B-42D7-A99A-6D48888D48B0}.Debug|ARM.Deploy.0 = Debug|ARM
21+
{F710B9FD-4E6B-42D7-A99A-6D48888D48B0}.Debug|x64.ActiveCfg = Debug|x64
22+
{F710B9FD-4E6B-42D7-A99A-6D48888D48B0}.Debug|x64.Build.0 = Debug|x64
23+
{F710B9FD-4E6B-42D7-A99A-6D48888D48B0}.Debug|x64.Deploy.0 = Debug|x64
24+
{F710B9FD-4E6B-42D7-A99A-6D48888D48B0}.Debug|x86.ActiveCfg = Debug|Win32
25+
{F710B9FD-4E6B-42D7-A99A-6D48888D48B0}.Debug|x86.Build.0 = Debug|Win32
26+
{F710B9FD-4E6B-42D7-A99A-6D48888D48B0}.Debug|x86.Deploy.0 = Debug|Win32
27+
{F710B9FD-4E6B-42D7-A99A-6D48888D48B0}.Release|ARM.ActiveCfg = Release|ARM
28+
{F710B9FD-4E6B-42D7-A99A-6D48888D48B0}.Release|ARM.Build.0 = Release|ARM
29+
{F710B9FD-4E6B-42D7-A99A-6D48888D48B0}.Release|ARM.Deploy.0 = Release|ARM
30+
{F710B9FD-4E6B-42D7-A99A-6D48888D48B0}.Release|x64.ActiveCfg = Release|x64
31+
{F710B9FD-4E6B-42D7-A99A-6D48888D48B0}.Release|x64.Build.0 = Release|x64
32+
{F710B9FD-4E6B-42D7-A99A-6D48888D48B0}.Release|x64.Deploy.0 = Release|x64
33+
{F710B9FD-4E6B-42D7-A99A-6D48888D48B0}.Release|x86.ActiveCfg = Release|Win32
34+
{F710B9FD-4E6B-42D7-A99A-6D48888D48B0}.Release|x86.Build.0 = Release|Win32
35+
{F710B9FD-4E6B-42D7-A99A-6D48888D48B0}.Release|x86.Deploy.0 = Release|Win32
36+
EndGlobalSection
37+
GlobalSection(SolutionProperties) = preSolution
38+
HideSolutionNode = FALSE
39+
EndGlobalSection
40+
EndGlobal

0 commit comments

Comments
 (0)