Book description
Microsoft's Windows Phone 7 handsets have injected a new vibrancy into the smartphone marketplace and provided bold new opportunities for the Microsoft development community.
Now in its second edition, Beginning Windows Phone 7 Development has been written to help you identify those opportunities and to learn the skills you'll need to harness them. It covers the very latest developments in the field, including the extended APIs offered in Microsoft's automatic platform update, so you can be assured of having timely, accurate, information at your finger-tips.
Beginning Windows Phone 7 Development, Second Edition starts with the basics, walking you through the process of downloading and setting up the right development tools, including Visual Studio, Expression Blend, Silverlight SDK, and Windows Phone SDK. It then takes you step-by-step though the development process as you build and deploy a complete, working, application complete with a sophisticated user interface. Finally, you'll receive step-by-step instructions on selling your applications through the Microsoft Phone Marketplace.
What you'll learn
Create effective networked applications
Leverage your phone's GPS capabilities from within your application
Interact with the phone's built-in functionality (camera, contacts, maps, accelerometer, video and web browser to name but a few)
Construct highly graphical and responsive user interfaces quickly and easily using the features that Microsoft has provided for you
How to package and distribute your applications both for personal distribution and through the Windows Phone Marketplace
Who this book is for
This book is for anyone interested in developing applications for the Windows Phone 7. You might be an existing .NET developer looking for a new creative angle or perhaps an iPhone or Android developer looking for a new opportunity.
If you have an understanding of basic .NET coding practices, then this book is for you.
Table of contents
- Copyright
- About the Authors
- About the Technical Reviewer
- Acknowledgments
- Introduction
- 1. Introducing Windows Phone 7 and the Windows Phone Platform
- 2. Building Windows Phone 7 Applications
-
3. Building Windows Phone 7 Applications Using Cloud Services As Data Stores
- 3.1. Introducing the MVVM Pattern
- 3.2. Introducing Microsoft Azure and SQL Azure
- 3.3. Creating a Cloud Database
-
3.4. Creating a Cloud Service to Access the Cloud Database
- 3.4.1. Creating a Windows Azure Project
- 3.4.2. Generating an Object Model to Access the Cloud Database
- 3.4.3. Implementing a WCF Service to Access the SQL Azure Database
-
3.5. Building a Phone Client to Access a Cloud Service
- 3.5.1. Creating a Windows Phone Project
- 3.5.2. Building the User Interface
- 3.5.3. Coding MainPage
- 3.5.4. Coding the BoolToVisibilityConvert
- 3.5.5. Adding Reference to NotepadService
- 3.5.6. Coding NotepadViewModel
- 3.5.7. Testing the Application Against NotepadService Deployed Locally
- 3.5.8. Deploying the Service to Windows Azure
- 3.5.9. Testing the Notepad Application Against NotepadService Azure Service
- 3.6. Summary
-
4. Catching and Debugging Errors
- 4.1. Debugging Application Exceptions
- 4.2. Registering a Windows Phone Device for Debugging
- 4.3. Handling Device Exceptions
- 4.4. Summary
-
5. Packaging, Publishing, and Managing Applications
- 5.1. Windows Phone Application Publishing Lifecycle
- 5.2. Windows Phone Application Certification Requirements
- 5.3. Submitting Your First Windows Phone Application to the Windows Phone Marketplace
- 5.4. Summary
-
6. Working with the Accelerometer
- 6.1. Understanding Orientation and Movement
- 6.2. Introducing SDK Support for Accelerometers
- 6.3. Retrieving Accelerometer Data
- 6.4. Using Accelerometer Data to Move a Ball
- 6.5. Summary
- 7. Application Bar
-
8. WebBrowser Control
- 8.1. Introducing the WebBrowser Control
- 8.2. Adding a WebBrowser Control
- 8.3. Using a WebBrowser Control to Display Web Content
- 8.4. Using a WebBrowser Control to Display Local HTML Content
- 8.5. Using a WebBrowser Control to Display Dynamic Content
- 8.6. Saving Web Pages Locally
- 8.7. Choosing Display and Security Settings
- 8.8. Viewport
- 8.9. Summary
- 9. Working with Controls and Themes
-
10. Integrating Applications with the Windows Phone OS
- 10.1. Introducing Windows Phone 7 Launchers and Choosers
- 10.2. Working with Launchers and Choosers
- 10.3. Working with the Windows Phone 7 Application Life Cycle
- 10.4. Integrating with Facebook
- 10.5. Integrating into Windows Phone 7 Hubs
- 10.6. Summary
- 11. Creating Trial Applications
-
12. Internationalization
- 12.1. Understanding Internationalization
- 12.2. Using Culture Settings with ToString to Display Dates, Times, and Text
- 12.3. Using the .NET Culture Hierarchy to Ensure Culture Neutrality
- 12.4. Storing and Retrieving Current Culture Settings
- 12.5. Using Resource Files to Localize Content
- 12.6. Summary
-
13. Isolated Storage
-
13.1. Working with Isolated Directory Storage
- 13.1.1. Creating the IsolatedStorageStoreImageDemo Project
- 13.1.2. Coding the User Interface
-
13.1.3. Coding the Application
- 13.1.3.1. Specifying the Namespaces
- 13.1.3.2. Initializing Variables
- 13.1.3.3. Initializing the Application
- 13.1.3.4. Checking Availability of Isolated Storage Space
- 13.1.3.5. Adding a Button Event to Retrieve the Image from Isolated Storage
- 13.1.3.6. Adding a Method to Retrieve the Image from Isolated Storage
- 13.1.3.7. Testing the Finished Application
- 13.2. Working with Isolated Storage Settings
- 13.3. Summary
-
13.1. Working with Isolated Directory Storage
-
14. Using Location Services
- 14.1. Understanding Windows Phone Location Services Architecture
- 14.2. Introducing the Windows Phone Location Service and Mapping APIs
- 14.3. Simulating the Location Service
- 14.4. Using GeoCoordinateWatcher and the Bing Maps Control to Track Your Movements
- 14.5. Plotting an Address on a Bing Maps Map and Working with the Bing Maps Service
- 14.6. Summary
-
15. Media
- 15.1. Introducing MediaElement
-
15.2. Working with Video
- 15.2.1. Creating the MediaPlayerDemo Project
- 15.2.2. Building the User Interface
-
15.2.3. Coding the Application
- 15.2.3.1. Specifying the Namespaces
- 15.2.3.2. Initializing Variables
- 15.2.3.3. Handling Video Download Progress
- 15.2.3.4. Handling Video Buffering
- 15.2.3.5. Showing Time Elapsed in the Media Player
- 15.2.3.6. Implementing the Pause Button
- 15.2.3.7. Implementing the Stop Button
- 15.2.3.8. Implementing the Play Button
- 15.2.3.9. Implementing the Mute Button
- 15.2.3.10. Implementing Seek
- 15.2.3.11. Implementing the MediaPlayerLauncher
- 15.2.3.12. Testing the Finished Application
- 15.3. Adding Sounds to an Application
- 15.4. Summary
-
16. Working with the Camera and Photos
- 16.1. Introducing Windows Phone 7 Photo Features
- 16.2. Integrating Your Application with Windows Phone 7
- 16.3. Summary
-
17. Push Notifications
- 17.1. Understanding Push Notifications
- 17.2. Introducing the Push Notifications Architecture
- 17.3. Implementing Toast Notifications
- 17.4. Implementing Tile Notifications
- 17.5. Implementing Raw Notifications
- 17.6. Implementing Cloud Service to Track Push Notifications
- 17.7. Using Push Notifications in the Real World
- 17.8. Setting up Secure Web Services for Push Notifications
- 17.9. Summary
-
18. Reactive Extensions for .NET
- 18.1. Introducing Reactive Programming
- 18.2. Rx.NET Subscription Pipeline
- 18.3. Implementing the Observer Pattern with Rx.NET
- 18.4. Using Rx.NET Event Handling to Search for Flickr Photographs
- 18.5. Rx.NET Design Guidelines
- 18.6. Using Rx.NET with Web Services to Asynchronously Retrieve Weather Data
- 18.7. Handling Errors in Rx.NET
- 18.8. Handling Data Connection Issues with Rx.NET
- 18.9. Revising WeatherRx to Manage Slow Data Connections
- 18.10. Handling Multiple Concurrent Requests with Rx.NET
- 18.11. Summary
-
19. Security
- 19.1. Understanding Application Security
- 19.2. Implementing Network Security
- 19.3. Implementing Data Security
- 19.4. Understanding Device Physical Security
- 19.5. Meeting Certification Requirements
- 19.6. Obfuscating Your Application Code
- 19.7. Summary
Product information
- Title: Beginning Windows Phone 7 Development, Second Edition
- Author(s):
- Release date: June 2011
- Publisher(s): Apress
- ISBN: 9781430235965
You might also like
book
Beginning Windows Phone 7 Development
Microsoft is injecting new energy into the smart phone marketplace with the sophisticated Windows Phone 7. …
book
Essential Windows Phone 8, Second Edition
“Shawn has created a guide that is easy to read, up-to-date, and comprehensive–covering the entire application …
book
Essential Windows Phone 7.5: Application Development with Silverlight
is the definitive guide to creating powerful, visually compelling mobile applications that take full advantage of …
book
Windows Phone 7 Game Development
Windows Phone 7 is a powerful mobile computing platform with huge potential for gaming. With "instant …