SlideShare a Scribd company logo
Designing and developing a Windows Phone 7 Silverlight Application End-to-End - Part 2
Katrien De Graeve
Developer Evangelist
Microsoft Belgium
Designing and Developing a
Windows Phone 7 Application in
Silverlight End-to-End – Part 2
SESSION CODE: WPH303
Part 1 Recap
Designing and developing a Windows Phone 7 Silverlight Application End-to-End - Part 2
5
CLOUD
SCREEN
Phone Emulator
Samples Documentation
Guides Community
Packaging and Verification Tools
Notifications
Location Identity Feeds
MapsSocial
App Deployment Registration
Validation
Certification
Publishing
Marketplace
MO and CC Billing
Business Intelligence
Update Management
Elements of the Windows Phone 7 Application Platform
Tools
Portal ServicesCloud Services
Sensors Media Data
Xbox LIVE Notifications
.NET Framework managed code sandbox
Location
Phone
Runtime – On “Screen”
6
Location
Location
services
+ Accuracy
- Power
- Speed
- Indoors- Accuracy
+ Power
+ Speed
- Wilderness
+/- Accuracy
+/- Power
+/- Speed
+/- Urban areas
GPS
7
Bing Maps
Use of Location Services
Bing Maps Silverlight Control
Based on desktop version
New events and event argument classes (MapDragEventArgs,
MapFlickEventArgs, MapPan, MapResolved, MapZoom)
Differences Phone and Desktop versions:
http://msdn.microsoft.com/en-us/library/ff955762.aspx
Adding location and loading
real data
9
Tips, Tricks and Lessons Learned
Accessing location consumes battery, store location
Tip: use “Bing Maps Online Interactive SDK”
http://www.microsoft.com/maps/isdk/silverlight/
Create your Bing Maps developer key
http://msdn.microsoft.com/en-us/library/ff428642.aspx
10
Choosers and Launchers
APIs for launching built-in applications
Choosers: always return a value (CameraPictureTask,
PhotoChooserTask
Launchers: launch an application without returning any
value (PhoneCallTask, etc)
11
List of choosers and launchers
Launchers
BingMapsTask
MarketplaceDetailTask
MarketplaceHubTask
MarketplaceReviewTask
MarketplaceSearchTask
MediaPlayerLauncher
PhoneCallTask
SaveEmailAddressTask
SavePhoneNumberTask
(cont’d)
SearchTask
EmailComposeTask
SMSComposeTask
WebBrowserTask
Choosers
CameraCaptureTask
PhoneNumberChooserTask
PhotoChooserTask
EmailAddressChooserTask
14
Application Lifecycle and Tombstoning
PhoneApplicationService
App events
Application_Launching
Application_Activated
Application_Deactivated
Application_Closing
http://msdn.microsoft.com/en-us/library/ff817008(VS.92).aspx
Adding CameraCaptureTask
Saving data
demo
16
Tips, Tricks and Lessons Learned
Application execution lifecycle and tombstoning
CameraCaptureTask and testing on device
BackgroundWorker
17
Push Notifications
Server-initiated communication
Enables key background scenarios
Preserves battery life and user experience
18
New photos online!
Seattle, WA: Sunny and 85 degrees
Notification Types
1
4
1
5
19
Push Notifications: Data Flow
Push client
Push
service
Your
service
Tile
App
Toast
Send push data to URI
Send push
data to client
Send URI
to server
Open push channelReturn URIData to App
Data to toast
Data to tile
Event
out.loud Push Notification
demo
21
Tips, Tricks and Lessons Learned
BackgroundWorker
OData Service: ChangeInterceptor
Notify User visually and with vibration when inside app
You are in charge
Using a Tile Schedule:
http://msdn.microsoft.com/en-us/library/ff769548(v=VS.92).aspx
Closing the loop
Application bar, back key
demo
23
Finetuning, not covered
Orientation support
Integration with authentication & membership
Integration with Twitter
Unit testing
Error handling 
...
24
Session Objectives and Takeaways
High level overview of an end-to-end App
Integrate most of concepts in one sample
Cloud services
MVVM
Design of Views: Controls, Pages and Navigation
Development of ViewModel/Model
Integration with Phone and use of Phone Frameworks
25
Resources
Get started, all tooling is free and available to all:
http://developer.windowsphone.com
Performance on Windows Phone 7 – must read material:
http://windowsteamblog.com/windows_phone/b/wpdev/archive/2010/09/1
3/building-high-performance-silverlight-apps-on-windows-phone-7.aspx
Windows Phone 7 Jump Start training (12 hours training,
including labs and video):
http://blogs.msdn.com/b/mikeormond/archive/2010/08/19/windows-
phone-7-jumpstart-training-on-demand.aspx
26
Windows Phone 7: A New Kind of Phone
Mobility Smack Down
Related Content
Building Games for Windows Phone 7 with XNA
© 2008 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.

More Related Content

Viewers also liked (12)

PPTX
Web 2.0
gabiapaza
 
PDF
Members Receive 2015 PRSM Awards __April 2015
Bryan Walker
 
PPTX
Session 26 Henrik Eriksson
hener525
 
PPT
Trend Event for Engineering Companies
juliojoseperez
 
DOC
amaan cv
Amaan Azhar
 
PDF
frostllc
Kimberly Cowan
 
DOCX
The holiday of september 16th
ferg_v
 
PDF
Multi-mania 2013: HTML5 Games to native Windows apps - attach of the yeti
Katrien De Graeve
 
PDF
Acne toloza marianela - www.instituto taladriz.com.ar
www.InstitutoTaladriz.com.ar
 
PDF
Tríptic npc definitiu
ampaestel
 
PDF
Afiche
Cesfamgarin
 
PPTX
Sistemas bioclimaticos
Lyman
 
Web 2.0
gabiapaza
 
Members Receive 2015 PRSM Awards __April 2015
Bryan Walker
 
Session 26 Henrik Eriksson
hener525
 
Trend Event for Engineering Companies
juliojoseperez
 
amaan cv
Amaan Azhar
 
frostllc
Kimberly Cowan
 
The holiday of september 16th
ferg_v
 
Multi-mania 2013: HTML5 Games to native Windows apps - attach of the yeti
Katrien De Graeve
 
Acne toloza marianela - www.instituto taladriz.com.ar
www.InstitutoTaladriz.com.ar
 
Tríptic npc definitiu
ampaestel
 
Afiche
Cesfamgarin
 
Sistemas bioclimaticos
Lyman
 

Similar to Designing and developing a Windows Phone 7 Silverlight Application End-to-End - Part 2 (20)

PPTX
Designing and developing a Windows Phone 7 Silverlight Application End-to-End...
Katrien De Graeve
 
PPTX
Windows Phone 7 Architecture Overview
Bhavya Siddappa
 
PPTX
Build once deploy everywhere using the telerik platform
Aspenware
 
PPT
Modern C&C Systems, Using New Technologies
Tamir Khason
 
PPTX
Windows phone7 By Subodh
Prashant Singh
 
PDF
Building Cloud-Enabled Cross-Platform Mobile Apps in C# with Azure App Services
Nick Landry
 
DOCX
Resume for Ladan Jamali
Ladan Jamali
 
PPTX
NexGen Software Inc
pervinder
 
PDF
Windows Phone 7 Developer Guide Building connected mobile applications with M...
keysehemen2j
 
PDF
.NET Development
Businessware Technologies
 
PDF
Cloud-enabling the Next Generation of Mobile Apps
Nick Landry
 
ODP
droidcon2011
Mirko Lindner
 
PPTX
Windows azure mobile services and windows phone 8
Karthikeyan Anbarasan (AK)
 
DOC
Janakiraman_Apr2016_3SF
Janakiraman Elumalai
 
DOC
Janakiraman_Mar2016_SF
Janakiraman Elumalai
 
PPTX
Whats new windows phone 8 1
Qframe
 
PPTX
Ordina SOFTC Presentation - Windows Phone 7 and the cloud
Ordina Belgium
 
PPT
Getting started with android dev and test perspective
Gunjan Kumar
 
PPTX
WP7 Platform Architecture
Kivanc Ozuolmez
 
Designing and developing a Windows Phone 7 Silverlight Application End-to-End...
Katrien De Graeve
 
Windows Phone 7 Architecture Overview
Bhavya Siddappa
 
Build once deploy everywhere using the telerik platform
Aspenware
 
Modern C&C Systems, Using New Technologies
Tamir Khason
 
Windows phone7 By Subodh
Prashant Singh
 
Building Cloud-Enabled Cross-Platform Mobile Apps in C# with Azure App Services
Nick Landry
 
Resume for Ladan Jamali
Ladan Jamali
 
NexGen Software Inc
pervinder
 
Windows Phone 7 Developer Guide Building connected mobile applications with M...
keysehemen2j
 
.NET Development
Businessware Technologies
 
Cloud-enabling the Next Generation of Mobile Apps
Nick Landry
 
droidcon2011
Mirko Lindner
 
Windows azure mobile services and windows phone 8
Karthikeyan Anbarasan (AK)
 
Janakiraman_Apr2016_3SF
Janakiraman Elumalai
 
Janakiraman_Mar2016_SF
Janakiraman Elumalai
 
Whats new windows phone 8 1
Qframe
 
Ordina SOFTC Presentation - Windows Phone 7 and the cloud
Ordina Belgium
 
Getting started with android dev and test perspective
Gunjan Kumar
 
WP7 Platform Architecture
Kivanc Ozuolmez
 
Ad

More from Katrien De Graeve (7)

PPTX
Fitting the pieces together - at Drupal Summit Europe - 2011
Katrien De Graeve
 
PDF
IE9 Pinning workshop slides - MS Webcafe nr by the water
Katrien De Graeve
 
PPTX
Multi-mania: Hacking your way through website issues with F12 devtools
Katrien De Graeve
 
PPTX
Webcafe 3 - MIX11 hidden gems and top news
Katrien De Graeve
 
PPTX
TechDays 2011 Belgium & Lux - Resources
Katrien De Graeve
 
PPTX
UX@Vitra - Experience Continuum
Katrien De Graeve
 
PPTX
phpbenelux - Microsoft & PHP (Web Platform Installer, Bridges and Azure)
Katrien De Graeve
 
Fitting the pieces together - at Drupal Summit Europe - 2011
Katrien De Graeve
 
IE9 Pinning workshop slides - MS Webcafe nr by the water
Katrien De Graeve
 
Multi-mania: Hacking your way through website issues with F12 devtools
Katrien De Graeve
 
Webcafe 3 - MIX11 hidden gems and top news
Katrien De Graeve
 
TechDays 2011 Belgium & Lux - Resources
Katrien De Graeve
 
UX@Vitra - Experience Continuum
Katrien De Graeve
 
phpbenelux - Microsoft & PHP (Web Platform Installer, Bridges and Azure)
Katrien De Graeve
 
Ad

Recently uploaded (20)

PDF
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
PDF
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
PPTX
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
PDF
The Builder’s Playbook - 2025 State of AI Report.pdf
jeroen339954
 
PDF
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
PPTX
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PDF
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
PDF
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
PPTX
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
PDF
July Patch Tuesday
Ivanti
 
PDF
Blockchain Transactions Explained For Everyone
CIFDAQ
 
PDF
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
PDF
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PDF
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
PDF
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
PDF
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
PDF
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
PDF
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
The Builder’s Playbook - 2025 State of AI Report.pdf
jeroen339954
 
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
July Patch Tuesday
Ivanti
 
Blockchain Transactions Explained For Everyone
CIFDAQ
 
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 

Designing and developing a Windows Phone 7 Silverlight Application End-to-End - Part 2

  • 2. Katrien De Graeve Developer Evangelist Microsoft Belgium Designing and Developing a Windows Phone 7 Application in Silverlight End-to-End – Part 2 SESSION CODE: WPH303
  • 5. 5 CLOUD SCREEN Phone Emulator Samples Documentation Guides Community Packaging and Verification Tools Notifications Location Identity Feeds MapsSocial App Deployment Registration Validation Certification Publishing Marketplace MO and CC Billing Business Intelligence Update Management Elements of the Windows Phone 7 Application Platform Tools Portal ServicesCloud Services Sensors Media Data Xbox LIVE Notifications .NET Framework managed code sandbox Location Phone Runtime – On “Screen”
  • 6. 6 Location Location services + Accuracy - Power - Speed - Indoors- Accuracy + Power + Speed - Wilderness +/- Accuracy +/- Power +/- Speed +/- Urban areas GPS
  • 7. 7 Bing Maps Use of Location Services Bing Maps Silverlight Control Based on desktop version New events and event argument classes (MapDragEventArgs, MapFlickEventArgs, MapPan, MapResolved, MapZoom) Differences Phone and Desktop versions: http://msdn.microsoft.com/en-us/library/ff955762.aspx
  • 8. Adding location and loading real data
  • 9. 9 Tips, Tricks and Lessons Learned Accessing location consumes battery, store location Tip: use “Bing Maps Online Interactive SDK” http://www.microsoft.com/maps/isdk/silverlight/ Create your Bing Maps developer key http://msdn.microsoft.com/en-us/library/ff428642.aspx
  • 10. 10 Choosers and Launchers APIs for launching built-in applications Choosers: always return a value (CameraPictureTask, PhotoChooserTask Launchers: launch an application without returning any value (PhoneCallTask, etc)
  • 11. 11 List of choosers and launchers Launchers BingMapsTask MarketplaceDetailTask MarketplaceHubTask MarketplaceReviewTask MarketplaceSearchTask MediaPlayerLauncher PhoneCallTask SaveEmailAddressTask SavePhoneNumberTask (cont’d) SearchTask EmailComposeTask SMSComposeTask WebBrowserTask Choosers CameraCaptureTask PhoneNumberChooserTask PhotoChooserTask EmailAddressChooserTask
  • 12. 14 Application Lifecycle and Tombstoning PhoneApplicationService App events Application_Launching Application_Activated Application_Deactivated Application_Closing http://msdn.microsoft.com/en-us/library/ff817008(VS.92).aspx
  • 14. 16 Tips, Tricks and Lessons Learned Application execution lifecycle and tombstoning CameraCaptureTask and testing on device BackgroundWorker
  • 15. 17 Push Notifications Server-initiated communication Enables key background scenarios Preserves battery life and user experience
  • 16. 18 New photos online! Seattle, WA: Sunny and 85 degrees Notification Types 1 4 1 5
  • 17. 19 Push Notifications: Data Flow Push client Push service Your service Tile App Toast Send push data to URI Send push data to client Send URI to server Open push channelReturn URIData to App Data to toast Data to tile Event
  • 19. 21 Tips, Tricks and Lessons Learned BackgroundWorker OData Service: ChangeInterceptor Notify User visually and with vibration when inside app You are in charge Using a Tile Schedule: http://msdn.microsoft.com/en-us/library/ff769548(v=VS.92).aspx
  • 20. Closing the loop Application bar, back key demo
  • 21. 23 Finetuning, not covered Orientation support Integration with authentication & membership Integration with Twitter Unit testing Error handling  ...
  • 22. 24 Session Objectives and Takeaways High level overview of an end-to-end App Integrate most of concepts in one sample Cloud services MVVM Design of Views: Controls, Pages and Navigation Development of ViewModel/Model Integration with Phone and use of Phone Frameworks
  • 23. 25 Resources Get started, all tooling is free and available to all: http://developer.windowsphone.com Performance on Windows Phone 7 – must read material: http://windowsteamblog.com/windows_phone/b/wpdev/archive/2010/09/1 3/building-high-performance-silverlight-apps-on-windows-phone-7.aspx Windows Phone 7 Jump Start training (12 hours training, including labs and video): http://blogs.msdn.com/b/mikeormond/archive/2010/08/19/windows- phone-7-jumpstart-training-on-demand.aspx
  • 24. 26 Windows Phone 7: A New Kind of Phone Mobility Smack Down Related Content Building Games for Windows Phone 7 with XNA
  • 25. © 2008 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.