Windows Phone
Development

Puja Pramudya
Microsoft MVP
Bandung, 9 Maret 2012
about.me
   Microsoft MVP
   Independent
    Windows Phone
    Trainer
   Book Author
   Lead 5
    developers to
    build windows
    phone app
Agenda: Windows Phone 7
   General Concept                               Cloud and
      Metro                                      Integration
                                                   Services
   Software Architecture
      Silverlight Capabilities                  App      UI
   Application Model                           Model    Model
      Activation and Navigation
      Application Lifecycle                      Software
                                                 Architecture
   User Interface
      Application Bar and System Tray,
                                                  Hardware
        Panorama, Pivot                          Foundation
   Integration Services
      Launchers and Choosers, Tiles and Push
        Notifications, Location and Services
General Concept
Metro UI




5
Hardware Foundation
             Capacitive touch
             4 or more contact points

             Sensors
             A-GPS, Accelerometer, Compass, Light, Proximity,

             Camera (optional)
             5 mega pixels or more

             Multimedia
             Common detailed specs, Codec acceleration

             Memory
             256MB RAM or more, 8GB Flash or more

             GPU
             DirectX 9 acceleration

             CPU
             Qualcomm MSM8x55 800Mhz or higher
                    Hardware buttons | Back, Start,
                    Search
Windows Phone Device
   Samsung (Focus,Focus S, Omnia , Focus Flash)
   LG (E900,Jill-Sanders,C900,Miracle)
   ZTE (Tania,Orbit)
   Fujitsu
   Nokia (Lumia 710,Lumia 800, Lumia 610, Lumia
    900)
   Dell (Venue Pro)
   HTC (HD7,Pro,Trophy , Mozart,Titan,Titan II,
    Radar)
Shipment device
Analyst Projection
   Windows Phone will begin to make a resurgence
    in the second part of 2012, partially helped by
    Nokia devices By the end of the year, it will move
    into the Top 4 smartphone platforms: Android,
    iOS, BlackBerry, and Windows Phone

(Bill Dudley, Sybase 365 CIO.com: Mobile
  Predictions for 2012: Security, Payments,
  Windows Phone and More)
Analyst Projection
   Gartner projects market share of Microsoft’s
    Windows Phone to nearly double from 5.6% in
    2011 to 10.8% in 2012. Gartner expects Windows
    Phone to be the second largest smartphone
    platform by 2015.

(Gartner, April 2011 Forecast: Mobile
  Communications Devices by Open Operating
  System, Worldwide, 2008-2015)
Analyst Projection
   Windows Phone is poised to overtake Android’s
    massive market share as soon as 2013

— Stela Bakun, analyst,
 Pyramid Research
Two Flavors of Applications




12
Windows Phone Developer Tools
         Tools

     Phone Emulator                     Windows Phone
        Samples      Documentation
        Guides         Community               device
     Packaging and Verification Tools




               myapp.xap
                                                 Windows Phone
                                                 Emulator




13
Deployment Process
     Develop      Submit          Certify
     & Debug      & Validate      & Sign




          Windows Phone
          Application          Marketplace
          Deployment Service


14
Software
Architecture
Silverlight Capabilities
        Inputs
        XAML UI Core
        Media
        Data , Isolated Storage
        Base Class Library
        Communication
        Soft Input Panel

16
Software
Architecture
demo
Application
Model
Activation and Navigation
        Activation Events
           Handled by the Application instance
           Launching, Activated, Deactivated and
            Closing
        Navigation Events
           Handled by each
            PhoneApplicationPage class
           OnNavigatedTo, OnNavigatedFrom,
            OnBackKeyPressed,
            OnChooserReturn,
            OnOrientationChanged
        Controlled by
           Hardware using Back and Home keys
19
         
Application Lifecycle

  Load State!                          Save State!




                        -   Phone removed from
                            memory
                        -   Some state saved to storage
Fast Application Switching
        Handle by OS
        Maximum 6 applications




21
Application Model
demo
Cloud and
          Integration
           Services

UI       App
        Model
                  UI
                 Model

Model     Software
         Architecture


          Hardware
         Foundation
Application Bar and System Tray
        Application Bar
        System Tray
        Panorama
        Pivot
        Controls, Maps, WebBrowser




24
UI demo
Cloud and
                Integration
                 Services

Integration    App
              Model
                        UI
                       Model

Services        Software
               Architecture


                Hardware
               Foundation
Integration Services
        Launchers & Choosers
        Push Notification
        Location & Sensors
        Accelorometer
        Live Tile




27
Integration
Services
demo
Register Your Device
        Test on a physical device
        Register your device
        Install, run, and debug
         unsigned applications
        Use Zune to register your
         device



29                                   Windows Phone Microsoft Corporation.
Tale of two apps



0
Tale of two apps
Daily Social       MindTalk
Marketplace Stats




32
Application Stats




33
Business Opportunity
      Consumer apps (Trial API)
      Advertising (Microsoft Ad Center,
       others)
      Sponsored app (branded)



34
Success will follow …




35
Opportunity :
    Microsoft-Nokia in Indonesia


6
Build your own
     #windowsphone

37
8 steps
        Idea,idea,idea
        Get the latest Windows Phone SDK
        Learn the framework : Silverlight for app, XNA for
         games
        Consider specific feature from device & platform
        Incorporate Mango API
         (AR,scheduler,background agent)
        Testing,testing,testing
38
        Register to App Hub
Need our help ?
     Contact :
     nadhira@radyalabs.co
     m
