Windows Phone samples: learn through code

Download Windows Phone code samples and demo apps. New samples are added frequently in JavaScript, C++, C#, and VB.NET.You can also download code samples for other products like Windows 8, Windows Azure, Office, SharePoint, Silverlight, or explore the Official Visual Studio 2010 C#, VB.NET, and 101 LINQ samples.

Each sample is licensed to you by the party distributing it. Microsoft does not guarantee the samples or grant rights for any sample distributed by a party other than Microsoft. Use of this site is subject to the Terms of Use.
Sort by: rss
743 results
Official Windows platform sample

Official Windows platform sample MSFT

Official Windows platform samples are developed and tested by the Windows platform team to ensure that you have a great experience.

View samples
- Microsoft
This sample demonstrates how to use the device camera to record video in your own app, including video preview, recording, and playback.
Featured
Official Windows platform sample

Official Windows platform sample MSFT

Official Windows platform samples are developed and tested by the Windows platform team to ensure that you have a great experience.

View samples
- Microsoft

This sample pack includes the app code examples developed and updated using one of the universal app templates available in Microsoft Visual Studio. Each solution of a universal app code example is structured so the code example can run on both Windows 8.1 and Windows Phone 8.1
(7)
Updated 4/2/2014
Released 4/2/2014
8,217 Downloads
Official Windows platform sample

Official Windows platform sample MSFT

Official Windows platform samples are developed and tested by the Windows platform team to ensure that you have a great experience.

View samples
- Microsoft
This sample pack includes all the app code examples developed and updated for Windows Phone 8.1, including app code examples created using any of the universal app templates available in Microsoft Visual Studio.
(2)
Updated 4/2/2014
Released 4/2/2014
3,067 Downloads
Official Windows platform sample

Official Windows platform sample MSFT

Official Windows platform samples are developed and tested by the Windows platform team to ensure that you have a great experience.

View samples
- Microsoft
This sample shows how to create, read, write, copy and delete a file, how to retrieve file properties, and how to track a file or folder so that your app can access it again. This sample uses Windows.Storage and Windows.Storage.AccessCache API.
(44)
Updated 4/2/2014
Released 9/14/2011
148,810 Downloads
Official Windows platform sample

Official Windows platform sample MSFT

Official Windows platform samples are developed and tested by the Windows platform team to ensure that you have a great experience.

View samples
- Microsoft
This sample shows you how to use LINQ to SQL to store relational data in a local database that resides in your app’s storage container.
(53)
Updated 5/4/2013
Released 8/1/2012
118,772 Downloads
Bing Voice Commands - Microsoft
MSDN Voice Search is a Store application for Windows Phone 8.1 and Windows Phone 8.0 written to demonstrate the new capabilities of Cortana-integrated Voice Commands on Windows Phone 8.1 as well as to provide examples of good practices when dealing with user input.
(3)
Updated 4/13/2014
Released 4/13/2014
717 Downloads
C#
Official Windows platform sample

Official Windows platform sample MSFT

Official Windows platform samples are developed and tested by the Windows platform team to ensure that you have a great experience.

View samples
- Microsoft
This sample shows how to imitate the splash screen that Windows displays for your app by positioning a similar image correctly when Windows dismisses the splash screen that it displays. This sample uses the SplashScreen class in the Windows.Applicati...
(53)
Updated 4/2/2014
Released 9/14/2011
163,675 Downloads
Official Windows platform sample

Official Windows platform sample MSFT

Official Windows platform samples are developed and tested by the Windows platform team to ensure that you have a great experience.

View samples
- Microsoft
The Geolocation sample demonstrates how to use the Windows.Devices.Geolocation namespace to get the geographic location of the user's device.
(23)
Updated 4/2/2014
Released 9/14/2011
61,965 Downloads
Dave A Gordon

1      Introduction
There are literally hundreds of Web Browsers available, so how come, there does not seem to be one single browser that meets all our needs? Well, I know that is true for me at least. This series of articles will show you how you can have the perfect web
b
COM, C#, AJAX
(2)
Updated 12/17/2013
Released 11/16/2013
14,700 Downloads
Ken Tucker
How to use SQLite with a Windows Phone 8 applicationTo build this sample you will need Visual Studio 2012 on a computer running Windows 8 professional x64.  The computer will also need to have a microsoprocessor that support SLAT (Second Layer Address Layer)DescriptionTo start wi
(4)
Updated 1/27/2014
Released 6/22/2013
6,399 Downloads
Official Windows platform sample

Official Windows platform sample MSFT

Official Windows platform samples are developed and tested by the Windows platform team to ensure that you have a great experience.

View samples
- Microsoft
This sample demonstrates the basic end-to-end implementation of a simple first person 3-D game using DirectX (Direct3D 11.1, Direct2D, XInput, and XAudio2) and XAML in a C++ app. XAML is used for the heads-up display and game state messages.
(16)
Updated 4/2/2014
Released 2/29/2012
33,447 Downloads
C++

Couldn't find the sample you were looking for?

1 - 10 of 743 Items