windows phone multitasking & live tiles

Post on 23-Feb-2016

46 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

DESCRIPTION

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. - PowerPoint PPT Presentation

TRANSCRIPT

Session Code

Windows Phone Multitasking & Live Tiles

Larry LiebermanProduct Manager, Windows Phone DeveloperMicrosoft Corporation

Key takeaways for Windows Phone

Broad set of multitasking featuresBalances user experience with phone healthFamiliar .NET programming model

Windows Phone Multitasking Block Diagram

Resource Management

Built-in services

3rd-party services

Alarms & Reminder

sFile

TransfersBackground Audio

Periodic Execution

Fast App Switching

Harmony

UX

Health Battery-Friendly

Network-Aware

Hardened Services

Delightful and Responsive UX

Never Regret Installing Apps

Integrated Experiences

Multitasking and Phone Health

Monitor resource usage

Align with system and user activity

Balance foreground and background

Processing on demand

New OS services

demo

Fast Application Switching

Fast App Switching Support

Keeps user in control

Compatible with 7.0

apps

Suspends application

threads

Load or refresh state*

Compileand test

for Mango

Reattach resources*

* Only if needed.

OS

Application Lifecycle

Save state but do not discard it

Reload / refresh state only if needed

Application is resident in memory; system detaches resources and pauses threads

Tombstoned

DeactivatedDormant

RunningActivated

Demo

Alarms and Reminders

Alarms and Reminders - Overview

Same UX as built-in alarms and remindersDeep link back into the applicationEfficient implementation based on OS services

Demo

Background Transfer Service

Background Transfer Service - Limits

1 2 3 4 5

Background Transfer Service - Limits

5 MB

20 MB

20 MB

100 MB

Unlimited

Background Transfer Service - Overview

Balances functionality with phone health and user costSimplifies download management in appsEfficient implementation based on OS servicesPersists across reboots

Demo

Live Tiles

Live Tiles - Overview

Pin multiple tiles to StartNew flip animation with additional contentUpdate three ways: push, schedule, or local API

demo

Background Agents

End-to-End Architecture

System Service

sISO StoreCloud

DifferentProcesses

LogicUX

MyApp.dll

Application OS

Logic

MyAppAgent.dll

Single App

DeveloperMyApp Solution

MyApp Project

MyAppAgent Project

WMAppManifest

code

Background Agents

Background Agents – Basic Functionality

Allowed RestrictedTile updatesToastsLocationNetworkingStorageMost framework APIs

MicrophoneCameraSensorsGraphicsAudioAll XNA libraries

Background Agents – Two Flavors

Periodic Agent Resource-Intensive Agent

Runs every 30 minutesAny network connectionRuns for 25 secondsUsed for location, data sync, etc.

Runs on external powerNon-cell network connectionRuns for 10 mins, recurringUsed for daily tasks, large data syncs, etc.

...when battery level is > 20% and battery saver is not on ...when battery level is > 90%

Background Agents - Overview

Separate resource-constrained processManaged by the OS to maintain phone healthUser stays in control via system settings

Familiar .NET programming model

demo

Background Audio

Background Audio Architecture

Zune Playbac

kISO StoreCloud

UXMusicApp.dll

LogicMusicAgent.d

ll

20/30

West End Girls Pet Shop Boys

All playback logic lives in the agent!

code

Background Audio

Background Audio Playback - Overview

HTML 5 Audio Playback in Internet ExplorerTrack-based playback for standard formatsBuffer-based playback for custom formatsGuaranteed resources for continuous playback

Recap

Broad set of multitasking featuresBalances user experience with phone healthFamiliar .NET programming model

Health

UX

Related Content

Resources

Feedback Your feedback is very important! Please complete an evaluation form!

Thank you!

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

Session Code

Title of Presentation

NameCompany

NameCompany

Session Code

Title of Presentation

Name Company

Name Company

Name Company

Contents

Slide Title First level

Second levelThird level

Fourth level Fifth level

PowerPoint GuidelinesFont, size, and color for text have been formatted for you in the Slide MasterUse the color palette shown belowHyperlink color: www.microsoft.com

Sample FillSample FillSample Fill

Sample FillSample FillSample Fill

Bar Chart Example

Category 1

Category 2

Category 3

Category 4

012345

Series 1Series 2Series 3

demo

Demo Title Name

video

Video Title

announcement

Announcement Title

Code Sample Get-Process –computername srv1

class TechEdProgram{

public static void Main(){

System.Console.WriteLine("Hello, Tech·Ed!");}

}

top related