39
Questions?



0
Res ources
Windows Phone
Development

Puja Pramudya
Microsoft MVP
Bandung, 9 Maret 2012

Windows Phone

  • 1.
  • 2.
    about.me  Microsoft MVP  Independent Windows Phone Trainer  Book Author  Lead 5 developers to build windows phone app
  • 3.
    Agenda: Windows Phone7  General Concept Cloud and  Metro Integration Services  Software Architecture  Silverlight Capabilities App UI  Application Model Model Model  Activation and Navigation  Application Lifecycle Software Architecture  User Interface  Application Bar and System Tray, Hardware Panorama, Pivot Foundation  Integration Services  Launchers and Choosers, Tiles and Push Notifications, Location and Services
  • 4.
  • 5.
  • 6.
    Hardware Foundation Capacitive touch 4 or more contact points Sensors A-GPS, Accelerometer, Compass, Light, Proximity, Camera (optional) 5 mega pixels or more Multimedia Common detailed specs, Codec acceleration Memory 256MB RAM or more, 8GB Flash or more GPU DirectX 9 acceleration CPU Qualcomm MSM8x55 800Mhz or higher Hardware buttons | Back, Start, Search
  • 7.
    Windows Phone Device  Samsung (Focus,Focus S, Omnia , Focus Flash)  LG (E900,Jill-Sanders,C900,Miracle)  ZTE (Tania,Orbit)  Fujitsu  Nokia (Lumia 710,Lumia 800, Lumia 610, Lumia 900)  Dell (Venue Pro)  HTC (HD7,Pro,Trophy , Mozart,Titan,Titan II, Radar)
  • 8.
  • 9.
    Analyst Projection  Windows Phone will begin to make a resurgence in the second part of 2012, partially helped by Nokia devices By the end of the year, it will move into the Top 4 smartphone platforms: Android, iOS, BlackBerry, and Windows Phone (Bill Dudley, Sybase 365 CIO.com: Mobile Predictions for 2012: Security, Payments, Windows Phone and More)
  • 10.
    Analyst Projection  Gartner projects market share of Microsoft’s Windows Phone to nearly double from 5.6% in 2011 to 10.8% in 2012. Gartner expects Windows Phone to be the second largest smartphone platform by 2015. (Gartner, April 2011 Forecast: Mobile Communications Devices by Open Operating System, Worldwide, 2008-2015)
  • 11.
    Analyst Projection  Windows Phone is poised to overtake Android’s massive market share as soon as 2013 — Stela Bakun, analyst, Pyramid Research
  • 12.
    Two Flavors ofApplications 12
  • 13.
    Windows Phone DeveloperTools Tools Phone Emulator Windows Phone Samples Documentation Guides Community device Packaging and Verification Tools myapp.xap Windows Phone Emulator 13
  • 14.
    Deployment Process Develop Submit Certify & Debug & Validate & Sign Windows Phone Application Marketplace Deployment Service 14
  • 15.
  • 16.
    Silverlight Capabilities  Inputs  XAML UI Core  Media  Data , Isolated Storage  Base Class Library  Communication  Soft Input Panel 16
  • 17.
  • 18.
  • 19.
    Activation and Navigation  Activation Events  Handled by the Application instance  Launching, Activated, Deactivated and Closing  Navigation Events  Handled by each PhoneApplicationPage class  OnNavigatedTo, OnNavigatedFrom, OnBackKeyPressed, OnChooserReturn, OnOrientationChanged  Controlled by  Hardware using Back and Home keys 19 
  • 20.
    Application Lifecycle Load State! Save State! - Phone removed from memory - Some state saved to storage
  • 21.
    Fast Application Switching  Handle by OS  Maximum 6 applications 21
  • 22.
  • 23.
    Cloud and Integration Services UI App Model UI Model Model Software Architecture Hardware Foundation
  • 24.
    Application Bar andSystem Tray  Application Bar  System Tray  Panorama  Pivot  Controls, Maps, WebBrowser 24
  • 25.
  • 26.
    Cloud and Integration Services Integration App Model UI Model Services Software Architecture Hardware Foundation
  • 27.
    Integration Services  Launchers & Choosers  Push Notification  Location & Sensors  Accelorometer  Live Tile 27
  • 28.
  • 29.
    Register Your Device  Test on a physical device  Register your device  Install, run, and debug unsigned applications  Use Zune to register your device 29 Windows Phone Microsoft Corporation.
  • 30.
  • 31.
    Tale of twoapps Daily Social MindTalk
  • 32.
  • 33.
  • 34.
    Business Opportunity  Consumer apps (Trial API)  Advertising (Microsoft Ad Center, others)  Sponsored app (branded) 34
  • 35.
  • 36.
    Opportunity : Microsoft-Nokia in Indonesia 6
  • 37.
    Build your own #windowsphone 37
  • 38.
    8 steps  Idea,idea,idea  Get the latest Windows Phone SDK  Learn the framework : Silverlight for app, XNA for games  Consider specific feature from device & platform  Incorporate Mango API (AR,scheduler,background agent)  Testing,testing,testing 38  Register to App Hub
  • 39.
    Need our help? Contact : nadhira@radyalabs.co m 39
  • 40.
  • 41.
  • 42.

Editor's Notes

  • #3 MIX 11 03/08/12 © 2011 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.
  • #4 MIX 11 03/08/12 © 2011 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.
  • #7 MIX 11 03/08/12 © 2011 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.