Please find below a list of links to sample code, found freely on the web that are relevant to Windows Phone 7. This list also includes samples that are generic to Silverlight or XNA but can apply to the Phone owing to shared technology.
Accelerometer; Simulating accelerometer data in the Windows Phone 7 Emulator
http://blogs.silverarcade.com/silverlight-games-101/27/silverlight-simulating-accelerometer-data-in-the-windows-phone-7-emulator/
Animation; Ptorr Slides, Video and Code (Page Turn animation etc.)
http://blogs.msdn.com/ptorr/archive/2010/03/18/slides-video-and-code.aspx
Audio; Audio Recording in WP7
http://mobileworld.appamundi.com/blogs/peterfoot/archive/2010/03/26/audio-recording-in-wp7.aspx
Comms; Accessing WCF Data Services from WP7 CTP
http://blogs.msdn.com/priozersk/archive/2010/03/19/accessing-wcf-data-services-from-wp7-ctp.aspx
Comms; Calling Web Services with Silverlight 2 (general example)
http://timheuer.com/blog/archive/2008/03/14/calling-web-services-with-silverlight-2.aspx
DB; Siaqodb on WindowsPhone7 (a local object database)
http://siaqodb.com/?p=202
External; Sample image encoders, decoders (png, gif, bmp)
http://blogs.msdn.com/jstegman/archive/2008/10/30/updated-source-for-image-samples.aspx
Foursquare; Foursquare for Windows Phone 7
http://4square.codeplex.com/
Games; Physics Games in Silverlight on Windows Phone 7
http://www.andybeaulieu.com/Home/tabid/67/EntryID/194/Default.aspx
General; Africangeek.com: A collection of WP7 samples (navigate, WCF, Blend)
http://www.africangeek.com/
General; MSDN; Code Samples for Windows Phone
http://msdn.microsoft.com/en-us/library/ff431744(VS.92).aspx
General; Silverlight Toolkit
http://silverlight.codeplex.com/releases/view/36060#DownloadId=93513
Geo; Simulate Geo Location
http://timheuer.com/blog/
Graphics; Free icons (Archetype)
http://archetype-inc.com/yard/fundamentals/icons/
Graphics; Icons for Windows Phone 7
http://www.wp7series.net/blog.asp
Graphics; MSDN: Application Bar Icons for Windows Phone 7 Series
http://www.microsoft.com/downloads/details.aspx?FamilyID=369b20f7-9d30-4cff-8a1b-f80901b2da93&displaylang=en
InkPresenter; Silverlight for Mobile on Windows Phone 7 InkPresenter fun
http://www.nickharris.net/2010/03/silverlight-for-mobile-on-windows-phone-7-inkpresenter-fun
LINQ; Creating LINQ Data Provider for WP7 (Part 1)
http://blogs.msdn.com/priozersk/archive/2010/04/14/creating-linq-data-provider-for-wp7-part-1.aspx
LINQ; Reactive Framework (Rx) Wiki Samples
http://rxwiki.wikidot.com/101samples
Manipulation; Blog;WPF Manipulation Basics
http://blogs.msdn.com/llobo/archive/2009/12/21/wpf-manipulation-basics.aspx
Manipulation; Simple Gesture Sample
http://blogs.msdn.com/ptorr/archive/2010/03/23/simple-gesture-sample.aspx
Manipulation; Simulating Multitouch on the Windows Phone 7 Emulator
http://jonas.follesoe.no/SimulatingMultitouchOnTheWindowsPhone7Emulator.aspx
Map; Sample: Using the Bing Maps Silverlight control on the Windows Phone 7
http://silverlighthack.com/post/2010/03/21/Using-the-Silverlight-Bing-Maps-control-on-the-Windows-Phone-7.aspx
Misc; Coding4Fun: Windows Phone Cannon
http://blogs.msdn.com/coding4fun/archive/2010/03/16/9979874.aspx
MVVM; Galasoft MVVM LightToolkit
http://www.galasoft.ch/mvvm/getstarted/
ODATA; Developing a Windows Phone 7 Application that Consumes ODATA
http://blogs.msdn.com/phaniraj/archive/2010/03/19/developing-a-windows-phone-7-application-that-consumes-odata.aspx
ODATA; Odata Client Library for WP7
http://www.microsoft.com/downloads/details.aspx?FamilyID=b251b247-70ca-4887-bab6-dccdec192f8d&displaylang=en
Orientation; Strategies for Dealing with Orientation Changes
http://blogs.msdn.com/ptorr/archive/2010/03/27/strategies-for-dealing-with-orientation-changes.aspx
Panorama; Building the Elusive Windows Phone Panorama Control
http://blogs.claritycon.com/blogs/design/archive/2010/03/30/building-the-elusive-windows-phone-panorama-control.aspx
Panorama; Panoramic Navigation on WP7 (gestures Multitouch)
http://aimeegurl.com/2010/03/18/panoramic-navigation-on-windows-phone-7-with-no-code/
Panorama; Windows Phone 7 Panorama Control sample
http://blogs.msdn.com/stephanc/archive/2010/04/04/windows-phone-7-panorama-control-sample.aspx
Push; MSDN; Developing an Application for Push Notifications
http://msdn.microsoft.com/en-us/library/ff402552(VS.92).aspx
RSS; Windows Phone 7 Series RSS reader
http://www.silverlightshow.net/items/Windows-Phone-7-Series-RSS-Feed-app.aspx
Silverlight; Silverlight Documentation Samples
http://samples.msdn.microsoft.com/Silverlight/SampleBrowser/index.htm#/
Silverlight; Silverlight Toolkit (Silverlight 2)
http://silverlight.net/content/samples/sl2/toolkitcontrolsamples/run/default.html
Silverlight; Silverlight Toolkit (Silverlight 3 extended controls)
http://silverlight.net/content/samples/sl3/toolkitcontrolsamples/run/default.html
Tilt; Sample: Tilt Effect for Windows Phone Controls
http://blogs.msdn.com/ptorr/archive/2010/03/23/tilt-effect-for-windows-phone-controls.aspx
Twitter; Sample: Building a Windows Phone 7 Twitter Application using Silverlight
http://weblogs.asp.net/scottgu/archive/2010/03/18/building-a-windows-phone-7-twitter-application-using-silverlight.aspx
WebSite; MSDN; Designing Web Sites for Phone Browsers
http://go.microsoft.com/?linkid=9713253
WPF; WPF Samples
http://msdn.microsoft.com/en-us/library/ms771633.aspx
WrapPanel; Sample: Silverlight Toolkit and the Windows Phone: WrapPanel, and a few others
http://www.jeff.wilcox.name/2010/03/toolkit-and-the-windows-phone/
WriteableBitmap; Render XNA content into Silverlight Writeable Bitmap
http://www.uta.fi/~tp79800/Silverlight/WindowsPhoneApplicationXNA.zip
XNA; Space Rocks game (step 7)
http://blogs.silverarcade.com/silverlight-games-101/30/silverlight-space-rocks-game-step-7-moving-the-ship/
Thanks to
Mark Chamberlain, Sr. Escalation Engineer, Microsoft Developer Support
Accelerometer; Simulating accelerometer data in the Windows Phone 7 Emulator
http://blogs.silverarcade.com/silverlight-games-101/27/silverlight-simulating-accelerometer-data-in-the-windows-phone-7-emulator/
Animation; Ptorr Slides, Video and Code (Page Turn animation etc.)
http://blogs.msdn.com/ptorr/archive/2010/03/18/slides-video-and-code.aspx
Audio; Audio Recording in WP7
http://mobileworld.appamundi.com/blogs/peterfoot/archive/2010/03/26/audio-recording-in-wp7.aspx
Comms; Accessing WCF Data Services from WP7 CTP
http://blogs.msdn.com/priozersk/archive/2010/03/19/accessing-wcf-data-services-from-wp7-ctp.aspx
Comms; Calling Web Services with Silverlight 2 (general example)
http://timheuer.com/blog/archive/2008/03/14/calling-web-services-with-silverlight-2.aspx
DB; Siaqodb on WindowsPhone7 (a local object database)
http://siaqodb.com/?p=202
External; Sample image encoders, decoders (png, gif, bmp)
http://blogs.msdn.com/jstegman/archive/2008/10/30/updated-source-for-image-samples.aspx
Foursquare; Foursquare for Windows Phone 7
http://4square.codeplex.com/
Games; Physics Games in Silverlight on Windows Phone 7
http://www.andybeaulieu.com/Home/tabid/67/EntryID/194/Default.aspx
General; Africangeek.com: A collection of WP7 samples (navigate, WCF, Blend)
http://www.africangeek.com/
General; MSDN; Code Samples for Windows Phone
http://msdn.microsoft.com/en-us/library/ff431744(VS.92).aspx
General; Silverlight Toolkit
http://silverlight.codeplex.com/releases/view/36060#DownloadId=93513
Geo; Simulate Geo Location
http://timheuer.com/blog/
Graphics; Free icons (Archetype)
http://archetype-inc.com/yard/fundamentals/icons/
Graphics; Icons for Windows Phone 7
http://www.wp7series.net/blog.asp
Graphics; MSDN: Application Bar Icons for Windows Phone 7 Series
http://www.microsoft.com/downloads/details.aspx?FamilyID=369b20f7-9d30-4cff-8a1b-f80901b2da93&displaylang=en
InkPresenter; Silverlight for Mobile on Windows Phone 7 InkPresenter fun
http://www.nickharris.net/2010/03/silverlight-for-mobile-on-windows-phone-7-inkpresenter-fun
LINQ; Creating LINQ Data Provider for WP7 (Part 1)
http://blogs.msdn.com/priozersk/archive/2010/04/14/creating-linq-data-provider-for-wp7-part-1.aspx
LINQ; Reactive Framework (Rx) Wiki Samples
http://rxwiki.wikidot.com/101samples
Manipulation; Blog;WPF Manipulation Basics
http://blogs.msdn.com/llobo/archive/2009/12/21/wpf-manipulation-basics.aspx
Manipulation; Simple Gesture Sample
http://blogs.msdn.com/ptorr/archive/2010/03/23/simple-gesture-sample.aspx
Manipulation; Simulating Multitouch on the Windows Phone 7 Emulator
http://jonas.follesoe.no/SimulatingMultitouchOnTheWindowsPhone7Emulator.aspx
Map; Sample: Using the Bing Maps Silverlight control on the Windows Phone 7
http://silverlighthack.com/post/2010/03/21/Using-the-Silverlight-Bing-Maps-control-on-the-Windows-Phone-7.aspx
Misc; Coding4Fun: Windows Phone Cannon
http://blogs.msdn.com/coding4fun/archive/2010/03/16/9979874.aspx
MVVM; Galasoft MVVM LightToolkit
http://www.galasoft.ch/mvvm/getstarted/
ODATA; Developing a Windows Phone 7 Application that Consumes ODATA
http://blogs.msdn.com/phaniraj/archive/2010/03/19/developing-a-windows-phone-7-application-that-consumes-odata.aspx
ODATA; Odata Client Library for WP7
http://www.microsoft.com/downloads/details.aspx?FamilyID=b251b247-70ca-4887-bab6-dccdec192f8d&displaylang=en
Orientation; Strategies for Dealing with Orientation Changes
http://blogs.msdn.com/ptorr/archive/2010/03/27/strategies-for-dealing-with-orientation-changes.aspx
Panorama; Building the Elusive Windows Phone Panorama Control
http://blogs.claritycon.com/blogs/design/archive/2010/03/30/building-the-elusive-windows-phone-panorama-control.aspx
Panorama; Panoramic Navigation on WP7 (gestures Multitouch)
http://aimeegurl.com/2010/03/18/panoramic-navigation-on-windows-phone-7-with-no-code/
Panorama; Windows Phone 7 Panorama Control sample
http://blogs.msdn.com/stephanc/archive/2010/04/04/windows-phone-7-panorama-control-sample.aspx
Push; MSDN; Developing an Application for Push Notifications
http://msdn.microsoft.com/en-us/library/ff402552(VS.92).aspx
RSS; Windows Phone 7 Series RSS reader
http://www.silverlightshow.net/items/Windows-Phone-7-Series-RSS-Feed-app.aspx
Silverlight; Silverlight Documentation Samples
http://samples.msdn.microsoft.com/Silverlight/SampleBrowser/index.htm#/
Silverlight; Silverlight Toolkit (Silverlight 2)
http://silverlight.net/content/samples/sl2/toolkitcontrolsamples/run/default.html
Silverlight; Silverlight Toolkit (Silverlight 3 extended controls)
http://silverlight.net/content/samples/sl3/toolkitcontrolsamples/run/default.html
Tilt; Sample: Tilt Effect for Windows Phone Controls
http://blogs.msdn.com/ptorr/archive/2010/03/23/tilt-effect-for-windows-phone-controls.aspx
Twitter; Sample: Building a Windows Phone 7 Twitter Application using Silverlight
http://weblogs.asp.net/scottgu/archive/2010/03/18/building-a-windows-phone-7-twitter-application-using-silverlight.aspx
WebSite; MSDN; Designing Web Sites for Phone Browsers
http://go.microsoft.com/?linkid=9713253
WPF; WPF Samples
http://msdn.microsoft.com/en-us/library/ms771633.aspx
WrapPanel; Sample: Silverlight Toolkit and the Windows Phone: WrapPanel, and a few others
http://www.jeff.wilcox.name/2010/03/toolkit-and-the-windows-phone/
WriteableBitmap; Render XNA content into Silverlight Writeable Bitmap
http://www.uta.fi/~tp79800/Silverlight/WindowsPhoneApplicationXNA.zip
XNA; Space Rocks game (step 7)
http://blogs.silverarcade.com/silverlight-games-101/30/silverlight-space-rocks-game-step-7-moving-the-ship/
Thanks to
Mark Chamberlain, Sr. Escalation Engineer, Microsoft Developer Support
Windows Phone 7
11:52 PM
0 Responses to "Sample code for the Windows Phone 7"
Post a Comment