Windows Phone 7 Cheat Sheet

Here’s a cheat sheet quick guide to a bunch of great MSDN resources on Windows Phone 7 development.

  Getting Started

  Visual Studio 2010 Express for Windows Phone

  Windows Phone Emulator

  Fundamental Concepts for Windows Phone

  Common Application Development Tasks for Windows Phone

  Globalization and Localization for Windows Phone

  Application Features for Windows Phone

  WebBrowser Control for Windows Phone

  Media for Windows Phone

  Photos for Windows Phone

  Push Notifications for Windows Phone

  Windows Phone Developer Tools

  Also

Code Samples for Windows Phone

Windows Phone Development

The Windows Phone Developer Tools October 2010 Update

  • Windows Phone Capability Detection Tool – Detects the phone capabilities used by your application. When you submit your application to Windows Phone Marketplace , Microsoft performs a code analysis to detect the phone capabilities required by your application and then replaces the list of capabilities in the application manifest with the result of this detection process. This tool performs the same detection process and allows you to test your application using the same list of phone capabilities generated during the certification process. For more information, see How to: Use the Capability Detection Tool.
  • Windows Phone Connect Tool – Allows you to connect your phone to a PC when Zune® software is not running and debug applications that use media APIs. For more information, see How to: Use the Connect Tool.
  • Updated Bing Maps Silverlight Control – Includes improvements to gesture performance when using Bing™ Maps Silverlight® Control.

How to capture audio from your microphone in WP7

image

One very common task for many mobile applications is the ability to capture the audio from your microphone and use it inside your application. Doing this on your WP7 device could not be easier.  To do this you really need like 20 lines of code .

Here is the code: http://devlicio.us/blogs/derik_whittaker/archive/2010/10/22/how-to-capture-audio-from-your-microphone-in-wp7.aspx

RSS News Framework for Windows Phone 7

image

News Framework is an offline news reading framework on which any RSS based news website can have its own Windows Phone 7 application in just minutes. The configuration, content and styles can be managed from outside of the framework itself to fit the needs.

Features

  • Offline news reading experience
  • Text size adjustment
  • Save for later
  • Share with friends via SMS/Email
  • News by category
  • Rotation support
  • Search within the news
  • Theme support
  • Open Source: to be released very soon. Only a demo app is currently available.
  • Full functioning demo included: An unofficial Mashable fan app. See below images.

Blog: 3 steps to build a Windows Phone 7 app using News Framework

Codeplex: http://newsfx.codeplex.com/

Video: http://codetv.net/36/introducing-news-framework-for-windows-phone-7/

Sterling Isolated Storage Database with LINQ for Silverlight and Windows Phone 7

image

Sterling is a lightweight object-oriented database implementation for Silverlight and Windows Phone 7 that works with your existing class structures. Sterling supports full LINQ to Object queries over keys and indexes for fast retrieval of information from large data sets.
The goal behind Sterling is to keep it:

  • Non-intrusive. You shouldn’t have to change your classes just to persist them.
  • Lightweight. As of this writing, the DLL for Sterling is under 70 Kb. No one needs to bloat their project for something as simple as persisting data.
  • Flexible. While the core is light, Sterling is designed to handle any serialization task and make it ultra-easy to query databases using LINQ-to-Objects.
  • Portable. Sterling is designed to run on both Silverlight 4.0 and the Windows Phone 7.

http://sterling.codeplex.com/

download: http://sterling.codeplex.com/releases/view/48124#DownloadId=133379

Documentation: http://sterling.codeplex.com/documentation

Sample App: http://csharperimage.jeremylikness.com/2010/07/introducing-sterling-object-oriented.html

Windows Phone 7 Life Cycle

image

One of the key dilemmas facing Windows Phone 7 programmers is how we maintain an extremely responsive experience for the user, provide some sort of multi-tasking and preserve battery life, all at the same time? The solution offered by Windows Phone 7 is to tombstone applications when they are inactive.  This tutorial will explore tombstoning, multi-tasking and the entire application life cycle in detail.

The guiding model for the entire lifetime of an application, from launch to termination, is called the Windows Phone Execution Model.  It is designed to provide a responsive system, at all times. The strategy to accomplish this is to avoid having two or more applications continuing to run in the background, competing for resources, slowing the foreground application and draining the battery.

To accomplish this, Windows Phone 7allows only one application to be running in the foreground, and no 3rd party applications are allowed to run in the background; even when they appear to do so.    When an application is moved to the background, but not closed, it is tombstoned.  Tombstoning means that the application is inert, but, the operating system maintains state information for the application. If the user returns to the tombstoned application, the state information is passed to the application before it is restarted, allowing the programmer to restore the application to the state it was in when it was tombstoned.  This can give the very effective illusion that the application was there all along.

1

For more goto http://jesseliberty.com/2010/09/22/windows-phone-7-for-silverlight-developers-life-cycle/