# 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.
## Universal Windows Platform development
These samples require Visual Studio 2015 and the Windows Software Development Kit (SDK) for Windows 10 to build, test, and deploy your Universal Windows apps.
[Get a free copy of Visual Studio 2015 Community Edition with support for building Universal Windows apps](http://go.microsoft.com/fwlink/?LinkID=280676)
Additionally, to stay on top of the latest updates to Windows and the development tools, become a Windows Insider by joining the Windows Insider Program.
[Become a Windows Insider](https://insider.windows.com/)
## Using the samples
The easiest way to use these samples without using Git is to download the zip file containing the current version (using the link below or by clicking the "Download ZIP" button on the repo page). You can then unzip the samples and use them in Visual Studio 2015.
[Download the samples ZIP](../../archive/master.zip)
The samples use Linked files in Visual Studio to reduce duplication of common files, including sample template files and image assets. These common files are stored in the SharedContent folder at the root of the repository and referred to in the project files using links.
For more info about the programming models, platforms, languages, and APIs demonstrated in these samples, please refer to the guidance, tutorials, and reference topics provided in the Windows 10 documentation available in the [Windows Developer Center](https://dev.windows.com). These samples are provided as-is in order to indicate or demonstrate the functionality of the programming models and feature APIs for Windows.
## Contributions
These samples are direct from the feature teams and we welcome your input on issues and suggestions for new samples. At this time we are not accepting new samples from the public, but check back here as we evolve our contribution model.
## Samples by category
<table>
<tr>
<th colspan="3" align="left">App settings</th>
</tr>
<tr>
<td><a href="Samples/Package">App package information</a></td>
<td><a href="Samples/ApplicationData">Application data</a></td>
</tr>
</table>
<table>
<tr>
<th colspan="3" align="left">Audio, video, and camera</th>
</tr>
<tr>
<td><a href="Samples/AdaptiveStreaming">Adaptive streaming</a></td>
<td><a href="Samples/AdvancedCasting">Advanced casting</a></td>
<td><a href="Samples/AudioCategory">Audio categories</a></td>
</tr>
<tr>
<td><a href="Samples/AudioCreation">Audio graphs</a></td>
<td><a href="Samples/BackgroundAudio">Background audio</a></td>
<td><a href="Samples/BasicMediaCasting">Basic media casting</a></td>
</tr>
<tr>
<td><a href="Samples/CameraFaceDetection">Camera face detection</a></td>
<td><a href="Samples/CameraGetPreviewFrame">Camera preview frame</a></td>
<td><a href="Samples/CameraHdr">High dynamic range</a></td>
</tr>
<tr>
<td><a href="Samples/CameraProfile">Camera profiles</a></td>
<td><a href="Samples/CameraStarterKit">Basic camera app</a></td>
<td><a href="Samples/CameraVideoStabilization">Video stabilization</a></td>
</tr>
<tr>
<td><a href="Samples/D2DPhotoAdjustment">Direct2D photo adjustment</a></td>
<td><a href="Samples/LiveDash">DASH streaming</a></td>
<td><a href="Samples/MediaEditing">Media editing</a></td>
</tr>
<tr>
<td><a href="Samples/XamlCustomMediaTransportControls">Media transport controls</a></td>
<td><a href="Samples/MIDI">MIDI</a></td>
<td><a href="Samples/BasicFaceDetection">Basic face detection</a></td>
</tr>
<tr>
<td><a href="Samples/BasicFaceTracking">Basic face tracking</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/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/WindowsAudioSession">Windows audio session (WASAPI)</a></td>
<td><a href="Samples/MediaImport">Windows media import</a></td>
</tr>
</table>
<table>
<tr>
<th colspan="3" align="left">Communications</th>
</tr>
<tr>
<td><a href="Samples/PhoneCall">Phone call</a></td>
<td><a href="Samples/SimpleCommunication">Real-time communication</a></td>
<td><a href="Samples/SmsSendAndReceive">SMS send and receive</a></td>
</tr>
<tr>
<td><a href="Samples/VoIP">Voice over IP (VoIP)</a></td>
</tr>
</table>
<table>
<tr>
<th colspan="3" align="left">Contacts and calendar</th>
</tr>
<tr>
<td><a href="Samples/Appointments">Appointment calendar</a></td>
<td><a href="Samples/UserDataAccountManager">UserDataAccountManager</a></td>
</tr>
</table>
<table>
<tr>
<th colspan="3" align="left">Controls, layout, and text</th>
</tr>
<tr>
<td><a href="Samples/XamlAutoSuggestBox">AutoSuggestBox migration</a></td>
<td><a href="Samples/Clipboard">Clipboard</a></td>
<td><a href="Samples/ContextMenu">Context menu</a></td>
</tr>
<tr>
<td><a href="Samples/XamlContextMenu">Context menu (XAML)</a></td>
<td><a href="Samples/DWriteTextLayoutCloudFont">Downloadable fonts (DirectWrite)</a></td>
<td><a href="Samples/DWriteLineSpacingModes">Line spacing (DirectWrite)</a></td>
</tr>
<tr>
<td><a href="Samples/XamlFocusVisuals">Focus visuals</a></td>
<td><a href="Samples/FullScreenMode">Full screen mode</a></td>
<td><a href="Samples/WebView">HTML WebView control</a></td>
</tr>
<tr>
<td><a href="Samples/XamlListView">ListView and GridView</a></td>
<td><a href="Samples/LockScreenApps">Lock screen apps</a></td>
<td><a href="Samples/MessageDialog">Message dialog</a></td>
</tr>
<tr>
<td><a href="Samples/MultipleViews">Multiple views</a></td>
<td><a href="Samples/OCR">OCR</a></td>
<td><a href="Samples/Printing">Printing</a></td>
</tr>
<tr>
<td><a href="Samples/XamlPullToRefresh">Pull to refresh</a></td>
<td><a href="Samples/ResizeAppView">Window resizing</a></td>
<td><a href="Samples/DpiScaling">Scaling according to DPI</a></td>
</tr>
<tr>
<td><a href="Samples/SplashScreen">Splash screen</a></td>
<td><a href="Samples/XamlStateTriggers">State triggers</a></td>
<td><a href="Samples/TitleBar">Title bar</a></td>
</tr>
<tr>
<td><a href="Samples/UserSelection">Disabling selection</a></td>
<td><a href="Samples/UserInteractionMode">User interaction mode</a></td>
<td><a href="Samples/XamlCommanding">Commanding</a></td>
</tr>
<tr>
<td><a href="Samples/XamlCloudFontIntegration">Downloadable fonts (XAML)</a></td>
<td><a href="Samples/XamlResponsiveTechniques">Responsiveness techniques</a></td>
<td><a href="Samples/XamlTailoredMultipleViews">Tailored multiple views</a></td>
</tr>
<tr>
<td><a href="Samples/XamlUIBasics">XAML UI basics</a></td>
</tr>
</table>
<table>
<tr>
<th colspan="3" align="left">Custom user interactions</th>
</tr>
<tr>
<td><a href="Samples/BasicInput">Basic input</a></td>
<td><a href="Samples/ComplexInk">Complex inking</a></td>
<td><a href="Samples/Ink">Inking</a></td>
</tr>
<tr>
<td><a href="Samples/LowLatencyInput">Low latency input</a></td>
<td><a href="Samples/SimpleInk">Simple inking</a></td>
</tr>
</table>
<table>
<tr>
<th colspan="3" align="left">Data</th>
</tr>
<tr>
<td><a href="Samples/Compression">Compression</a></td>
<td><a href="Samples/ContentIndexer">Content indexer</a></td>
<td><a href="Samples/HtmlFormValidation">HTML5 form validation</a></td>
</tr>
<tr>
<td><a href="Samples/IndexedDB">IndexedDB</a></td>
<td><a href="Samples/Logging">Logging<
评论3
最新资源