Chapter 3
Fundamentals
WHAT’S IN THIS CHAPTER
- Understanding application life cycles
- Handling application state transitions
- Using launchers and choosers
- Learning work-around solutions in WP7
For beginning developers, the first question is where to start. On the other hand, experienced Android/iPhone developers might want to know how to achieve the same functionality as their current applications in Windows Phone 7 (WP7). In this chapter, we’ll introduce concepts that are fundamental to WP7 application development.
This chapter starts with an introduction to the application execution model. This model includes these topics:
- Starting and stopping an application
- Managing application states
- Saving state data when an application stops
- Resuming the previous state
In addition to describing the application execution model, this chapter shows how to leverage the WP7 build-in functions to complete some common tasks, such as placing phone calls or sending e-mail.
Using the techniques in this chapter, beginning developers can familiarize themselves with WP7 technology and start writing their first WP7 applications. Experienced developers can start thinking about how to port their existing applications on other platforms to WP7.
BASIC APPLICATION PROJECT STRUCTURE
In the last chapter, you learned about the WP7 development environment. Like other mobile application development platforms, Windows Phone Developer Tools provide templates to help developers structure their WP7 application projects ...