broad set of multitasking features balances user experience with phone health familiar.net...
TRANSCRIPT
![Page 1: Broad set of multitasking features Balances user experience with phone health Familiar.NET programming model](https://reader035.vdocuments.us/reader035/viewer/2022081603/56649e6a5503460f94b679aa/html5/thumbnails/1.jpg)
![Page 2: Broad set of multitasking features Balances user experience with phone health Familiar.NET programming model](https://reader035.vdocuments.us/reader035/viewer/2022081603/56649e6a5503460f94b679aa/html5/thumbnails/2.jpg)
Session Code
Windows Phone Multitasking & Live Tiles
Larry LiebermanProduct Manager, Windows Phone DeveloperMicrosoft Corporation
![Page 3: Broad set of multitasking features Balances user experience with phone health Familiar.NET programming model](https://reader035.vdocuments.us/reader035/viewer/2022081603/56649e6a5503460f94b679aa/html5/thumbnails/3.jpg)
Key takeaways for Windows Phone
Broad set of multitasking features
Balances user experience with phone health
Familiar .NET programming model
![Page 4: Broad set of multitasking features Balances user experience with phone health Familiar.NET programming model](https://reader035.vdocuments.us/reader035/viewer/2022081603/56649e6a5503460f94b679aa/html5/thumbnails/4.jpg)
Windows Phone Multitasking Block Diagram
Resource Management
Built-in services
3rd-party services
Alarms & Reminder
s
File Transfers
Background Audio
Periodic Execution
Fast A
pp
Sw
itchin
g
![Page 5: Broad set of multitasking features Balances user experience with phone health Familiar.NET programming model](https://reader035.vdocuments.us/reader035/viewer/2022081603/56649e6a5503460f94b679aa/html5/thumbnails/5.jpg)
Harmony
UX
Health Battery-Friendly
Network-Aware
Hardened Services
Delightful and Responsive UX
Never Regret Installing Apps
Integrated Experiences
![Page 6: Broad set of multitasking features Balances user experience with phone health Familiar.NET programming model](https://reader035.vdocuments.us/reader035/viewer/2022081603/56649e6a5503460f94b679aa/html5/thumbnails/6.jpg)
Multitasking and Phone Health
Monitor resource usage
Align with system and user activity
Balance foreground and background
Processing on demand
New OS services
![Page 7: Broad set of multitasking features Balances user experience with phone health Familiar.NET programming model](https://reader035.vdocuments.us/reader035/viewer/2022081603/56649e6a5503460f94b679aa/html5/thumbnails/7.jpg)
demo
Fast Application Switching
![Page 8: Broad set of multitasking features Balances user experience with phone health Familiar.NET programming model](https://reader035.vdocuments.us/reader035/viewer/2022081603/56649e6a5503460f94b679aa/html5/thumbnails/8.jpg)
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
![Page 9: Broad set of multitasking features Balances user experience with phone health Familiar.NET programming model](https://reader035.vdocuments.us/reader035/viewer/2022081603/56649e6a5503460f94b679aa/html5/thumbnails/9.jpg)
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
![Page 10: Broad set of multitasking features Balances user experience with phone health Familiar.NET programming model](https://reader035.vdocuments.us/reader035/viewer/2022081603/56649e6a5503460f94b679aa/html5/thumbnails/10.jpg)
Demo
Alarms and Reminders
![Page 11: Broad set of multitasking features Balances user experience with phone health Familiar.NET programming model](https://reader035.vdocuments.us/reader035/viewer/2022081603/56649e6a5503460f94b679aa/html5/thumbnails/11.jpg)
Alarms and Reminders - Overview
Same UX as built-in alarms and reminders
Deep link back into the application
Efficient implementation based on OS services
![Page 12: Broad set of multitasking features Balances user experience with phone health Familiar.NET programming model](https://reader035.vdocuments.us/reader035/viewer/2022081603/56649e6a5503460f94b679aa/html5/thumbnails/12.jpg)
Demo
Background Transfer Service
![Page 13: Broad set of multitasking features Balances user experience with phone health Familiar.NET programming model](https://reader035.vdocuments.us/reader035/viewer/2022081603/56649e6a5503460f94b679aa/html5/thumbnails/13.jpg)
Background Transfer Service - Limits
1 2 3 4 5
![Page 14: Broad set of multitasking features Balances user experience with phone health Familiar.NET programming model](https://reader035.vdocuments.us/reader035/viewer/2022081603/56649e6a5503460f94b679aa/html5/thumbnails/14.jpg)
Background Transfer Service - Limits
5 MB
20 MB
20 MB
100 MB
Unlimited
![Page 15: Broad set of multitasking features Balances user experience with phone health Familiar.NET programming model](https://reader035.vdocuments.us/reader035/viewer/2022081603/56649e6a5503460f94b679aa/html5/thumbnails/15.jpg)
Background Transfer Service - Overview
Balances functionality with phone health and user costSimplifies download management in appsEfficient implementation based on OS services
Persists across reboots
![Page 16: Broad set of multitasking features Balances user experience with phone health Familiar.NET programming model](https://reader035.vdocuments.us/reader035/viewer/2022081603/56649e6a5503460f94b679aa/html5/thumbnails/16.jpg)
Demo
Live Tiles
![Page 17: Broad set of multitasking features Balances user experience with phone health Familiar.NET programming model](https://reader035.vdocuments.us/reader035/viewer/2022081603/56649e6a5503460f94b679aa/html5/thumbnails/17.jpg)
Live Tiles - Overview
Pin multiple tiles to Start
New flip animation with additional contentUpdate three ways: push, schedule, or local API
![Page 18: Broad set of multitasking features Balances user experience with phone health Familiar.NET programming model](https://reader035.vdocuments.us/reader035/viewer/2022081603/56649e6a5503460f94b679aa/html5/thumbnails/18.jpg)
demo
Background Agents
![Page 19: Broad set of multitasking features Balances user experience with phone health Familiar.NET programming model](https://reader035.vdocuments.us/reader035/viewer/2022081603/56649e6a5503460f94b679aa/html5/thumbnails/19.jpg)
End-to-End Architecture
System Service
sISO StoreCloud
DifferentProcesses
Logic
UX
MyApp.dll
Application OS
Logic
MyAppAgent.dll
Single App
DeveloperMyApp Solution
MyApp Project
MyAppAgent Project
WMAppManifest
![Page 20: Broad set of multitasking features Balances user experience with phone health Familiar.NET programming model](https://reader035.vdocuments.us/reader035/viewer/2022081603/56649e6a5503460f94b679aa/html5/thumbnails/20.jpg)
code
Background Agents
![Page 21: Broad set of multitasking features Balances user experience with phone health Familiar.NET programming model](https://reader035.vdocuments.us/reader035/viewer/2022081603/56649e6a5503460f94b679aa/html5/thumbnails/21.jpg)
Background Agents – Basic Functionality
Allowed Restricted
Tile updatesToastsLocationNetworkingStorageMost framework APIs
MicrophoneCameraSensorsGraphicsAudioAll XNA libraries
![Page 22: Broad set of multitasking features Balances user experience with phone health Familiar.NET programming model](https://reader035.vdocuments.us/reader035/viewer/2022081603/56649e6a5503460f94b679aa/html5/thumbnails/22.jpg)
Background Agents – Two Flavors
Periodic AgentResource-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%
![Page 23: Broad set of multitasking features Balances user experience with phone health Familiar.NET programming model](https://reader035.vdocuments.us/reader035/viewer/2022081603/56649e6a5503460f94b679aa/html5/thumbnails/23.jpg)
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
![Page 24: Broad set of multitasking features Balances user experience with phone health Familiar.NET programming model](https://reader035.vdocuments.us/reader035/viewer/2022081603/56649e6a5503460f94b679aa/html5/thumbnails/24.jpg)
demo
Background Audio
![Page 25: Broad set of multitasking features Balances user experience with phone health Familiar.NET programming model](https://reader035.vdocuments.us/reader035/viewer/2022081603/56649e6a5503460f94b679aa/html5/thumbnails/25.jpg)
Background Audio Architecture
Zune Playbac
kISO StoreCloud
UX
MusicApp.dll
LogicMusicAgent.d
ll
20/30
West End Girls Pet Shop Boys
All playback logic lives in the agent!
![Page 26: Broad set of multitasking features Balances user experience with phone health Familiar.NET programming model](https://reader035.vdocuments.us/reader035/viewer/2022081603/56649e6a5503460f94b679aa/html5/thumbnails/26.jpg)
code
Background Audio
![Page 27: Broad set of multitasking features Balances user experience with phone health Familiar.NET programming model](https://reader035.vdocuments.us/reader035/viewer/2022081603/56649e6a5503460f94b679aa/html5/thumbnails/27.jpg)
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
![Page 28: Broad set of multitasking features Balances user experience with phone health Familiar.NET programming model](https://reader035.vdocuments.us/reader035/viewer/2022081603/56649e6a5503460f94b679aa/html5/thumbnails/28.jpg)
Recap
Broad set of multitasking features
Balances user experience with phone health
Familiar .NET programming model
![Page 29: Broad set of multitasking features Balances user experience with phone health Familiar.NET programming model](https://reader035.vdocuments.us/reader035/viewer/2022081603/56649e6a5503460f94b679aa/html5/thumbnails/29.jpg)
Health
UX
![Page 30: Broad set of multitasking features Balances user experience with phone health Familiar.NET programming model](https://reader035.vdocuments.us/reader035/viewer/2022081603/56649e6a5503460f94b679aa/html5/thumbnails/30.jpg)
Related Content
![Page 31: Broad set of multitasking features Balances user experience with phone health Familiar.NET programming model](https://reader035.vdocuments.us/reader035/viewer/2022081603/56649e6a5503460f94b679aa/html5/thumbnails/31.jpg)
Resources
![Page 32: Broad set of multitasking features Balances user experience with phone health Familiar.NET programming model](https://reader035.vdocuments.us/reader035/viewer/2022081603/56649e6a5503460f94b679aa/html5/thumbnails/32.jpg)
Feedback
Your feedback is very important! Please complete an evaluation form!
Thank you!
![Page 33: Broad set of multitasking features Balances user experience with phone health Familiar.NET programming model](https://reader035.vdocuments.us/reader035/viewer/2022081603/56649e6a5503460f94b679aa/html5/thumbnails/33.jpg)
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
![Page 34: Broad set of multitasking features Balances user experience with phone health Familiar.NET programming model](https://reader035.vdocuments.us/reader035/viewer/2022081603/56649e6a5503460f94b679aa/html5/thumbnails/34.jpg)
![Page 35: Broad set of multitasking features Balances user experience with phone health Familiar.NET programming model](https://reader035.vdocuments.us/reader035/viewer/2022081603/56649e6a5503460f94b679aa/html5/thumbnails/35.jpg)
Session Code
Title of Presentation
NameCompany
NameCompany
![Page 36: Broad set of multitasking features Balances user experience with phone health Familiar.NET programming model](https://reader035.vdocuments.us/reader035/viewer/2022081603/56649e6a5503460f94b679aa/html5/thumbnails/36.jpg)
Session Code
Title of Presentation
Name Company
Name Company
Name Company
![Page 37: Broad set of multitasking features Balances user experience with phone health Familiar.NET programming model](https://reader035.vdocuments.us/reader035/viewer/2022081603/56649e6a5503460f94b679aa/html5/thumbnails/37.jpg)
Contents
![Page 38: Broad set of multitasking features Balances user experience with phone health Familiar.NET programming model](https://reader035.vdocuments.us/reader035/viewer/2022081603/56649e6a5503460f94b679aa/html5/thumbnails/38.jpg)
Slide Title
First levelSecond level
Third level Fourth level
Fifth level
![Page 39: Broad set of multitasking features Balances user experience with phone health Familiar.NET programming model](https://reader035.vdocuments.us/reader035/viewer/2022081603/56649e6a5503460f94b679aa/html5/thumbnails/39.jpg)
PowerPoint Guidelines
Font, 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
![Page 40: Broad set of multitasking features Balances user experience with phone health Familiar.NET programming model](https://reader035.vdocuments.us/reader035/viewer/2022081603/56649e6a5503460f94b679aa/html5/thumbnails/40.jpg)
Bar Chart Example
Category 1
Category 2
Category 3
Category 4
0
1
2
3
4
5
Series 1Series 2Series 3
![Page 41: Broad set of multitasking features Balances user experience with phone health Familiar.NET programming model](https://reader035.vdocuments.us/reader035/viewer/2022081603/56649e6a5503460f94b679aa/html5/thumbnails/41.jpg)
demo
Demo Title
Name
![Page 42: Broad set of multitasking features Balances user experience with phone health Familiar.NET programming model](https://reader035.vdocuments.us/reader035/viewer/2022081603/56649e6a5503460f94b679aa/html5/thumbnails/42.jpg)
video
Video Title
![Page 43: Broad set of multitasking features Balances user experience with phone health Familiar.NET programming model](https://reader035.vdocuments.us/reader035/viewer/2022081603/56649e6a5503460f94b679aa/html5/thumbnails/43.jpg)
announcement
Announcement Title
![Page 44: Broad set of multitasking features Balances user experience with phone health Familiar.NET programming model](https://reader035.vdocuments.us/reader035/viewer/2022081603/56649e6a5503460f94b679aa/html5/thumbnails/44.jpg)
Code Sample
Get-Process –computername srv1
class TechEdProgram{
public static void Main(){
System.Console.WriteLine("Hello, Tech·Ed!");}
}