NE Code Camp 14 - Introduction to Windows Phone 7 development with Silverlight
-
Upload
john-garland -
Category
Technology
-
view
1.086 -
download
1
description
Transcript of NE Code Camp 14 - Introduction to Windows Phone 7 development with Silverlight
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 – New Pivot & Panorama Controls• Demo – Application Lifetime• Demo – Launchers & Choosers• Demo – Hardware Interaction• 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– Developer Tools RTM 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– C# only (VB released as CTP 9/23, no go-live)
• 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
• Silverlight for Windows Phone Toolkit• 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 – New UI Controls• Pivot & Panorama
– Jeff Wilcox Article– Pivot
• “Tab Control” for the Phone• Take tab panels and “smear them horizontally”• All panels are same width
– Panorama• Panoramic background, with “views”• Each panel can be a different width
• Silverlight Toolkit– ContextMenu, DatePicker, TimePicker, ToggleSwitch,
WrapPanel– GestureListener. Provides events for:
• Tap, DoubleTap, Hold, DragStarted, DragDelta, DragCompleted, Flick, PinchStarted, PinchDelta, PinchCompleted
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 – Hardware Interaction
• Assisted-GPS• Accelerometer
– Accelerometer Helper Article• Vibration• Camera
http://blog.dotnetgator.com http://www.wintellect.com/cs/blogs
What’s Next• Phone Developer’s Site• MSDN Documentation• Team Blog • Petzold eBook• MSDN Code Samples• MSDN Unofficial Windows Phone 7 Controls and Components• Jesse Liberty’s iPhone to WP7 Tutorial• Making apps real, ideas, real devices
– Your MS-DPE’s Chris Bowen & Jim O’Neil– 2 Day Developer Launch, 10/12 & 10/13 - Royal Sonesta,
Boston– BizSpark– Mobile App Match
• Guidelines, Rules, and Templates– Windows Phone 7 Application Certification Requirements– Windows Phone UI Design & Interaction Guide v2– Design Templates for WP7
• Visual Basic CTP Tools for Windows Phone 7
http://blog.dotnetgator.com http://www.wintellect.com/cs/blogs
Related SessionsTime Room Session Speaker
9:10 – 10:10 MPR A An Introduction to Windows Phone 7 Development with Silverlight
John Garland
EBC MEF and Silverlight 4 Talbott Crowell
10:20 – 11:20
RI Silverlight 4 + MVVM + ICommand Andrew Scoppa
11:30 – 12:30
EBC Reactive Extensions Quickstart John Bowen
12:30 – 1:00 Kit & MPRB
LUNCH – Courtesy of Wintellect
1:00 – 2:00 RI Streaming Video with Silverlight Dan Hermes
2:10 – 3:10 MPR B Beginning Game Development for Windows Phone 7 Using XNA
Michael Cummings
RI Securing your Silverlight 4 Applications Robert Hurlbut
3:20 – 4:20 EBC Advanced Game Development for Windows Phone 7 Using XNA
Michael Cummings
RI Silverlight 4 + RIA Services + MVVM Andrew Scoppa
4:30 – 5:30 MPR A Microsoft Lightswitch: A Delicious New Way to Create Business Applications
Michael de la Maza
MPR B Building a Unified Experience – Developing with Silverlight 4 and Windows Phone 7
Evan Hutnick
5:40 – 6:40 MPR B Advanced Windows Phone 7 Development with Silverlight John Garland
PROV Prism Cross-Module Communications for Silverlight and WPF Frank Wu
http://blog.dotnetgator.com http://www.wintellect.com/cs/blogs
Final Thought
http://blog.dotnetgator.com http://www.wintellect.com/cs/blogs
Please Complete Your Evaluations
http://blog.dotnetgator.com http://www.wintellect.com/cs/blogs