1 / 46

What’s C oming N ext to the Windows Phone Application Platform

What’s C oming N ext to the Windows Phone Application Platform. Brandon Watson. @ brandonwatson. Core principles. ThePhone@microsoft.com 425-985-5568 @ brandonwatson. Major Investment A reas. Multi-tasking Enhanced Phone Framework XNA Silverlight Integration

lev
Download Presentation

What’s C oming N ext to the Windows Phone Application Platform

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. What’s Coming Next to the Windows Phone Application Platform Brandon Watson @brandonwatson

  2. Core principles ThePhone@microsoft.com 425-985-5568 @brandonwatson

  3. Major Investment Areas • Multi-tasking • Enhanced Phone Framework • XNA Silverlight Integration • Integrating with the phone • Performance • Database Access • Complete the push notification and Tile experience • Marketplace Services • Sockets

  4. Integrating with the Phone

  5. Hardware Availability and Debugging • Not all phones will have same hardware configuration • Gyro and Compass optional (but if Gyro present, Compass present) • Motion Sensor quality based on sensors present • Accelerometer, Gyro, and Compass - best quality • Accelerometer and Compass – good for AR scenarios(reduced quality without Gyro) • Physical hardware required for most debugging scenarios • Accelerometer can be debugged with emulator

  6. Integrating with the Phone

  7. New and updated APIs in “Mango” • Chooser Tasks related to user data • EmailAddressChooserTask • PhoneNumberChooserTask • AddressChooserTask • Microsoft.Phone.UserData for direct access • Contacts • Appointments • Important points • Contacts and Appointments APIs are read only • Third party social network data cannot be shared

  8. Contacts/Appointments Data Shared

  9. Integrating with the Phone

  10. Integrating with the Phone

  11. Expanding the Phone Framework

  12. What is App Connect? • Added functionality 3rd party apps provide for Bing items • Four item types: • Movies • Places • Events • Products

  13. Three Easy Steps to Implement Search Extras • Update your app’s Manifest • Use the Extensions element • One child Extension element for each category your app supports • Your app will appear in those items! • This is a great way to drive downloads if your app isn’t yet installed • Add an Extras.XML file to your XAP • Specify captions for each Bing category • Accept Context to automatically open the item in your app • Create a SearchExtras page that accepts parameters. • Search for the item using the parameters passed to your app.

  14. Multitasking Themes • Fast Application Resume • Ability to resume applications that the user has recently used • Apps stay in memory unless memory is needed for other apps • *Every* app should do this • Background Agents • Ability to run your code in the background • Audio, Timed or on Idle • Notifications • Ability to create alarms and reminders • UX and behavior is the same as the phone Alarms and Calendar items • Background Transfer Service • Application can queue up transfers in the background

  15. Windows Phone Harmony Delightful and Responsive UX Battery Friendly Health Never Regret App Install Network Conscience UX Integrated Feel Hardened Services

  16. Multitasking and Phone Health

  17. Multitasking Cheat Sheet

  18. Application Lifecycle Re-load state ONLY if tombstoned Application is resident in memory; system detaches resources and pauses threads Tombstoned Save but do not dispose of state

  19. Windows Phone Harmony - UX • Working Set • Maximize # of dormant apps • 5 MB for periodic • 10 MB for audio • BTS limits per app Delightful and Responsive UX • CPU • Balance foreground and background • Monitor usage Never Regret App Install • Periodic agents run serially when screen is on • App isolation is maintained • No app execution on install • Additional ingestion rules Integrated Feel

  20. Windows Phone Harmony - Health • New System Services • Secure • Performant • Reliable • Stress tested Battery Friendly • Efficient Network Usage • Aligned with radio • On Idle agents don’t use radio • Periodic Agents • CPL provides user control • Expire after 14 days • Run 15 seconds every 30 min • Cache GPS • Execute in parallel when screen is off • Participate in battery saver mode Network Conscience Hardened Services

  21. Tools Investments

  22. Profiler & Mapping DEMO

  23. Uservoice • We want to hear from you • Released – Windows Phone Developer Feedback App • Provides phone interface to make suggestions about Windows Phone Developer platform • Website http://wpdev.uservoice.com • Released – User Voice for Windows Phone • Makes it very easy to integrate user feedback into your app

  24. Silverlight Investments

  25. Call to Action • Keep building WP7 apps and submit them to marketplace • All apps are forward compatible • Mango allows you to build deeply integrated phone experiences • Multitasking opens up completely creative opportunities • Download the Beta WPDT today and start experimenting

  26. Thanks to Shawn Oster, PM The future. Yesterday. Oren Nachman Software Development Engineer in TestSilverlight for Windows Phone

  27. Agenda • Feedback • The Software Stack • Shifting Focuses • Overview of features coming in the next version • Silverlight 4 features vs. new phone features

  28. Mango Your feedback here

  29. The BigPicture Extras Calendar Contacts Maps Cloud and Integration Services Push, Alerts Silverlight and XNA integration FAS App Model UI Model Multitasking Gen GC SQL CE Software Architecture Silverlight 4.0 Hardware Foundation Camera, Sensors & Motion Flexible chassis SoC

  30. Silverlight Today

  31. Silverlight Tomorrow

  32. Performance • ListBox scrolling • Memory working set • Off-thread image decoding • BackgroundCreation • Other targeted speed and graphics improvements

  33. Feature Areas • General Silverlight 4 Improvements • Input • Output • Controls • Networking • Media & Graphics • Silverlight & XNA • Performance

  34. General Silverlight 4 Improvements • What It Is • Implicit styles • Data binding enhancements • ICommand support • What It’s Not • Printing, MouseWheel, Right-Click, Drag and Drop

  35. Input • Text • IME integration • TextBox events • Touch • Tap, DoubleTap, Hold

  36. Output • Support for all languages on the phone • Red Squiggly

  37. Controls • RichTextBox (read-only) • WebBrowser uses IE9 • Clipboard API • Fixes for Silverlight Toolkit controls

  38. Networking • Sockets • TCP, UDP Unicast, UDP Multicast • Other Improvements • Full header access • WebClient now returns on originating thread

  39. Silverlight 4 Code Sample

  40. Media and Graphics • WebCam API • Improved battery usage for video in MediaElement • 32 bits per pixel support • Defaults to 16, same as WP7 • VideoBrush

  41. Silverlight & XNA • Page-level • Element-level

  42. Thanks Jaime! Mango Application Lifecycle Fast App Resume Resuming .. . Restore state! IsAppInstancePreserved == false State preserved! IsAppInstancePreserved == true Save State! Tombstoned Tombstone the oldest app Phone resources detached Threads & timers suspended

  43. Sam Jarawan Creepy Twitter

  44. Q&A</kittens>

More Related