One of the most popular pages in the Windows Phone 7 documentation is the Code Samples topic. On this page you can find a series of code samples that demonstrate various features of WP7. But somewhat hidden away at the bottom of the topic are links to some Starter Kits.
These Starter Kits are fully functional apps -- in fact, you can find these apps in the Marketplace and try them out on your phone. The complete source code for the entire app is available to download and tinker with. For each Starter Kit, there is a topic in the documentation that highlights some of the more interesting sections of code in the app.
The currently available Starter Kits are:
- Translator Starter Kit
As you can probably guess, this app lets you enter a phrase in one language and translate it to another language. The starter kit demonstrates how to call a web service, use an XNA Framework API from within a Silverlight application, play a sound, maintain a history list in isolated storage, and animate an image in a ToggleButton.
- Level Starter Kit
This app lets you use your phone as a bubble level. The starter kit demonstrates how to make your application's color scheme match the user's theme choice, how to make your Silverlight application interact realistically with the accelerometer of the phone, and how to customize phone orientation sensing.
- Unit Converter Starter Kit
This app provides the user with the ability to convert values from one unit of measure to another. The starter kit demonstrates how to apply the Model-View--ViewModel design pattern in creating your WP7 app, how to optimize your application start up, and how to create a context sensitive menu.
- Unit Converter Starter Kit topic
- Unit Converter Starter Kit download
- Unit Converter App in the Windows Phone 7 Marketplace
Accelerometer Helper for Windows Phone 7:
In this deep dive, Sean McKenna from WP and Greg Hodgal discuss how to program for WP7 using the accelerometer.
"An accelerometer is a sensor that measures acceleration forces such as gravity or the forces caused by moving the sensor. All WP have at least one accelerometer sensor that, when accessed by the managed Accelerometer API, can be used to provide input to WP apps including both Silverlight for WP and XNA for WP apps."
Windows Phone 7: Applications & Tools
WinP7 Program Manager, Sean Mckenna, give us a demo of some WP7 apps. The idea is that these're some core apps, for which the source code will be made available HERE, that developers can integrate into their more complex and intricate original apps. Check out what he's offering and get to developing!