Everything developers need to start developing and selling applications on Microsoft's highly-anticipated Windows Phone 7 platform
This is a practical, hands-on guide to mastering mobile development with Microsoft's highly anticipated Windows Phone 7 platform. Written by four experts in Windows Phone 7, this book delivers a solid, wide-ranging understanding of the entire mobile application development process. The authors start with the absolute basics, including installing and utilizing Windows Phone 7 development tools; working with the Metro user interface; and migrating from desktop development. Then, step-by-step, you master page-based navigation, finger-friendly development, storage, integration, profiling, debugging, performance optimization, and more. The authors walk through using Microsoft Silverlight to create intuitive applications that interact with the cloud; developing mobile games with XNA; and distributing applications via the Marketplace. Friendly, accessible, and conversational, this book delivers a practical grounding in Windows Phone development without ever becoming overwhelming or intimidating. Each lesson builds on everything that's come before, helping you learn core techniques from the ground up. You learn key concepts, syntax, and techniques through short, practical examples that reflect the realities of mobile development, and apply Microsoft's own best practices.
| Introduction | p. xvii |
| Audience and Organization | p. xviii |
| Conventions Used in This Book | p. xix |
| Closing Thoughts | p. xix |
| Fundamentals | |
| Hour 1 | p. 1 |
| Experiencing Life in Motion | p. 2 |
| Ensuring a Common Foundation | p. 3 |
| Introducing the Application Platform | p. 6 |
| Introducing Metro | p. 11 |
| Summary | p. 18 |
| Q&A | p. 19 |
| Hour 2 | p. 21 |
| Understanding the Requirements | p. 21 |
| Identifying Users and Their Mobile Needs | p. 22 |
| Getting Data for Your Application | p. 25 |
| Building the User Interface | p. 27 |
| Summary | p. 29 |
| Q&A | p. 29 |
| Workshop | p. 29 |
| Hour 3 | p. 31 |
| Introducing the Application Frameworks | p. 31 |
| Understanding Silverlight | p. 32 |
| Understanding the XNA Framework | p. 37 |
| Summary | p. 41 |
| Q&A | p. 42 |
| Workshop | p. 43 |
| Exercise | p. 43 |
| Hour 4 | p. 45 |
| Understanding Silverlight | p. 45 |
| Silverlight Coding Fundamentals | p. 46 |
| Exploring Silverlight Controls | p. 49 |
| Understanding Data Binding | p. 62 |
| Summary | p. 70 |
| Q&A | p. 70 |
| Hour 5 | p. 73 |
| Introducing the Page Navigation Model | p. 74 |
| Using the Navigation Service | p. 75 |
| Working with Page Navigation Events | p. 79 |
| Passing Data with the Navigation Context | p. 82 |
| Summary | p. 83 |
| Q&A | p. 83 |
| Workshop | p. 84 |
| Exercise | p. 85 |
| Hour 6 | p. 87 |
| Working with the Accelerometer | p. 87 |
| Using the Compass | p. 91 |
| Responding to the Gyroscope | p. 93 |
| Determining Motion | p. 95 |
| Summary | p. 97 |
| Q&A | p. 97 |
| Workshop | p. 97 |
| Developing Applications with Silverlight | |
| Hour 7 | p. 99 |
| Building a Location-Aware Application | p. 99 |
| Working with the GPS | p. 101 |
| Using the Silverlight Bing Map Control | p. 104 |
| Drawing on the Map | p. 106 |
| Summary | p. 107 |
| Q&A | p. 108 |
| Workshop | p. 108 |
| Exercise | p. 109 |
| Hour 8 | p. 111 |
| Working Within Phone Screen Limitations | p. 111 |
| Understanding Touch Targets | p. 113 |
| Working with Gestures | p. 116 |
| Summary | p. 126 |
| Q&A | p. 126 |
| Workshop | p. 127 |
| Exercises | p. 127 |
| Hour 9 | p. 129 |
| Using Raw Web Communication | p. 129 |
| Using Windows Communication Foundation | p. 135 |
| Supporting Sockets | p. 139 |
| Summary | p. 139 |
| Q&A | p. 140 |
| Workshop | p. 140 |
| Exercise | p. 140 |
| Hour 10 | p. 141 |
| Consuming REST Services | p. 141 |
| Working with Syndication Feeds | p. 147 |
| Using the OData Libraries | p. 151 |
| Summary | p. 156 |
| Q&A | p. 156 |
| Workshop | p. 157 |
| Exercise | p. 157 |
| Hour 11 | p. 159 |
| Introducing the Windows Phone Hubs | p. 160 |
| Integrating with the Music + Videos Hub | p. 164 |
| Integrating with the Pictures Hub | p. 170 |
| Summary | p. 174 |
| Workshop | p. 174 |
| Exercise | p. 175 |
| Hour 12 | p. 177 |
| Integrating with Microsoft Bing | p. 177 |
| Translating Text | p. 185 |
| Summary | p. 188 |
| Workshop | p. 188 |
| Exercise | p. 189 |
| Hour 13 | p. 191 |
| Tuning Application Startup | p. 191 |
| Measuring and Tuning Your Application | p. 195 |
| Working with Asynchronous and Background Tasks | p. 198 |
| Tuning Silverlight Performance | p. 201 |
| Summary | p. 203 |
| Q&A | p. 203 |
| Workshop | p. 204 |
| Exercises | p. 205 |
| Hour 14 | p. 207 |
| What Are Push Notification Services? | p. 207 |
| How Do Notification Services Work? | p. 208 |
| Opening a Notification Channel | p. 210 |
| Sending and Receiving Notifications | p. 212 |
| Summary | p. 215 |
| Q&A | p. 216 |
| Workshop | p. 216 |
| Exercise | p. 216 |
| Hour 15 | p. 217 |
| What Are Live Tile and Toast Notifications? | p. 217 |
| Working with Toast Notifications | p. 219 |
| Live Tile Notifications | p. 223 |
| Summary | p. 227 |
| Q&A | p. 228 |
| Workshop | p. 228 |
| Exercise | p. 229 |
| Hour 16 | p. 231 |
| Determining Network Connectivity | p. 231 |
| Managing Local Data | p. 232 |
| Working with Data from a Service | p. 243 |
| Keeping Data Synchronized | p. 245 |
| Enforcing Business Rules | p. 246 |
| Summary | p. 246 |
| Q&A | p. 246 |
| Workshop | p. 247 |
| Exercises | p. 248 |
| Developing Games with the XNA Framework | |
| Hour 17 | p. 249 |
| Understanding the Game Loop | p. 249 |
| Adding Game Content | p. 253 |
| Rendering Textures | p. 254 |
| Rendering Text | p. 255 |
| Adding a Background | p. 258 |
| Handling User Input | p. 259 |
| Summary | p. 261 |
| Q&A | p. 261 |
| Workshop | p. 261 |
| Hour 18 | p. 263 |
| Game Physics Made Simple | p. 263 |
| Detecting Collisions | p. 269 |
| Using Accelerometer-Controlled Movement | p. 272 |
| Adding the Challenges | p. 274 |
| Summary | p. 278 |
| Q&A | p. 278 |
| Workshop | p. 278 |
| Exercise | p. 279 |
| Hour 19 | p. 281 |
| Adding Gameplay | p. 281 |
| Enhancing the Ball-Dropping Experience | p. 287 |
| Adding Haptic and Audible Feedback | p. 289 |
| Summary | p. 290 |
| Q&A | p. 290 |
| Workshop | p. 291 |
| Diving Deeper | |
| Hour 20 | p. 293 |
| Understanding Internationalization | p. 293 |
| Understanding Culture | p. 295 |
| Globalization at Work | p. 297 |
| Localizing Application Resources | p. 300 |
| Summary | p. 306 |
| Q&A | p. 307 |
| Workshop | p. 307 |
| Exercise | p. 308 |
| Hour 21 | p. 309 |
| Understanding Launchers and Choosers | p. 309 |
| Sending Messages | p. 311 |
| Interacting with the Marketplace | p. 314 |
| Playing Media Content | p. 316 |
| Making Phone Calls | p. 317 |
| Searching and Web Browsing | p. 319 |
| Working with the Camera and Pictures | p. 320 |
| Playing FM Radio | p. 322 |
| Summary | p. 323 |
| Q&Av323 | |
| Workshop | p. 324 |
| Exercise | p. 324 |
| Hour 22 | p. 325 |
| Theming | p. 325 |
| Preserving Application State | p. 334 |
| Implementing an About Page | p. 340 |
| Summary | p. 341 |
| Q&A | p. 341 |
| Workshop | p. 342 |
| Exercise | p. 342 |
| Hour 23 | p. 343 |
| Introducing the Marketplace | p. 343 |
| Joining the Marketplace | p. 348 |
| Configuring Your Application | p. 349 |
| Submitting Your Application | p. 352 |
| Using Trial Services | p. 356 |
| Summary | p. 357 |
| Q&A | p. 357 |
| Workshop | p. 357 |
| Exercise | p. 358 |
| Hour 24 | p. 359 |
| Marketing Using Basic Techniques | p. 359 |
| Using Trial Services | p. 361 |
| Generating Sales Using the About Page | p. 367 |
| Understanding the Effects of Globalization | p. 367 |
| Entering Contests | p. 369 |
| Summary | p. 370 |
| Q&A | p. 370 |
| Resources | p. 371 |
| Author Resources | p. 371 |
| Other Helpful Resources | p. 371 |
| Index | p. 373 |
| Table of Contents provided by Publisher. All Rights Reserved. |
ISBN: 9780672335396
ISBN-10: 0672335395
Series: Sams Teach Yourself...in 24 Hours (Paperback)
Audience:
General
Format:
Paperback
Language:
English
Number Of Pages: 416
Published: 22nd June 2012
Dimensions (cm): 23.2 x 17.8
x 2.1
Weight (kg): 0.64