Upload
john-garland
View
1.285
Download
0
Embed Size (px)
DESCRIPTION
Slide deck presented at the 2010 Vermont Code Camp. Sample code and notes are available at http://cid-511766c2b5c5bdd3.office.live.com/browse.aspx/DotNet%20Presentations/Vermont%20Code%20Camp%2020100912/Windows%20Phone%207%20via%20Silverlight
Citation preview
Introducing Windows Phone 7 Development with Silverlight
John GarlandSenior Consultanthttp://blog.dotnetgator.com
http://blog.dotnetgator.com http://www.wintellect.com/cs/blogs
What we doConsulting | Debugging | Training
Who we areFounded by top experts on Microsoft– Jeffrey Richter, Jeff Prosise and John Robbins – we pull out all the stops to help our customers achieve their goals through advanced software-based consulting and training solutions.
How we do itConsulting & Debugging• Architecture, analysis, and design
services• Full Lifecycle custom software
development• Content creation• Project management• Debugging & performance tuning
Training• On-site instructor-led
training• Virtual instructor-led
training• Devscovery conferences
www.wintellect.com
http://blog.dotnetgator.com http://www.wintellect.com/cs/blogs
Agenda
• Phone Basics• Demo – Application Basics• Demo – Navigation• Demo – Application Lifetime• Demo – Launchers & Choosers• Demo – Notification Services• Wrap up
http://blog.dotnetgator.com http://www.wintellect.com/cs/blogs
Basics – Overview
• Due out for “Holiday 2010”– Hardware RTM’ed on 9/1/2010– Tools are currently in Beta, with final
release scheduled for 9/16– Marketplace opens in “early October”
• Key Concepts– End-User Experience First– Marketplace– Hardware Specification– Development Platform
• Simpler than previous experiences• Silverlight 3+, XNA• Emulator or direct phone connection via
USB
http://blog.dotnetgator.com http://www.wintellect.com/cs/blogs
Basics – Design
• Glance & Go• “METRO” Design
– Inspired by transportation systems, Xbox, Zune, Media Center
– Clean, light, full-bleed, low-chrome
• Experience– Home (Tiles)– Hubs
http://blog.dotnetgator.com http://www.wintellect.com/cs/blogs
Basics – Hardware
Capacitive touch - 4 or more contact points
Sensors - A-GPS, Accelerometer, Compass, Light, Proximity
Camera - 5 mega pixels or more, flash required, camera button required
Multimedia - Common detailed specs, Codec acceleration
Memory - 256MB RAM or more, 8GB Flash or more
GPU - DirectX 9 acceleration
CPU - ARMv7 Cortex/Scorpion or better
Display - 800 WVGA / 480 HVGA
Hardware Buttons – Start, Search, Back
http://blog.dotnetgator.com http://www.wintellect.com/cs/blogs
Basics – Silverlight Development• Windows 7 / Vista required
– No XP, no Server OS– No VB support (yet) – C# only
• Silverlight 3+ phone-specific APIs– HW Integration
(Accelerometer, GPS, Camera, Microphone)– Hub Integration– Service Integration– Phone-specific navigation model– Not hosted in a browser window (no HTML Bridge)– Isolated storage – no quotas, no “Site”– Controls enhanced to support touch– Limited access to XNA assemblies from Silverlight
applications– MSDN - Differences between SL for WP7 & Windows
http://blog.dotnetgator.com http://www.wintellect.com/cs/blogs
Basics – Getting Started
• Windows Phone Developer Portal– http://developer.windowsphone.com
• Windows Phone 7 Training Kit• Windows Phone 7 Jump Start Videos
http://blog.dotnetgator.com http://www.wintellect.com/cs/blogs
DEMO – Application Basics
http://blog.dotnetgator.com http://www.wintellect.com/cs/blogs
DEMO - Navigation
App
Frame
Page Page Page
MSDN Section here
http://blog.dotnetgator.com http://www.wintellect.com/cs/blogs
DEMO – Application Lifetime
• 4 Application Events– Launching, Closed– Deactivated, Activated
• “Tombstoning”• MSDN – here• Yochay Kiriaty series @
Phone Dev Blog
http://blog.dotnetgator.com http://www.wintellect.com/cs/blogs
DEMO – Launchers & Choosers
Launchers Choosers
EmailComposeTaskMarketplaceDetailTaskMarketplaceHubTaskMarketplaceSearchTaskMediaPlayerLauncherPhoneCallTaskSmsComposeTaskWebBrowserTask
CameraCaptureTaskEmailAddressChooseTaskPhoneNumberChooseTaskPhotoChooserTaskSaveEmailAddressTaskSavePhoneNumberTask
• Ricky Tan Article
http://blog.dotnetgator.com http://www.wintellect.com/cs/blogs
Demo – Sensors
• Assisted-GPS• Accelerometer
– Accelerometer Helper Article• Vibration
http://blog.dotnetgator.com http://www.wintellect.com/cs/blogs
DEMO - Notification Services
Registration
Something Happens
URL
Application Notification Service
(App Developer)
Notification
MSFT Push
NotificationService
MSFT Push
NotificationService
Notify Phone
URL
Show Notification
Notification Service
(Phone OS)
Get U
RL
http://blog.dotnetgator.com http://www.wintellect.com/cs/blogs
What’s Next• Phone Developer’s Site• MSDN Documentation• Team Blog • Petzold eBook• Windows Phone UI Design & Interaction Guide v2• Design Templates for WP7• MSDN Code Samples• Making apps real, ideas, real devices
– Your MS-DPE’s Chris Bowen & Jim O’Neil– Firestarter & Garage – 9/30 in Farmington, CT– BizSpark– Mobile App Match
• Jesse Liberty’s iPhone to WP7 Tutorial
http://blog.dotnetgator.com http://www.wintellect.com/cs/blogs
Final Thought
http://blog.dotnetgator.com http://www.wintellect.com/cs/blogs