Related Titles
- Full Description
-
Microsofts 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 youll need to harness them. It covers the very latest developments in the field, including the extended APIs offered in Microsofts automatic platform update, so you'll have timely, accurate information at your fingertips.
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 working application, complete with a sophisticated user interface. Finally, you'll receive step-by-step instructions on selling your applications through the Windows Phone Marketplace.What youll learn
- How to create effective networked applications
- How to leverage your phones GPS capabilities from within your application
- How to interact with the phones built-in functionalities (camera, contacts, maps, accelerometer, video and web browser to name but a few)
- How to construct highly graphical and responsive user interfaces quickly and easily using these features
- How to package and distribute your applications for both personal distribution and commercial sale via 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
-
Table of Contents
- Introducing Windows Phone 7 and the Windows Phone Platform
- Building Windows Phone 7 Applications
- Using Cloud Services As Data Stores
- Catching and Debugging Errors
- Packaging, Publishing, and Managing Applications
- Working with the Accelerometer
- Application Bar
- WebBrowser Control
- Working with Controls and Themes
- Integrating Applications with the Windows Phone OS
- Creating Trial Applications
- Internationalization
- Isolated Storage
- Using Location Services
- Media
- Working with the Camera and Photos
- Push Notifications
- Reactive Extensions for .NET
- Security
- Source Code/Downloads
- Errata
-
If you think that you've found an error in this book, please let us know about it. You will find any confirmed erratum below, so you can check if your concern has already been addressed.
On page 25:
After adding the .png to the project, I was not able to deploy the app. Had to change the build action from Resource to Content, and had to change the copy to output directory from Do Not Copy to Copy if Newer. Not sure why Visual Studio is behaving this way for me. It may be worth mentioning to readers since the error message isn't very helpful...
Error 1 Icon file HelloWorldIcon.png not found. Make sure that the file is present in the application.
On page 38:
Signing up for SQL Azure
This is out of date with what I'm seeing. And you talk of Step 1 in point 3 and 4 but there has been no identified Step 1. I didn't have to create a project on registering. As a result I'm not sure what I should do now. In the new portal do I create a server then a database?
On page 62:
orderby eachNote.Description ascending
select new NoteDto
{
NoteId = eachNote.NoteId,
Description = eachNote.Description,
NoteText = eachNote.NoteText,
}
The , after NoteText should not be there
On page 65:
For the 2 user controls, I see the xaml in the book, but not the .cs code. The project won't compile unless you add it. Had to load the code from the download to figure out what was missing (button click code).
On page 220:
Step 6 thru 9 says to add Debug.WriteLine("") statements to the App.xaml.cs file for the application life cycle events but a step that skipped was to put the using System.Diagnostics; at the top of the App.xaml.cs file. It is mentioned for MainPage.xaml.cs. In fact it says to add it to top of MainPage.xaml and shouldn't it be MainPage.xaml.cs.
On page 379:Step 9 includes a method BindToShell() which has a try/catch handler. The catch has the exception but no variable but the exception code refers to the exception in using the Debug.WriteLine by using ex.ToString().
On page 426:Somewhere in the steps, the following code is missing for a class variable.
svcWeather.WeatherForecastSoapClient weatherClient = new svcWeather.WeatherForecastSoapClient();
Steps 3 and 4 refer to it so it must be created in steps 1 or 2.
On page 433:
Step 4 says to declare module level variable:
IObservable<IEvent<GetWeatherByZipCodeCompletedEventArgs>>
But should the EventArgs be prefixed with svcWeather. like
IObservable<IEvent<svcWeather.GetWeatherByZipCodeCompletedEventArgs>>
Or import the namespace svcWeather







