1 / 44

Windows Phone Multitasking & Live Tiles

Session Code. Product Manager, Windows Phone Developer. Microsoft Corporation. Windows Phone Multitasking & Live Tiles. Larry Lieberman. Key takeaways for Windows Phone. Broad set of multitasking features. Balances user experience with phone health. Familiar .NET programming model.

sook
Télécharger la présentation

Windows Phone Multitasking & Live Tiles

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Session Code Product Manager, Windows Phone Developer Microsoft Corporation Windows Phone Multitasking & Live Tiles Larry Lieberman

  2. Key takeaways for Windows Phone Broad set of multitasking features Balances user experience with phone health Familiar .NET programming model

  3. Windows Phone Multitasking Block Diagram Alarms & Reminders File Transfers Background Audio Periodic Execution Fast App Switching Built-in services 3rd-party services Resource Management

  4. Harmony Delightful and Responsive UX Battery-Friendly Health Never Regret Installing Apps Network-Aware Integrated Experiences Hardened Services UX

  5. Multitasking and Phone Health New OS services Processing on demand Balance foreground and background Align with system and user activity Monitor resource usage

  6. Fast Application Switching demo

  7. Fast App Switching Support Keeps user in control Compile and test for Mango Suspends application threads Load or refresh state* OS Compatible with 7.0 apps Reattach resources* * Only if needed.

  8. Application Lifecycle Reload / refresh state only if needed Activated Running Tombstoned Dormant Deactivated Application is resident in memory; system detaches resources and pauses threads Save state but do not discard it

  9. Alarms and Reminders Demo

  10. Alarms and Reminders - Overview Same UX as built-in alarms and reminders Deep link back into the application Efficient implementation based on OS services

  11. Background Transfer Service Demo

  12. Background Transfer Service - Limits 1 2 3 4 5

  13. Background Transfer Service - Limits 20 MB 20 MB Unlimited 100 MB 5 MB

  14. Background Transfer Service - Overview Balances functionality with phone health and user cost Simplifies download management in apps Efficient implementation based on OS services Persists across reboots

  15. Live Tiles Demo

  16. Live Tiles - Overview Pin multiple tiles to Start New flip animation with additional content Update three ways: push, schedule, or local API

  17. Background Agents demo

  18. End-to-End Architecture Developer Application OS MyApp Solution MyApp.dll MyApp Project Single App UX WMAppManifest Logic System Services ISO Store Cloud MyAppAgent Project Logic Different Processes MyAppAgent.dll

  19. Background Agents code

  20. Background Agents – Basic Functionality Allowed Restricted • Tile updates • Toasts • Location • Networking • Storage • Most framework APIs • Microphone • Camera • Sensors • Graphics • Audio • All XNA libraries

  21. Background Agents – Two Flavors Periodic Agent Resource-Intensive Agent • Runs every 30 minutes • Any network connection • Runs for 25 seconds • Used for location, data sync, etc. • Runs on external power • Non-cell network connection • Runs for 10 mins, recurring • Used for daily tasks, large data syncs, etc. ...when battery level is > 20% and battery saver is not on ...when battery level is > 90%

  22. Background Agents - Overview Separate resource-constrained process Managed by the OS to maintain phone health User stays in control via system settings Familiar .NET programming model

  23. Background Audio demo

  24. Background Audio Architecture 20/30 West End Girls Pet Shop Boys MusicApp.dll UX Zune Playback Cloud ISO Store All playback logic lives in the agent! Logic MusicAgent.dll

  25. Background Audio code

  26. Background Audio Playback - Overview HTML 5 Audio Playback in Internet Explorer Track-based playback for standard formats Buffer-based playback for custom formats Guaranteed resources for continuous playback

  27. Recap Broad set of multitasking features Balances user experience with phone health Familiar .NET programming model

  28. Health UX

  29. Related Content

  30. Resources

  31. Feedback Your feedback is very important! Please complete an evaluation form! Thank you!

  32. Questions? • Session Code • Speaker Name • Title • Email • Blog • … • You can ask your questions at “Ask the expert” zone within an hour after end of this session

  33. Session Code Company Name Company Title of Presentation Name

  34. Session Code Company Name Company Name Company Title of Presentation Name

  35. Contents

  36. Slide Title • First level • Second level • Third level • Fourth level • Fifth level

  37. PowerPoint Guidelines • Font, size, and color for text have been formatted for you in the Slide Master • Use the color palette shown below • Hyperlink color: www.microsoft.com Sample Fill Sample Fill Sample Fill Sample Fill Sample Fill Sample Fill

  38. Bar Chart Example

  39. Demo Title Name demo

  40. Video Title video

  41. Announcement Title announcement

  42. Code Sample • Get-Process –computername srv1 • class TechEdProgram • { • public static void Main() • { • System.Console.WriteLine("Hello, Tech·Ed!"); • } • }

More Related