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
747 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 you can use photos in your Windows Phone app, including how to use the CameraCaptureTask to give the user the ability to take a photo, crop the image, encode the image into JPEG format, and save it to the device’s media library.
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
(8)
Updated 4/2/2014
Released 4/2/2014
9,225 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,464 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.
(45)
Updated 4/2/2014
Released 9/14/2011
149,112 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
914 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 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
119,051 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 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,887 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
62,127 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,893 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,475 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,559 Downloads
C++

Couldn't find the sample you were looking for?

1 - 10 of 747 Items