Level: Intermediate to Advanced
It may be called "Windows" Phone, but Microsoft's smartphone operating system does not share its big brother's multitasking model. "Fast and fluid" is the motto to insure the best user experience possible while at the same time optimizing power consumption on the device. Windows Phone may only allow only one application to run in the foreground at a time, but several features were introduced in version 8.0 and 7.5 to allow an application to perform some actions even when it is not the active foreground app. This demo-heavy session will focus on those techniques including scheduled tasks & background agents, playing audio & tracking the user location in the background, and we'll also discuss how Voice-over-IP (VoIP) integrate deeply into the OS for better background processing. You'll also learn about Fast Application Switching & Tombstoning should your application ever get terminated. Learn how to make your application a first-class citizen on Windows Phone and put this session in the foreground of your schedule.
You will learn:
- About the application multitasking model in Windows Phone 8 and how it affects mobile application design
- How to build a Windows Phone agents capable of accessing various services at periodic intervals or continuously in the background
- About the state management in Windows Phone 8 applications and how to deal with reactivation, tombstoning, persisting & retrieving state and providing seamless continuity to your users