Mike Ormond: Windows Phone 7 Development (DDD Guathon)
-
Upload
ukdpe -
Category
Technology
-
view
2.793 -
download
0
description
Transcript of Mike Ormond: Windows Phone 7 Development (DDD Guathon)
![Page 1: Mike Ormond: Windows Phone 7 Development (DDD Guathon)](https://reader033.fdocuments.us/reader033/viewer/2022052823/55529a81b4c905e8128b4e9d/html5/thumbnails/1.jpg)
7
Mike OrmondDeveloper Evangelist
Windows Phone 7Development
@MikeOrmondhttp://bit.ly/mikeormond
[email protected] Microsoft Ltd
![Page 2: Mike Ormond: Windows Phone 7 Development (DDD Guathon)](https://reader033.fdocuments.us/reader033/viewer/2022052823/55529a81b4c905e8128b4e9d/html5/thumbnails/2.jpg)
Fundamentals
![Page 3: Mike Ormond: Windows Phone 7 Development (DDD Guathon)](https://reader033.fdocuments.us/reader033/viewer/2022052823/55529a81b4c905e8128b4e9d/html5/thumbnails/3.jpg)
Three Red Threads
Relevant – your people, your
location
Personal – your day, your way
Connected – your stuff, your peace
of mind
![Page 4: Mike Ormond: Windows Phone 7 Development (DDD Guathon)](https://reader033.fdocuments.us/reader033/viewer/2022052823/55529a81b4c905e8128b4e9d/html5/thumbnails/4.jpg)
Hardware PlatformCapacitive touch4 or more contact points
SensorsA-GPS, Accelerometer, Compass, Light, Proximity
Camera5 mega pixels or more
MultimediaCommon detailed specs, Codec acceleration
Memory256MB RAM or more, 8GB Flash or more
GPUDirectX 9 acceleration
CPUARMv7 Cortex/Scorpion or better
80
0 (
48
0)
480 (320)
Hardware buttons | Back, Start, Search
![Page 5: Mike Ormond: Windows Phone 7 Development (DDD Guathon)](https://reader033.fdocuments.us/reader033/viewer/2022052823/55529a81b4c905e8128b4e9d/html5/thumbnails/5.jpg)
Building Applications
High performance game framework
Rapid creation of multi-screen 2D and 3D games
Rich content pipeline Mature, robust, widely adopted
technology Xbox 360, Windows, and Zune
Modern application UI framework
Rapid creation of visually stunning apps
Metro-themed UI controls
500,000 developers spanning Windows and web
![Page 6: Mike Ormond: Windows Phone 7 Development (DDD Guathon)](https://reader033.fdocuments.us/reader033/viewer/2022052823/55529a81b4c905e8128b4e9d/html5/thumbnails/6.jpg)
Silverlight Recipe
You don’t get everything in Silverlight 3 Eg DLR, HTML DOM Bridge, Sockets, JS programmability
Start with Silverlight 3
But you do get some extra bits Eg SIP, Manipulations, Launchers and other phone specific
features
Access to XNA features
And…
![Page 7: Mike Ormond: Windows Phone 7 Development (DDD Guathon)](https://reader033.fdocuments.us/reader033/viewer/2022052823/55529a81b4c905e8128b4e9d/html5/thumbnails/7.jpg)
XNA Recipe
Access to most namespaces
Game Studio 4
And…
Access to Silverlight features
![Page 8: Mike Ormond: Windows Phone 7 Development (DDD Guathon)](https://reader033.fdocuments.us/reader033/viewer/2022052823/55529a81b4c905e8128b4e9d/html5/thumbnails/8.jpg)
Development Tools
Expres
sBlen
d
for
Phon
e
Emulator
Windows Phone Developer Tools
(WPDT)
Visual Studio Debug
Silverlight & XNA Project
Types
- Emulator
- Device
Developer Registration Tool
XAP Deployment ToolBeta
![Page 9: Mike Ormond: Windows Phone 7 Development (DDD Guathon)](https://reader033.fdocuments.us/reader033/viewer/2022052823/55529a81b4c905e8128b4e9d/html5/thumbnails/9.jpg)
Development Process
C# XAML+
XAP
ManifestAssembliesResources
![Page 10: Mike Ormond: Windows Phone 7 Development (DDD Guathon)](https://reader033.fdocuments.us/reader033/viewer/2022052823/55529a81b4c905e8128b4e9d/html5/thumbnails/10.jpg)
Demo
![Page 11: Mike Ormond: Windows Phone 7 Development (DDD Guathon)](https://reader033.fdocuments.us/reader033/viewer/2022052823/55529a81b4c905e8128b4e9d/html5/thumbnails/11.jpg)
Marketplace
![Page 12: Mike Ormond: Windows Phone 7 Development (DDD Guathon)](https://reader033.fdocuments.us/reader033/viewer/2022052823/55529a81b4c905e8128b4e9d/html5/thumbnails/12.jpg)
Overview
DEEPEN CUSTOMER CONNECTION
Trial APIBroad business model & billing supportPush Notification, update & glance able tiles
EASILY MANAGE YOUR BUSINESS
Single self-service portalTransparent policies, open to 3rd party servicesBeta distribution service
INCREASED DISCOVERABILITY
Reach all WP7 consumers with worldwide distributionSingle easy-to-find marketplace on device & PCDaily, localized merchandising to promote the very best apps Unlimited Paid Apps
£67 + VAT
5 Free Apps
70% Revenue Share
Credit Card & Mobile Operator Billing
Device Unlock
Support for Trials and Betas
Details
![Page 13: Mike Ormond: Windows Phone 7 Development (DDD Guathon)](https://reader033.fdocuments.us/reader033/viewer/2022052823/55529a81b4c905e8128b4e9d/html5/thumbnails/13.jpg)
Connected
![Page 14: Mike Ormond: Windows Phone 7 Development (DDD Guathon)](https://reader033.fdocuments.us/reader033/viewer/2022052823/55529a81b4c905e8128b4e9d/html5/thumbnails/14.jpg)
REST WebClient HttpWebRequest
WCF (BasicHttpBinding) No custom bindings No sockets
Accessing Services
XboxLive
Mapping
Location Service
NotificationServices
Your Hosted Service
Windows Azure
Search
Existing Hosted Service
![Page 15: Mike Ormond: Windows Phone 7 Development (DDD Guathon)](https://reader033.fdocuments.us/reader033/viewer/2022052823/55529a81b4c905e8128b4e9d/html5/thumbnails/15.jpg)
Phone Concepts
![Page 16: Mike Ormond: Windows Phone 7 Development (DDD Guathon)](https://reader033.fdocuments.us/reader033/viewer/2022052823/55529a81b4c905e8128b4e9d/html5/thumbnails/16.jpg)
(Silverlight) Phone apps are navigation apps
Navigation
System.Windows.Application
Microsoft.Phone.Controls.PhoneApplicationFrame
RootVisual
Microsoft.Phone.Controls.PhoneApplicationPage
Page2
Microsoft.Phone.Controls.PhoneApplicationPage
Page1
Microsoft.Phone.Controls.PhoneApplicationPage
MainPage
Navig
atio
nServi
ce
MyApp
![Page 17: Mike Ormond: Windows Phone 7 Development (DDD Guathon)](https://reader033.fdocuments.us/reader033/viewer/2022052823/55529a81b4c905e8128b4e9d/html5/thumbnails/17.jpg)
App Lifecycle & Tombstoning
Not Starte
d
Launching
ClosingTerminat
edRunnin
g
Deactivated
Tombstoned
Activated
ApplicationBack-Stack
![Page 18: Mike Ormond: Windows Phone 7 Development (DDD Guathon)](https://reader033.fdocuments.us/reader033/viewer/2022052823/55529a81b4c905e8128b4e9d/html5/thumbnails/18.jpg)
Demo
![Page 19: Mike Ormond: Windows Phone 7 Development (DDD Guathon)](https://reader033.fdocuments.us/reader033/viewer/2022052823/55529a81b4c905e8128b4e9d/html5/thumbnails/19.jpg)
Push Notifications
Raw Live Tile Toast
![Page 20: Mike Ormond: Windows Phone 7 Development (DDD Guathon)](https://reader033.fdocuments.us/reader033/viewer/2022052823/55529a81b4c905e8128b4e9d/html5/thumbnails/20.jpg)
Push Notification Architecture
MicrosoftPush
NotificationServices
CloudApplicatio
n
Push Client
Push Library
Phone Applicatio
n
Request PNs
Unique Channel URI
Channel URI
HTTP POSTXML Payload
Push Notification
![Page 21: Mike Ormond: Windows Phone 7 Development (DDD Guathon)](https://reader033.fdocuments.us/reader033/viewer/2022052823/55529a81b4c905e8128b4e9d/html5/thumbnails/21.jpg)
Push Notifications
![Page 22: Mike Ormond: Windows Phone 7 Development (DDD Guathon)](https://reader033.fdocuments.us/reader033/viewer/2022052823/55529a81b4c905e8128b4e9d/html5/thumbnails/22.jpg)
Input
Touch
Soft Input PanelApplicati
on BarHardwareButtons
Accelerometer
![Page 23: Mike Ormond: Windows Phone 7 Development (DDD Guathon)](https://reader033.fdocuments.us/reader033/viewer/2022052823/55529a81b4c905e8128b4e9d/html5/thumbnails/23.jpg)
Demo
![Page 24: Mike Ormond: Windows Phone 7 Development (DDD Guathon)](https://reader033.fdocuments.us/reader033/viewer/2022052823/55529a81b4c905e8128b4e9d/html5/thumbnails/24.jpg)
Building Phone Applications
![Page 25: Mike Ormond: Windows Phone 7 Development (DDD Guathon)](https://reader033.fdocuments.us/reader033/viewer/2022052823/55529a81b4c905e8128b4e9d/html5/thumbnails/25.jpg)
Where am I?
Location services
WiFi
+ Accuracy- Power- Speed- Indoors
- Accuracy+ Power+ Speed- Wilderness
- Accuracy+/- Power+/- Speed+/- Urban areas
GPS
Towers
![Page 26: Mike Ormond: Windows Phone 7 Development (DDD Guathon)](https://reader033.fdocuments.us/reader033/viewer/2022052823/55529a81b4c905e8128b4e9d/html5/thumbnails/26.jpg)
Location
Managed Layer
Native Layer
GPS WiFi Cellular Radio
Cloud Servic
e
![Page 27: Mike Ormond: Windows Phone 7 Development (DDD Guathon)](https://reader033.fdocuments.us/reader033/viewer/2022052823/55529a81b4c905e8128b4e9d/html5/thumbnails/27.jpg)
Demo
![Page 28: Mike Ormond: Windows Phone 7 Development (DDD Guathon)](https://reader033.fdocuments.us/reader033/viewer/2022052823/55529a81b4c905e8128b4e9d/html5/thumbnails/28.jpg)
Hubs
![Page 29: Mike Ormond: Windows Phone 7 Development (DDD Guathon)](https://reader033.fdocuments.us/reader033/viewer/2022052823/55529a81b4c905e8128b4e9d/html5/thumbnails/29.jpg)
Panorama & Pivot
![Page 30: Mike Ormond: Windows Phone 7 Development (DDD Guathon)](https://reader033.fdocuments.us/reader033/viewer/2022052823/55529a81b4c905e8128b4e9d/html5/thumbnails/30.jpg)
Demo
![Page 31: Mike Ormond: Windows Phone 7 Development (DDD Guathon)](https://reader033.fdocuments.us/reader033/viewer/2022052823/55529a81b4c905e8128b4e9d/html5/thumbnails/31.jpg)
Windows Phone
Launchers & Choosers EmailComposeTask MarketplaceDetailTask MarketplaceHubTask MarketplaceLauncher MarketplaceReviewTask MarketplaceSearchTask MediaPlayerLauncher PhoneCallTask SearchTask SmsComposeTask WebBrowserTask
CameraCaptureTask EmailAddressChooserTask PhoneNumberChooserTask PhotoChooserTask SaveEmailAddressTask SavePhoneNumberTask
![Page 32: Mike Ormond: Windows Phone 7 Development (DDD Guathon)](https://reader033.fdocuments.us/reader033/viewer/2022052823/55529a81b4c905e8128b4e9d/html5/thumbnails/32.jpg)
Demo
![Page 33: Mike Ormond: Windows Phone 7 Development (DDD Guathon)](https://reader033.fdocuments.us/reader033/viewer/2022052823/55529a81b4c905e8128b4e9d/html5/thumbnails/33.jpg)
Orientation
![Page 34: Mike Ormond: Windows Phone 7 Development (DDD Guathon)](https://reader033.fdocuments.us/reader033/viewer/2022052823/55529a81b4c905e8128b4e9d/html5/thumbnails/34.jpg)
Themes
Purple
Magenta
Teal
Lime
Brown
Pink
Orange
Blue
Red
Green
![Page 35: Mike Ormond: Windows Phone 7 Development (DDD Guathon)](https://reader033.fdocuments.us/reader033/viewer/2022052823/55529a81b4c905e8128b4e9d/html5/thumbnails/35.jpg)
Demo
![Page 36: Mike Ormond: Windows Phone 7 Development (DDD Guathon)](https://reader033.fdocuments.us/reader033/viewer/2022052823/55529a81b4c905e8128b4e9d/html5/thumbnails/36.jpg)
Windows Phone
Where next?
http://bit.ly/wp7resources
http://developer.windowsphone.com
@MikeOrmond
http://bit.ly/mikeormond
http://wpug.net
![Page 37: Mike Ormond: Windows Phone 7 Development (DDD Guathon)](https://reader033.fdocuments.us/reader033/viewer/2022052823/55529a81b4c905e8128b4e9d/html5/thumbnails/37.jpg)
© 2010 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.