Upload
ukdpe
View
1.848
Download
0
Tags:
Embed Size (px)
DESCRIPTION
An intro presentation for those familiar with Silverlight who want to understand more about Silverlight on Windows Phone.
Citation preview
Windows Phone 7
Mike OrmondMicrosoft
Silverlight for Windows Phone 7
@MikeOrmondhttp://bit.ly/mikeormond
Good news!
Albeit with a few gotchas
It is just Silverlight
The big picture
CLOUD
SCREEN
Notifications
Location Identity Feeds
MapsSocial
App Deployment
Cloud Services
Phone Emulator
Samples Documentation
Guides Community
Packaging and Verification Tools
Tools
Registration
Validation
Certification
Publishing
Marketplace
MO and CC Billing
Business Intelligence
Update Management
Portal Services
Sensors Media Data
Xbox LIVE Notifications
.NET Framework managed code sandbox
Location
Phone
Runtime
Hardware “chassis”Capacitive 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
480
Hardware buttons | Back, Start, Search
Framework choices
High performance game framework
Rapid creation of multi-screen 2D and 3D games
Rich content pipeline Mature, robust, widely
adopted technology Xbox 360 Windows Zune
Modern application UI framework
Rapid creation of visually stunning apps
Metro-themed UI controls
500,000 developers spanning Windows and web
Silverlight recipe
Remove a few things Eg DLR, HTML DOM Bridge, Sockets, JS programmability
Main ingredient is Silverlight 3
Add a few things Eg Gesture aware controls, SIP, Manipulation events,
Phone specifics
More detailed informationhttp://bit.ly/wp7slsummary | http://bit.ly/wp7sldetail
You also have access to XNA features
Development tools
Visual Studio Debug
Silverlight & XNA Project Types
- Emulator
- DeviceDeveloper Phone Registration
ToolXAP Deployment Tool
Capability Detection Tool
WPConnect Tool
Emulator
Windows Phone Developer Tools
(WPDT)
Expres
sBlen
d
for
Phon
e
http://bit.ly/rtmwpdt
Downloads
http://bit.ly/octupdatewpdt
Application distribution
C# / VB
XAML+
XAP
ManifestAssembliesResources
Navigation Phone apps are navigation apps
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
Application lifecycle The back stack
ApplicationBack-Stack
Terminated
Application lifecycle Tombstoning
Not Starte
d
Launching
ClosingRunnin
g
Deactivated
Tombstoned
Activated
Back ButtonPress
States
Events
Accessing phone features Launchers, choosers EmailComposeTask MarketplaceDetailTask MarketplaceHubTask MarketplaceReviewTask MarketplaceSearchTask MediaPlayerLauncher PhoneCallTask SearchTask SmsComposeTask WebBrowserTask
CameraCaptureTask EmailAddressChooserTa
sk PhoneNumberChooserT
ask PhotoChooserTask SaveEmailAddressTask SavePhoneNumberTask
Data
retu
rnedS
andbo
x
Network connectivity
WCF No sockets, custom bindings, dynamic proxies, duplex,
JSON serialisation
HTTP HttpWebRequest & WebClient
OData http://odata.codeplex.com/
Input
Touch
Soft Input PanelApplicati
on BarHardwareButtons
Accelerometer
Phone specific controls
Silverlight for Windows Phone Toolkithttp://bit.ly/agtoolkit
AutoCompleteBox ListPicker LongListSelector Page Transitions GestureService/
GestureListener ContextMenu DatePicker TimePicker ToggleSwitch WrapPanel
Push notifications
Raw Live Tile Toast
Push notification service
MicrosoftPush
NotificationServices
My CloudApplicatio
n
Push Client
Push Library
My Phone Applicatio
n
Push Notification
Location service
Cloud Lookup ServiceManaged API
My Phone Application
Native Layer
GPS
WiFi
Cellular
Radio
Windows Phone 7
http://bit.ly/
wp7resources
http://create.msdn.com
@MikeOrmond
http://bit.ly/
mikeormond mike.ormond@microsoft
.com