Presentation is loading. Please wait.

Presentation is loading. Please wait.

What’s Coming Next to the Windows Phone Application Platform Brandon

Similar presentations


Presentation on theme: "What’s Coming Next to the Windows Phone Application Platform Brandon"— Presentation transcript:

1 What’s Coming Next to the Windows Phone Application Platform Brandon Watson @brandonwatson

2 Windows Phone Microsoft Corporation. Core principles 2 ThePhone@microsoft.com 425-985-5568 @brandonwatson

3 Windows Phone Microsoft Corporation. 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 Windows Phone Microsoft Corporation. Integrating with the Phone Camera Access to the pipeline No need to capture the image to flash Networking Sockets Connection Manager control Sensors GPS Accelerometer Compass Gyro Spatial Framework Data SQL CE Phone Contacts Phone Calendar Launchers & Choosers Bing Maps E-mail Phone Number Address Chooser Controls Frame and Page Navigation improvements Performance Open Source on CodePlex

5 Windows Phone Microsoft Corporation. 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 Windows Phone Microsoft Corporation. Integrating with the Phone Camera Access to the pipeline No need to capture the image to flash Networking Sockets Connection Manager control Sensors GPS Accelerometer Compass Gyro Spatial Framework Data SQL CE Phone Contacts Phone Calendar Launchers & Choosers Bing Maps E-mail Phone Number Address Chooser Controls Frame and Page Navigation improvements Performance Open Source on CodePlex

7 Windows Phone Microsoft Corporation. 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 Windows Phone Microsoft Corporation. Contacts/Appointments Data Shared Contact Name and Picture Other contact dataAppointments/Events Windows Live SocialYES Windows Live Rolodex (user created and SIM import) YES n/a Exchange accounts (corporate plus Google, etc.) YES Operator Address BooksYES n/a FacebookYESNO Other networks in the People Hub (e.g., Twitter) NO

9 Windows Phone Microsoft Corporation. Integrating with the Phone Camera Access to the pipeline No need to capture the image to flash Networking Sockets Connection Manager control Sensors GPS Accelerometer Compass Gyro Spatial Framework Data SQL CE Phone Contacts Phone Calendar Launchers & Choosers Bing Maps E-mail Phone Number Address Chooser Controls Frame and Page Navigation improvements Performance Open Source on CodePlex

10 Windows Phone Microsoft Corporation. Integrating with the Phone Camera Access to the pipeline No need to capture the image to flash Networking Sockets Connection Manager control Sensors GPS Accelerometer Compass Gyro Spatial Framework Data SQL CE Phone Contacts Phone Calendar Launchers & Choosers Bing Maps E-mail Phone Number Address Chooser Controls Frame and Page Navigation improvements Performance Open Source on CodePlex

11 Windows Phone Microsoft Corporation. Expanding the Phone Framework Push Notifications Deep Toast More control over notifications Phone Extras Search Music Photos Tiles Signature user experience for Windows Phone Complete Framework Multiple Tiles

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

13 Windows Phone Microsoft Corporation. Three Easy Steps to Implement Search Extras 1. 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 2. Add an Extras.XML file to your XAP  Specify captions for each Bing category 3. 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 Windows Phone Microsoft Corporation. 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 Microsoft Corporation. Windows Phone Harmony Network Conscience Battery Friendly Hardened Services Delightful and Responsive UX Never Regret App Install Integrated Feel UX Health

16 Windows Phone Microsoft Corporation. Multitasking and Phone Health New OS services Processing on demandBalance foreground and backgroundAlign with system and user activity Monitor resource usage

17 Windows Phone Microsoft Corporation. Multitasking Cheat Sheet JobTool Resume quickly from the lock screenFast App Switching (it’s free!) Set an alarm or reminder at a precise timeBackground Notification Large file downloadsBackground Transfer Event-based toast/tile updatesPush Notifications Location-based services; regular toast/tile updates; data pre-caching; etc. Periodic Background Agent Play music in the backgroundBackground Audio Player Synchronize data; SETI@home; etc.Resource-Intensive Agent Real-time GPS trackingRun under the lock screen

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

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

