SlideShare une entreprise Scribd logo
1  sur  32
Télécharger pour lire hors ligne
Silverlight development
for Windows Phone 7 CTP
Mike Taulty
Microsoft UK
mtaulty@microsoft.com
mtaulty.com
@mtaulty
Silverlight is...?
                                    4: line of business
                    3: out of browser
                                                     2010
2: .NET subset for RIA                  2009
                         2008
1: a media player

            2007
Silverlight is...?
                                    4: line of business
                    3: out of browser
                                                     2010
2: .NET subset for RIA                  2009
                         2008
1: a media player
                           a development platform
            2007           for Windows Phone 7
Silverlight development on the desktop
                                                       XAP


                     XAP


                      Manifest   Assembly   Resource
       C#

   Visual Basic

         XAML
                                                 Silverlight Fx/CLR
Silverlight development on Windows Phone 7

                                                Windows Phone
                                                 Marketplace
                    XAP


                     Manifest   Assembly   Resource
       C#

   Visual Basic

         XAML
                                                .NET Compact
                                               Framework/CLR
demo
“Hello World” on the phone
Silverlight functionality on Windows Phone 7



  a   super-subset TM     of Silverlight 3
Silverlight 3 functionality on the desktop
                    UI Capabilities                      Network
                                                         •   HTTP(S)
   Graphics              Media                Controls   •   WCF HTTP(S)
                                                         •   WCF Data Services
                                                         •   Sockets

                                                         Browser
                                                         • HTML Interop
                                                         • Javascript Interop
                                                         • SL  SL Local Messaging
         Composition, Layout, Styling, Resources,        File System
     Animation, Data Binding, Transformations, Effects
                                                         • File Access
                                                         • Isolated Storage
Silverlight 3 functionality on the desktop
Core Assemblies                       SDK Assemblies
   Browser Interop   Core UI          Controls                  WCF
                     • Controls
                                      •   DataGrid              • Data Services
    Serialization    • Media
                                      •   DescriptionViewer     • PollingDuplex
                     • Shapes
                                      •   Label                 • Syndication
     Networking      • etc
                                      •   ValidationSummary
                                      •   Calendar                Data Annotations
                     Core Framework
  WCF ServiceModel                    •   DatePicker
                     • Collections    •   GridSplitter                  JSON
                     • IO             •   TabControl
        XML
                     • Diagnostics                                   LINQ to XML
                                      •   TreeView
                     • Reflection
     Visual Basic                     •   AutoCompleteBox
                     • Threading                                  XML Serialization
                                      •   PagedCollectionView
                     • etc.
Silverlight 3 functionality in the Phone CTP
Core Assemblies                       SDK Assemblies
   Browser Interop   Core UI          Controls                  WCF
                     • Controls
                                      •   DataGrid              • Data Services
    Serialization    • Media
                                      •   DescriptionViewer     • PollingDuplex
                     • Shapes
                                      •   Label                 • Syndication
     Networking      • etc
                                      •   ValidationSummary
                                      •   Calendar                Data Annotations
                     Core Framework
  WCF ServiceModel                    •   DatePicker
                     • Collections    •   GridSplitter                  JSON
                     • IO             •   TabControl
        XML
                     • Diagnostics                                   LINQ to XML
                                      •   TreeView
                     • Reflection
     Visual Basic                     •   AutoCompleteBox
                     • Threading                                  XML Serialization
                                      •   PagedCollectionView
                     • etc.
Silverlight 3 functionality in the Phone CTP
                    UI Capabilities                      Network
   Graphics              Media                Controls   • HTTP(S)
                                                         • WCF HTTP(S)
                                                         File System
                                                         • Isolated Storage

                                                             Phone
         Composition, Layout, Styling, Resources,
     Animation, Data Binding, Transformations, Effects      Specific
                                                          Functionality
about
the phone...
application structure – navigation applications
   desktop Silverlight         phone Silverlight
        RootVisual                 RootVisual

       UserControl            PhoneApplicationFrame

         Content              PhoneApplicationPage

               Frame

                     Page
application lifecycle     app may be
                                                    Not
                          terminated              Running

              Shell
           Switch Apps
           Notification
                                          Exit              Startup




                              Paused              Running




                                       Obscured
controls and themes
    standard Silverlight controls re-themed

 wide margin for
 ease of touch


    support for dynamic theming based on
    user settings
demo
navigation & control theming
physical information about the phone

                                where is the phone?

  screen resolution?
                                    can I alert the user?

  screen orientation?
                                  is the phone moving?
