• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content

Loading…

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

Like this presentation? Why not share!

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

on

  • 2,665 views

Slides from part 2 of my two-part session: Designing and developing a Windows Phone 7 Silverlight Application End-to-End

Slides from part 2 of my two-part session: Designing and developing a Windows Phone 7 Silverlight Application End-to-End

Statistics

Views

Total Views
2,665
Views on SlideShare
2,585
Embed Views
80

Actions

Likes
2
Downloads
0
Comments
0

4 Embeds 80

http://blogs.msdn.com 57
http://projectserverblogs.com 21
http://translate.googleusercontent.com 1
http://weblog.chrisricard.net 1

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

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

    • Katrien De Graeve
      Developer Evangelist
      Microsoft Belgium
      SESSION CODE: WPH303
      Designing and Developing a Windows Phone 7 Application in Silverlight End-to-End – Part 2
    • Part 1 Recap
    • Elements of the Windows Phone 7 Application Platform
      Tools
      Runtime – On “Screen”
      Phone Emulator
      Sensors
      Media
      Data
      Location
      Samples
      Documentation
      Xbox LIVE
      Notifications
      Phone
      Guides
      Community
      .NET Framework managed code sandbox
      Packaging and Verification Tools
      SCREEN
      CLOUD
      Portal Services
      Cloud Services
      Notifications
      App Deployment
      Registration
      Marketplace
      Validation
      MO and CC Billing
      Location
      Identity
      Feeds
      Certification
      Business Intelligence
      Maps
      Social
      Publishing
      Update Management
    • Location
      GPS
      +Accuracy
      -Power
      -Speed
      -Indoors
      -Accuracy
      +Power
      +Speed
      -Wilderness
      +/-Accuracy
      +/-Power
      +/-Speed
      +/-Urban areas
      Location services
      WiFi
      Cell towers
    • 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
    • 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
    • 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)
    • 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
    • Choosers & launchers that always tombstone app
      WebBrowserTask
      MarketplaceDetailTask
      MarketplaceHubTask
      MarketplaceReviewTask
      MarketplaceSearchTask
      SaveEmailAddressTask
      SavePhoneNumberTask
      SearchTask
      SmsComposeTask
    • Choosers & Launchers that may tombstone your app
      PhotoChooserTask
      CameraCaptureTask
      MediaPlayerLauncher
      EmailAddressChooserTask
      PhoneNumberChooserTask
      Multiplayer Game Invite (XNA)
      Gamer You Card (XNA)
    • 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 CameraCaptureTaskSaving data
      demo
    • Tips, Tricks and Lessons Learned
      Application execution lifecycle and tombstoning
      CameraCaptureTask and testing on device
      BackgroundWorker
    • Push Notifications
      Server-initiated communication
      Enables key background scenarios
      Preserves battery life and user experience
    • 14
      15
      New photos online!
      Seattle, WA: Sunny and 85 degrees
      Notification Types
    • Push Notifications: Data Flow
      Tile
      Push client
      Toast
      App
      Open push channel
      Data to App
      Return URI
      Data to toast
      Data to tile
      Push service
      Your service
      Send URI to server
      Event
      Send push data to client
      Send push data to URI
    • out.loud Push Notification
      demo
    • 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
    • Finetuning, not covered
      Orientation support
      Integration with authentication & membership
      Integration with Twitter
      Unit testing
      Error handling 
      ...
    • 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
    • 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/13/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
    • 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.