20 Windows Phone Microsoft Corporation. Windows Phone Harmony - Health Network Conscience Battery Friendly Hardened Services  Efficient Network Usage  Aligned with radio  On Idle agents don’t use radio  New System Services  Secure  Performant  Reliable  Stress tested  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

21 Windows Phone Microsoft Corporation. Tools Investments.NET Performance Generational GC Serialization SIMD – Vector Profiler Tools New Template for Multitasking Debugging Background Agents Isolated Storage Explorer Profiler Emulator Sensors and Location in Emulator Multi Touch in Emulator Screen shot Ingestion Tool

22 Windows Phone Microsoft Corporation. DEMO  Profiler & Mapping

23 Windows Phone Microsoft Corporation. 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.comhttp://wpdev.uservoice.com  Released – User Voice for Windows Phone  Makes it very easy to integrate user feedback into your app

24 Windows Phone Microsoft Corporation. Silverlight Investments Silverlight 4 RichTextBox Implicit Styles Clipboard API Performance Memory Management Input on Render Thread Profiler Instrumentation International Reading/Writing of all Mango Languages Big deal if you are writing an app for Asia

25 Windows Phone Microsoft Corporation. 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 Windows Phone Microsoft Corporation. © 2011 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

27 The future. Oren Nachman Software Development Engineer in Test Silverlight for Windows Phone Thanks to Shawn Oster, PM Yesterday.

28 Windows Phone Microsoft Corporation. Agenda  Feedback  The Software Stack  Shifting Focuses  Overview of features coming in the next version  Silverlight 4 features vs. new phone features 28

29 Windows Phone Microsoft Corporation. Your feedback here 29  Mango

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

31 Windows Phone Microsoft Corporation. Silverlight Today 31 Features Silverlight 3 Networking Silverlight OR XNA Media 1st Class WP7 themed controls w/ InputScopes Manipulation events WebBrowserControl Performance Hardware Accelerated Render thread Automatic Cached Composition

32 Windows Phone Microsoft Corporation. Silverlight Tomorrow 32 Camera Title Two Point one and more Second point Third point goes here Title Three Point one and more Second point Third point goes here Features Silverlight 4 Sockets Silverlight & XNA Integration WebCam 1st Class Rendering and Input for all 7.X Supported Languages Control Improvements and Phone Integration WebBrowserControl using IE9 Performance List Scrolling Memory (OOM handling, working set) Profiler Instrumentation

33 Windows Phone Microsoft Corporation. Performance  ListBox scrolling  Memory working set  Off-thread image decoding  BackgroundCreation  Other targeted speed and graphics improvements 33

34 Windows Phone Microsoft Corporation. Feature Areas  General Silverlight 4 Improvements  Input  Output  Controls  Networking  Media & Graphics  Silverlight & XNA  Performance 34

35 Windows Phone Microsoft Corporation. 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

36 Windows Phone Microsoft Corporation. Input  Text  IME integration  TextBox events  Touch  Tap, DoubleTap, Hold 36

37 Windows Phone Microsoft Corporation. Output  Support for all languages on the phone  Red Squiggly 37

38 Windows Phone Microsoft Corporation. Controls  RichTextBox (read-only)  WebBrowser uses IE9  Clipboard API  Fixes for Silverlight Toolkit controls 38

39 Windows Phone Microsoft Corporation. Networking  Sockets  TCP, UDP Unicast, UDP Multicast  Other Improvements  Full header access  WebClient now returns on originating thread 39

40 Windows Phone Microsoft Corporation. Code Sample 40  Silverlight 4

41 Windows Phone Microsoft Corporation. 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

42 Windows Phone Microsoft Corporation. Silverlight & XNA  Page-level  Element-level 42

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

44 Windows Phone Microsoft Corporation. Creepy Twitter 44 Sam Jarawan

45 Windows Phone Microsoft Corporation. Q&A 45

46 Windows Phone Microsoft Corporation. © 2011 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION. 46


Download ppt "What’s Coming Next to the Windows Phone Application Platform Brandon"

Similar presentations


Ads by Google