where is the phone?
 GeoCoordinateWatcher watcher =
   new GeoCoordinateWatcher(GeoPositionAccuracy.Low); // saves power

 watcher.MovementThreshold = 20; // minimum of 20m - avoids noise, saves power

 watcher.StatusChanged += (sender, args) =>
 {
    if (args.Status == GeoPositionStatus.Ready) { // ready... }
 };

 watcher.PositionChanged += (sender, args) =>
 {
    double altitude = args.Position.Location.Altitude;
    double latitude = args.Position.Location.Latitude;
    double longitude = args.Position.Location.Longitude;
 };

 watcher.Start(); // this can throw and we should call Stop()     System.Device.Location.dll
where is that again?
 CivicAddressResolver resolver = new CivicAddressResolver();
 GeoCoordinate location = GetAlreadyDeterminedLocation();

 resolver.ResolveAddressCompleted += (sender, args) =>
 {
   if (args.Error == null)
   {
     string line1 = args.Address.AddressLine1;
     string line2 = args.Address.AddressLine2;
     string city = args.Address.City;
     // etc...
   }
 };

 resolver.ResolveAddressAsync(location);                 System.Device.Location.dll
is the phone moving? can I alert the user?
 AccelerometerSensor.Default.ReadingChanged += (sender, args) =>
 {
   if (args.Value.State == SensorState.Ready)
   {
     // Deltas X,Y,Z from -1 to +1 – should also check timestamp here
     if (args.Value.Value.Y >= -0.5)
     {
       // Help! I'm falling! Not sure this will help but...
       VibrateController.Default.Start(new TimeSpan(0, 0, 2));
     }
   }
 };
                                                         Microsoft.Devices.dll
 // this could throw & we should stop it at some point
 AccelerometerSensor.Default.Start();                        Microsoft.Devices.Sensors.dll
demo
physical aspects of the phone
input capabilities of the phone
                                     multi-touch

    soft
 input panel




 hardware buttons                 ApplicationBar
demo
input capabilities
reaching out to existing phone functionality
      Choosers                     Launchers
   Launchers
     • EmailAddressChooserTask    • BingMapsTask
      “fire and forget” an OS app• CameraCaptureTask
      • PhoneNumberChooserTask
      • PhotoChooserTask          • EmailComposeTask
   Choosers                       • MarketplaceLauncher
                                  • MediaPlayerLauncher
      OS offers selection UI for app
                                  • PhoneCallTask
   WebBrowser control for HTML integration
                                  • SaveEmailAddressTask
                                  • SavePhoneNumberTask
                                  • SearchTask
                                  • SMSComposeTask
                                  • WebBrowserTask
demo
launchers, choosers, web browser
reaching out to the cloud for notifications
                        request
                        unique URI          Cloud Service


         MyApp
                            URI
                                                      HTTP POST
                 transmission
                 of this URI is            Service (or Client)
                 “out of band”       URI
                                            with push data
reaching out to the cloud for notifications

                                                        Cloud Service


         MyApp

                                                                  HTTP POST
            notification types
            •    raw – only to a foreground app
            •    toast – foreground app or as a
                 toast if app is not foreground
            •    tile – always to the tile & also to
                                                       Service (or Client)
                 the app if in the foreground           with push data
demo
push notifications
reaching out to XNA functionality

   XNA libraries offer additional functionality
      e.g. audio capture from phone’s microphone




   covered in Paul’s talk next...
resources
   developer.windowsphone.com
     Charles Petzold Preview Book
   learningwindowsphone.com
     Sample Chapters from O’Reilly Book
   channel9.msdn.com
     Windows Phone 7 Training Kit
   odata library for Windows Phone 7 CTP
   silverlight.net
© 2010 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.

Contenu connexe

Tendances

Mike Taulty Silverlight3 Dev Days Part2
Mike Taulty Silverlight3 Dev Days Part2Mike Taulty Silverlight3 Dev Days Part2
Mike Taulty Silverlight3 Dev Days Part2ukdpe
 
Silverlight
SilverlightSilverlight
SilverlightBiTWiSE
 
Introduction to Microsoft Silverlight
Introduction to Microsoft SilverlightIntroduction to Microsoft Silverlight
Introduction to Microsoft SilverlightGlen Gordon
 
Microsoft UK TechDays - Top 10 ASP.NET 4.0 Features
Microsoft UK TechDays - Top 10 ASP.NET 4.0 FeaturesMicrosoft UK TechDays - Top 10 ASP.NET 4.0 Features
Microsoft UK TechDays - Top 10 ASP.NET 4.0 Featuresukdpe
 
Getting Started with Flex and PHP
Getting Started with Flex and PHPGetting Started with Flex and PHP
Getting Started with Flex and PHPRyan Stewart
 
A Microsoft primer for PHP devs
A Microsoft primer for PHP devsA Microsoft primer for PHP devs
A Microsoft primer for PHP devsguest0a62e8
 
What Is Silverlight
What Is SilverlightWhat Is Silverlight
What Is Silverlightukdpe
 
What Is Silverlight
What Is SilverlightWhat Is Silverlight
What Is Silverlightguest50274e
 
Flex And Ria
Flex And RiaFlex And Ria
Flex And Riaravinxg
 
Visual Studio 2010 IDE Enhancements - Alex Mackey, Readify
Visual Studio 2010 IDE Enhancements - Alex Mackey, ReadifyVisual Studio 2010 IDE Enhancements - Alex Mackey, Readify
Visual Studio 2010 IDE Enhancements - Alex Mackey, ReadifyREADIFY
 
RIA Development via Adobe Flex + JRuby on Rails
RIA Development via Adobe Flex + JRuby on RailsRIA Development via Adobe Flex + JRuby on Rails
RIA Development via Adobe Flex + JRuby on Railskamal.fariz
 
Apache Flex: Overview
Apache Flex: OverviewApache Flex: Overview
Apache Flex: OverviewTarun Telang
 
Web changesandasp4 upload
Web changesandasp4 uploadWeb changesandasp4 upload
Web changesandasp4 uploadREADIFY
 
ASP.NET 4 & Web Dev in Visual Studio 2010 - Alex Mackey, Readify
ASP.NET 4 & Web Dev in Visual Studio 2010 - Alex Mackey, ReadifyASP.NET 4 & Web Dev in Visual Studio 2010 - Alex Mackey, Readify
ASP.NET 4 & Web Dev in Visual Studio 2010 - Alex Mackey, ReadifyREADIFY
 
Silverlight
SilverlightSilverlight
Silverlightvishakpb
 
Chapter10 web
Chapter10 webChapter10 web
Chapter10 webREADIFY
 
Flex 4 Overview
Flex 4 OverviewFlex 4 Overview
Flex 4 OverviewRJ Owen
 

Tendances (18)

Mike Taulty Silverlight3 Dev Days Part2
Mike Taulty Silverlight3 Dev Days Part2Mike Taulty Silverlight3 Dev Days Part2
Mike Taulty Silverlight3 Dev Days Part2
 
Silverlight
SilverlightSilverlight
Silverlight
 
Introduction to Microsoft Silverlight
Introduction to Microsoft SilverlightIntroduction to Microsoft Silverlight
Introduction to Microsoft Silverlight
 
Microsoft UK TechDays - Top 10 ASP.NET 4.0 Features
Microsoft UK TechDays - Top 10 ASP.NET 4.0 FeaturesMicrosoft UK TechDays - Top 10 ASP.NET 4.0 Features
Microsoft UK TechDays - Top 10 ASP.NET 4.0 Features
 
Getting Started with Flex and PHP
Getting Started with Flex and PHPGetting Started with Flex and PHP
Getting Started with Flex and PHP
 
Multiplatform
MultiplatformMultiplatform
Multiplatform
 
A Microsoft primer for PHP devs
A Microsoft primer for PHP devsA Microsoft primer for PHP devs
A Microsoft primer for PHP devs
 
What Is Silverlight
What Is SilverlightWhat Is Silverlight
What Is Silverlight
 
What Is Silverlight
What Is SilverlightWhat Is Silverlight
What Is Silverlight
 
Flex And Ria
Flex And RiaFlex And Ria
Flex And Ria
 
Visual Studio 2010 IDE Enhancements - Alex Mackey, Readify
Visual Studio 2010 IDE Enhancements - Alex Mackey, ReadifyVisual Studio 2010 IDE Enhancements - Alex Mackey, Readify
Visual Studio 2010 IDE Enhancements - Alex Mackey, Readify
 
RIA Development via Adobe Flex + JRuby on Rails
RIA Development via Adobe Flex + JRuby on RailsRIA Development via Adobe Flex + JRuby on Rails
RIA Development via Adobe Flex + JRuby on Rails
 
Apache Flex: Overview
Apache Flex: OverviewApache Flex: Overview
Apache Flex: Overview
 
Web changesandasp4 upload
Web changesandasp4 uploadWeb changesandasp4 upload
Web changesandasp4 upload
 
ASP.NET 4 & Web Dev in Visual Studio 2010 - Alex Mackey, Readify
ASP.NET 4 & Web Dev in Visual Studio 2010 - Alex Mackey, ReadifyASP.NET 4 & Web Dev in Visual Studio 2010 - Alex Mackey, Readify
ASP.NET 4 & Web Dev in Visual Studio 2010 - Alex Mackey, Readify
 
Silverlight
SilverlightSilverlight
Silverlight
 
Chapter10 web
Chapter10 webChapter10 web
Chapter10 web
 
Flex 4 Overview
Flex 4 OverviewFlex 4 Overview
Flex 4 Overview
 

En vedette

MikeTaulty_Ux_Update
MikeTaulty_Ux_UpdateMikeTaulty_Ux_Update
MikeTaulty_Ux_Updateukdpe
 
Optimising your site for search engines
Optimising your site for search enginesOptimising your site for search engines
Optimising your site for search enginesukdpe
 
Microsoft UK TechDays - ASP.NET 4.0 Overview
Microsoft UK TechDays - ASP.NET 4.0 OverviewMicrosoft UK TechDays - ASP.NET 4.0 Overview
Microsoft UK TechDays - ASP.NET 4.0 Overviewukdpe
 
Cloud Computing Whats The Point(Master)
Cloud Computing   Whats The Point(Master)Cloud Computing   Whats The Point(Master)
Cloud Computing Whats The Point(Master)ukdpe
 
Mike Taulty MIX10 Silverlight 4 Accelerated Fundamentals
Mike Taulty MIX10 Silverlight 4 Accelerated FundamentalsMike Taulty MIX10 Silverlight 4 Accelerated Fundamentals
Mike Taulty MIX10 Silverlight 4 Accelerated Fundamentalsukdpe
 
MikeTaulty_Silverlight3
MikeTaulty_Silverlight3MikeTaulty_Silverlight3
MikeTaulty_Silverlight3ukdpe
 
Mike Taulty DevDays 2010 Silverlight 4 Networking
Mike Taulty DevDays 2010 Silverlight 4 NetworkingMike Taulty DevDays 2010 Silverlight 4 Networking
Mike Taulty DevDays 2010 Silverlight 4 Networkingukdpe
 
Microsoft's Web Platform
Microsoft's Web PlatformMicrosoft's Web Platform
Microsoft's Web Platformukdpe
 
Numerical ruby-rails-israel-2013
Numerical ruby-rails-israel-2013Numerical ruby-rails-israel-2013
Numerical ruby-rails-israel-2013Xavier Noria
 
SQL Azure Overview - ericnel
SQL Azure Overview - ericnelSQL Azure Overview - ericnel
SQL Azure Overview - ericnelukdpe
 

En vedette (14)

MikeTaulty_Ux_Update
MikeTaulty_Ux_UpdateMikeTaulty_Ux_Update
MikeTaulty_Ux_Update
 
Optimising your site for search engines
Optimising your site for search enginesOptimising your site for search engines
Optimising your site for search engines
 
Microsoft UK TechDays - ASP.NET 4.0 Overview
Microsoft UK TechDays - ASP.NET 4.0 OverviewMicrosoft UK TechDays - ASP.NET 4.0 Overview
Microsoft UK TechDays - ASP.NET 4.0 Overview
 
Cloud Computing Whats The Point(Master)
Cloud Computing   Whats The Point(Master)Cloud Computing   Whats The Point(Master)
Cloud Computing Whats The Point(Master)
 
App template
App templateApp template
App template
 
Mike Taulty MIX10 Silverlight 4 Accelerated Fundamentals
Mike Taulty MIX10 Silverlight 4 Accelerated FundamentalsMike Taulty MIX10 Silverlight 4 Accelerated Fundamentals
Mike Taulty MIX10 Silverlight 4 Accelerated Fundamentals
 
Comitati e campagna di informazione
Comitati e campagna di informazioneComitati e campagna di informazione
Comitati e campagna di informazione
 
презентация для ра Mini (2)
презентация для ра Mini (2)презентация для ра Mini (2)
презентация для ра Mini (2)
 
SEG March Flash Report
SEG March Flash ReportSEG March Flash Report
SEG March Flash Report
 
MikeTaulty_Silverlight3
MikeTaulty_Silverlight3MikeTaulty_Silverlight3
MikeTaulty_Silverlight3
 
Mike Taulty DevDays 2010 Silverlight 4 Networking
Mike Taulty DevDays 2010 Silverlight 4 NetworkingMike Taulty DevDays 2010 Silverlight 4 Networking
Mike Taulty DevDays 2010 Silverlight 4 Networking
 
Microsoft's Web Platform
Microsoft's Web PlatformMicrosoft's Web Platform
Microsoft's Web Platform
 
Numerical ruby-rails-israel-2013
Numerical ruby-rails-israel-2013Numerical ruby-rails-israel-2013
Numerical ruby-rails-israel-2013
 
SQL Azure Overview - ericnel
SQL Azure Overview - ericnelSQL Azure Overview - ericnel
SQL Azure Overview - ericnel
 

Similaire à Mike Taulty TechDays 2010 Silverlight and Windows Phone 7 CTP

HTML 5 Development for Windows Phone and Desktop
HTML 5 Development for Windows Phone and DesktopHTML 5 Development for Windows Phone and Desktop
HTML 5 Development for Windows Phone and DesktopDoris Chen
 
Mike Taulty DevDays 2010 Silverlight 4 - What's New Part 1
Mike Taulty DevDays 2010 Silverlight 4 - What's New Part 1Mike Taulty DevDays 2010 Silverlight 4 - What's New Part 1
Mike Taulty DevDays 2010 Silverlight 4 - What's New Part 1ukdpe
 
Real World Architectures Using Windows Azure Mobile Services
Real World Architectures Using Windows Azure Mobile ServicesReal World Architectures Using Windows Azure Mobile Services
Real World Architectures Using Windows Azure Mobile ServicesKristof Rennen
 
Android application development
Android application developmentAndroid application development
Android application developmentLinh Vi Tường
 
Next Generation Web Attacks – HTML 5, DOM(L3) and XHR(L2)
Next Generation Web Attacks – HTML 5, DOM(L3) and XHR(L2)Next Generation Web Attacks – HTML 5, DOM(L3) and XHR(L2)
Next Generation Web Attacks – HTML 5, DOM(L3) and XHR(L2)Shreeraj Shah
 
Building Rich Internet Apps with Silverlight 2
Building Rich Internet Apps with Silverlight 2Building Rich Internet Apps with Silverlight 2
Building Rich Internet Apps with Silverlight 2Microsoft Iceland
 
Client Continuum Dec Fy09
Client Continuum Dec Fy09Client Continuum Dec Fy09
Client Continuum Dec Fy09Martha Rotter
 
Mike Taulty TechDays 2010 Silverlight 4 - What's New?
Mike Taulty TechDays 2010 Silverlight 4 - What's New?Mike Taulty TechDays 2010 Silverlight 4 - What's New?
Mike Taulty TechDays 2010 Silverlight 4 - What's New?ukdpe
 
Silverlight Framework Architecture
Silverlight Framework ArchitectureSilverlight Framework Architecture
Silverlight Framework ArchitectureAshok
 
Cloudonomics IP Monetization Conf - Malaysia
Cloudonomics IP Monetization Conf - MalaysiaCloudonomics IP Monetization Conf - Malaysia
Cloudonomics IP Monetization Conf - MalaysiaBash Badawi
 
MMT 30: Windows Phone Director’s Cut
MMT 30: Windows Phone Director’s CutMMT 30: Windows Phone Director’s Cut
MMT 30: Windows Phone Director’s CutMMT - Multimediatreff
 
Silverlight 4 & Windows Phone 7 at Zup Zip Black Coffee#5
Silverlight 4 & Windows Phone 7 at Zup Zip Black Coffee#5Silverlight 4 & Windows Phone 7 at Zup Zip Black Coffee#5
Silverlight 4 & Windows Phone 7 at Zup Zip Black Coffee#5SoftEngine
 
Windows Phone 7 and Windows Azure – A Match Made in the Cloud
Windows Phone 7 and Windows Azure – A Match Made in the CloudWindows Phone 7 and Windows Azure – A Match Made in the Cloud
Windows Phone 7 and Windows Azure – A Match Made in the CloudMichael Collier
 
HTML5 Top 10 Threats - Silent Attacks and Stealth Exploits
HTML5 Top 10 Threats - Silent Attacks and Stealth ExploitsHTML5 Top 10 Threats - Silent Attacks and Stealth Exploits
HTML5 Top 10 Threats - Silent Attacks and Stealth ExploitsShreeraj Shah
 
Mike Taulty DevDays 2010 Silverlight 4 - What's New Part 2
Mike Taulty DevDays 2010 Silverlight 4 - What's New Part 2Mike Taulty DevDays 2010 Silverlight 4 - What's New Part 2
Mike Taulty DevDays 2010 Silverlight 4 - What's New Part 2ukdpe
 
Inland Empire .NET User's Group Silverlight Class
Inland Empire .NET User's Group Silverlight ClassInland Empire .NET User's Group Silverlight Class
Inland Empire .NET User's Group Silverlight Classiedotnetug
 

Similaire à Mike Taulty TechDays 2010 Silverlight and Windows Phone 7 CTP (20)

HTML 5 Development for Windows Phone and Desktop
HTML 5 Development for Windows Phone and DesktopHTML 5 Development for Windows Phone and Desktop
HTML 5 Development for Windows Phone and Desktop
 
Net framework
Net frameworkNet framework
Net framework
 
Mike Taulty DevDays 2010 Silverlight 4 - What's New Part 1
Mike Taulty DevDays 2010 Silverlight 4 - What's New Part 1Mike Taulty DevDays 2010 Silverlight 4 - What's New Part 1
Mike Taulty DevDays 2010 Silverlight 4 - What's New Part 1
 
Real World Architectures Using Windows Azure Mobile Services
Real World Architectures Using Windows Azure Mobile ServicesReal World Architectures Using Windows Azure Mobile Services
Real World Architectures Using Windows Azure Mobile Services
 
Android application development
Android application developmentAndroid application development
Android application development
 
Next Generation Web Attacks – HTML 5, DOM(L3) and XHR(L2)
Next Generation Web Attacks – HTML 5, DOM(L3) and XHR(L2)Next Generation Web Attacks – HTML 5, DOM(L3) and XHR(L2)
Next Generation Web Attacks – HTML 5, DOM(L3) and XHR(L2)
 
Building Rich Internet Apps with Silverlight 2
Building Rich Internet Apps with Silverlight 2Building Rich Internet Apps with Silverlight 2
Building Rich Internet Apps with Silverlight 2
 
Client Continuum Dec Fy09
Client Continuum Dec Fy09Client Continuum Dec Fy09
Client Continuum Dec Fy09
 
Mike Taulty TechDays 2010 Silverlight 4 - What's New?
Mike Taulty TechDays 2010 Silverlight 4 - What's New?Mike Taulty TechDays 2010 Silverlight 4 - What's New?
Mike Taulty TechDays 2010 Silverlight 4 - What's New?
 
Geek a-paloozaaa metro-xaml_appdev
Geek a-paloozaaa metro-xaml_appdevGeek a-paloozaaa metro-xaml_appdev
Geek a-paloozaaa metro-xaml_appdev
 
Silverlight Framework Architecture
Silverlight Framework ArchitectureSilverlight Framework Architecture
Silverlight Framework Architecture
 
Cloudonomics IP Monetization Conf - Malaysia
Cloudonomics IP Monetization Conf - MalaysiaCloudonomics IP Monetization Conf - Malaysia
Cloudonomics IP Monetization Conf - Malaysia
 
MMT 30: Windows Phone Director’s Cut
MMT 30: Windows Phone Director’s CutMMT 30: Windows Phone Director’s Cut
MMT 30: Windows Phone Director’s Cut
 
Silver Light1.0
Silver Light1.0Silver Light1.0
Silver Light1.0
 
Silverlight 4 & Windows Phone 7 at Zup Zip Black Coffee#5
Silverlight 4 & Windows Phone 7 at Zup Zip Black Coffee#5Silverlight 4 & Windows Phone 7 at Zup Zip Black Coffee#5
Silverlight 4 & Windows Phone 7 at Zup Zip Black Coffee#5
 
Windows Phone 7 and Windows Azure – A Match Made in the Cloud
Windows Phone 7 and Windows Azure – A Match Made in the CloudWindows Phone 7 and Windows Azure – A Match Made in the Cloud
Windows Phone 7 and Windows Azure – A Match Made in the Cloud
 
HTML5 Top 10 Threats - Silent Attacks and Stealth Exploits
HTML5 Top 10 Threats - Silent Attacks and Stealth ExploitsHTML5 Top 10 Threats - Silent Attacks and Stealth Exploits
HTML5 Top 10 Threats - Silent Attacks and Stealth Exploits
 
Mike Taulty DevDays 2010 Silverlight 4 - What's New Part 2
Mike Taulty DevDays 2010 Silverlight 4 - What's New Part 2Mike Taulty DevDays 2010 Silverlight 4 - What's New Part 2
Mike Taulty DevDays 2010 Silverlight 4 - What's New Part 2
 
Win8 ru
Win8 ruWin8 ru
Win8 ru
 
Inland Empire .NET User's Group Silverlight Class
Inland Empire .NET User's Group Silverlight ClassInland Empire .NET User's Group Silverlight Class
Inland Empire .NET User's Group Silverlight Class
 

Plus de ukdpe

Mike Ormond: Silverlight for Windows Phone 7 (UK TechDays)
Mike Ormond: Silverlight for Windows Phone 7 (UK TechDays)Mike Ormond: Silverlight for Windows Phone 7 (UK TechDays)
Mike Ormond: Silverlight for Windows Phone 7 (UK TechDays)ukdpe
 
Windows Phone 7: How (Not) to Fail Marketplace Ingestion
Windows Phone 7: How (Not) to Fail Marketplace IngestionWindows Phone 7: How (Not) to Fail Marketplace Ingestion
Windows Phone 7: How (Not) to Fail Marketplace Ingestionukdpe
 
Mike Ormond: Developing for Windows Phone 7
Mike Ormond: Developing for Windows Phone 7Mike Ormond: Developing for Windows Phone 7
Mike Ormond: Developing for Windows Phone 7ukdpe
 
Mike Taulty OData (NxtGen User Group UK)
Mike Taulty OData (NxtGen User Group UK)Mike Taulty OData (NxtGen User Group UK)
Mike Taulty OData (NxtGen User Group UK)ukdpe
 
Microsoft UK TechDays - jQuery and ASP.NET
Microsoft UK TechDays - jQuery and ASP.NETMicrosoft UK TechDays - jQuery and ASP.NET
Microsoft UK TechDays - jQuery and ASP.NETukdpe
 
Mike Taulty MIX10 Silverlight 4 Patterns Frameworks
Mike Taulty MIX10 Silverlight 4 Patterns FrameworksMike Taulty MIX10 Silverlight 4 Patterns Frameworks
Mike Taulty MIX10 Silverlight 4 Patterns Frameworksukdpe
 
Mike Taulty MIX10 Silverlight Frameworks and Patterns
Mike Taulty MIX10 Silverlight Frameworks and PatternsMike Taulty MIX10 Silverlight Frameworks and Patterns
Mike Taulty MIX10 Silverlight Frameworks and Patternsukdpe
 
Explaining The Cloud
Explaining The CloudExplaining The Cloud
Explaining The Cloudukdpe
 
Microsoft In Education - Steve Beswick
Microsoft In Education - Steve BeswickMicrosoft In Education - Steve Beswick
Microsoft In Education - Steve Beswickukdpe
 
How Microsoft Secures its Online Services [WHITEPAPER]
How Microsoft Secures its Online Services [WHITEPAPER]How Microsoft Secures its Online Services [WHITEPAPER]
How Microsoft Secures its Online Services [WHITEPAPER]ukdpe
 
Overview of Microsoft App-V 4.5
Overview of Microsoft App-V 4.5Overview of Microsoft App-V 4.5
Overview of Microsoft App-V 4.5ukdpe
 
Entity Framework 4 In Microsoft Visual Studio 2010 - ericnel
Entity Framework 4 In Microsoft Visual Studio 2010 - ericnelEntity Framework 4 In Microsoft Visual Studio 2010 - ericnel
Entity Framework 4 In Microsoft Visual Studio 2010 - ericnelukdpe
 
Ecm For The Masses Share Point 2010 Summit Tim Wallis Content And Code
Ecm For The Masses   Share Point 2010 Summit  Tim Wallis   Content And CodeEcm For The Masses   Share Point 2010 Summit  Tim Wallis   Content And Code
Ecm For The Masses Share Point 2010 Summit Tim Wallis Content And Codeukdpe
 
Share Point 2010 Product Overview BETA
Share Point 2010 Product Overview BETAShare Point 2010 Product Overview BETA
Share Point 2010 Product Overview BETAukdpe
 
SQL Server 2008 Security Overview
SQL Server 2008 Security OverviewSQL Server 2008 Security Overview
SQL Server 2008 Security Overviewukdpe
 

Plus de ukdpe (15)

Mike Ormond: Silverlight for Windows Phone 7 (UK TechDays)
Mike Ormond: Silverlight for Windows Phone 7 (UK TechDays)Mike Ormond: Silverlight for Windows Phone 7 (UK TechDays)
Mike Ormond: Silverlight for Windows Phone 7 (UK TechDays)
 
Windows Phone 7: How (Not) to Fail Marketplace Ingestion
Windows Phone 7: How (Not) to Fail Marketplace IngestionWindows Phone 7: How (Not) to Fail Marketplace Ingestion
Windows Phone 7: How (Not) to Fail Marketplace Ingestion
 
Mike Ormond: Developing for Windows Phone 7
Mike Ormond: Developing for Windows Phone 7Mike Ormond: Developing for Windows Phone 7
Mike Ormond: Developing for Windows Phone 7
 
Mike Taulty OData (NxtGen User Group UK)
Mike Taulty OData (NxtGen User Group UK)Mike Taulty OData (NxtGen User Group UK)
Mike Taulty OData (NxtGen User Group UK)
 
Microsoft UK TechDays - jQuery and ASP.NET
Microsoft UK TechDays - jQuery and ASP.NETMicrosoft UK TechDays - jQuery and ASP.NET
Microsoft UK TechDays - jQuery and ASP.NET
 
Mike Taulty MIX10 Silverlight 4 Patterns Frameworks
Mike Taulty MIX10 Silverlight 4 Patterns FrameworksMike Taulty MIX10 Silverlight 4 Patterns Frameworks
Mike Taulty MIX10 Silverlight 4 Patterns Frameworks
 
Mike Taulty MIX10 Silverlight Frameworks and Patterns
Mike Taulty MIX10 Silverlight Frameworks and PatternsMike Taulty MIX10 Silverlight Frameworks and Patterns
Mike Taulty MIX10 Silverlight Frameworks and Patterns
 
Explaining The Cloud
Explaining The CloudExplaining The Cloud
Explaining The Cloud
 
Microsoft In Education - Steve Beswick
Microsoft In Education - Steve BeswickMicrosoft In Education - Steve Beswick
Microsoft In Education - Steve Beswick
 
How Microsoft Secures its Online Services [WHITEPAPER]
How Microsoft Secures its Online Services [WHITEPAPER]How Microsoft Secures its Online Services [WHITEPAPER]
How Microsoft Secures its Online Services [WHITEPAPER]
 
Overview of Microsoft App-V 4.5
Overview of Microsoft App-V 4.5Overview of Microsoft App-V 4.5
Overview of Microsoft App-V 4.5
 
Entity Framework 4 In Microsoft Visual Studio 2010 - ericnel
Entity Framework 4 In Microsoft Visual Studio 2010 - ericnelEntity Framework 4 In Microsoft Visual Studio 2010 - ericnel
Entity Framework 4 In Microsoft Visual Studio 2010 - ericnel
 
Ecm For The Masses Share Point 2010 Summit Tim Wallis Content And Code
Ecm For The Masses   Share Point 2010 Summit  Tim Wallis   Content And CodeEcm For The Masses   Share Point 2010 Summit  Tim Wallis   Content And Code
Ecm For The Masses Share Point 2010 Summit Tim Wallis Content And Code
 
Share Point 2010 Product Overview BETA
Share Point 2010 Product Overview BETAShare Point 2010 Product Overview BETA
Share Point 2010 Product Overview BETA
 
SQL Server 2008 Security Overview
SQL Server 2008 Security OverviewSQL Server 2008 Security Overview
SQL Server 2008 Security Overview
 

Dernier

Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxChelloAnnAsuncion2
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A Beña
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfSpandanaRallapalli
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
Q4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxQ4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxnelietumpap1
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSJoshuaGantuangco2
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYKayeClaireEstoconing
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 

Dernier (20)

Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdf
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
Q4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxQ4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptx
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 

Mike Taulty TechDays 2010 Silverlight and Windows Phone 7 CTP

  • 1.
  • 2. Silverlight development for Windows Phone 7 CTP Mike Taulty Microsoft UK mtaulty@microsoft.com mtaulty.com @mtaulty
  • 3. Silverlight is...? 4: line of business 3: out of browser 2010 2: .NET subset for RIA 2009 2008 1: a media player 2007
  • 4. Silverlight is...? 4: line of business 3: out of browser 2010 2: .NET subset for RIA 2009 2008 1: a media player a development platform 2007 for Windows Phone 7
  • 5. Silverlight development on the desktop XAP XAP Manifest Assembly Resource C# Visual Basic XAML Silverlight Fx/CLR
  • 6. Silverlight development on Windows Phone 7 Windows Phone Marketplace XAP Manifest Assembly Resource C# Visual Basic XAML .NET Compact Framework/CLR
  • 8. Silverlight functionality on Windows Phone 7 a super-subset TM of Silverlight 3
  • 9. Silverlight 3 functionality on the desktop UI Capabilities Network • HTTP(S) Graphics Media Controls • WCF HTTP(S) • WCF Data Services • Sockets Browser • HTML Interop • Javascript Interop • SL  SL Local Messaging Composition, Layout, Styling, Resources, File System Animation, Data Binding, Transformations, Effects • File Access • Isolated Storage
  • 10. Silverlight 3 functionality on the desktop Core Assemblies SDK Assemblies Browser Interop Core UI Controls WCF • Controls • DataGrid • Data Services Serialization • Media • DescriptionViewer • PollingDuplex • Shapes • Label • Syndication Networking • etc • ValidationSummary • Calendar Data Annotations Core Framework WCF ServiceModel • DatePicker • Collections • GridSplitter JSON • IO • TabControl XML • Diagnostics LINQ to XML • TreeView • Reflection Visual Basic • AutoCompleteBox • Threading XML Serialization • PagedCollectionView • etc.
  • 11. Silverlight 3 functionality in the Phone CTP Core Assemblies SDK Assemblies Browser Interop Core UI Controls WCF • Controls • DataGrid • Data Services Serialization • Media • DescriptionViewer • PollingDuplex • Shapes • Label • Syndication Networking • etc • ValidationSummary • Calendar Data Annotations Core Framework WCF ServiceModel • DatePicker • Collections • GridSplitter JSON • IO • TabControl XML • Diagnostics LINQ to XML • TreeView • Reflection Visual Basic • AutoCompleteBox • Threading XML Serialization • PagedCollectionView • etc.
  • 12. Silverlight 3 functionality in the Phone CTP UI Capabilities Network Graphics Media Controls • HTTP(S) • WCF HTTP(S) File System • Isolated Storage Phone Composition, Layout, Styling, Resources, Animation, Data Binding, Transformations, Effects Specific Functionality
  • 14. application structure – navigation applications desktop Silverlight phone Silverlight RootVisual RootVisual UserControl PhoneApplicationFrame Content PhoneApplicationPage Frame Page
  • 15. application lifecycle app may be Not terminated Running Shell Switch Apps Notification Exit Startup Paused Running Obscured
  • 16. controls and themes standard Silverlight controls re-themed wide margin for ease of touch support for dynamic theming based on user settings
  • 18. physical information about the phone where is the phone? screen resolution? can I alert the user? screen orientation? is the phone moving?
  • 19. where is the phone? GeoCoordinateWatcher watcher = new GeoCoordinateWatcher(GeoPositionAccuracy.Low); // saves power watcher.MovementThreshold = 20; // minimum of 20m - avoids noise, saves power watcher.StatusChanged += (sender, args) => { if (args.Status == GeoPositionStatus.Ready) { // ready... } }; watcher.PositionChanged += (sender, args) => { double altitude = args.Position.Location.Altitude; double latitude = args.Position.Location.Latitude; double longitude = args.Position.Location.Longitude; }; watcher.Start(); // this can throw and we should call Stop() System.Device.Location.dll
  • 20. where is that again? CivicAddressResolver resolver = new CivicAddressResolver(); GeoCoordinate location = GetAlreadyDeterminedLocation(); resolver.ResolveAddressCompleted += (sender, args) => { if (args.Error == null) { string line1 = args.Address.AddressLine1; string line2 = args.Address.AddressLine2; string city = args.Address.City; // etc... } }; resolver.ResolveAddressAsync(location); System.Device.Location.dll
  • 21. is the phone moving? can I alert the user? AccelerometerSensor.Default.ReadingChanged += (sender, args) => { if (args.Value.State == SensorState.Ready) { // Deltas X,Y,Z from -1 to +1 – should also check timestamp here if (args.Value.Value.Y >= -0.5) { // Help! I'm falling! Not sure this will help but... VibrateController.Default.Start(new TimeSpan(0, 0, 2)); } } }; Microsoft.Devices.dll // this could throw & we should stop it at some point AccelerometerSensor.Default.Start(); Microsoft.Devices.Sensors.dll
  • 23. input capabilities of the phone multi-touch soft input panel hardware buttons ApplicationBar
  • 25. reaching out to existing phone functionality Choosers Launchers Launchers • EmailAddressChooserTask • BingMapsTask “fire and forget” an OS app• CameraCaptureTask • PhoneNumberChooserTask • PhotoChooserTask • EmailComposeTask Choosers • MarketplaceLauncher • MediaPlayerLauncher OS offers selection UI for app • PhoneCallTask WebBrowser control for HTML integration • SaveEmailAddressTask • SavePhoneNumberTask • SearchTask • SMSComposeTask • WebBrowserTask
  • 27. reaching out to the cloud for notifications request unique URI Cloud Service MyApp URI HTTP POST transmission of this URI is Service (or Client) “out of band” URI with push data
  • 28. reaching out to the cloud for notifications Cloud Service MyApp HTTP POST notification types • raw – only to a foreground app • toast – foreground app or as a toast if app is not foreground • tile – always to the tile & also to Service (or Client) the app if in the foreground with push data
  • 30. reaching out to XNA functionality XNA libraries offer additional functionality e.g. audio capture from phone’s microphone covered in Paul’s talk next...
  • 31. resources developer.windowsphone.com Charles Petzold Preview Book learningwindowsphone.com Sample Chapters from O’Reilly Book channel9.msdn.com Windows Phone 7 Training Kit odata library for Windows Phone 7 CTP silverlight.net
  • 32. © 2010 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.