SlideShare a Scribd company logo
Building Windows
Phone Applications
with Visual Studio
2010
Topics

   Application Platform Introduction
   Windows Phone Developer Tools
   Visual Studio 2010
   Windows Phone Emulator
   Windows Phone Profiler




    Windows Phone
Windows Phone Application
   Platform – On “Screen”
        Runtime           Tools


             Sensors       Media    Data        Location       Phone Emulator

              Phone           Xbox LIVE        Notifications       Samples            Documentation

           .NET Framework managed code sandbox                     Guides              Community
                                                                  Packaging and Verification Tools
SCREEN
CLOUD           Cloud Services                                    Portal Services
              Notifications          App Deployment              Registration           Marketplace

                Location            Identity       Feeds          Validation         MO and CC Billing

                                    Social         Maps          Certification     Business Intelligence

                                                                 Publishing        Update Management


     Windows Phone
From Development to Device
  Windows Phone SDK

 Phone Emulator
    Samples       Documentation
     Guides         Community
  Packaging and Verification Tools


                                              AppHub   Consumer
          myapp.xap




                                     Windows Phone
                                     Emulator




 Windows Phone
Windows Phone SDK
Free Download!:
http://create.msdn.com

 WPSDK Includes:
     Visual Studio 2010 Express Edition
     Expression Blend 4 for Windows Phone
     Windows Phone Developer Registration Tool
     Application Deployment Tool
 Visual Studio is an Integrated Development
  Environment for creating Applications and Games
 Expression Blend 4 is a visual design tool
     Build user experiences, animations, configure data
      bindings, and create sample data
    Windows Phone                   5
Demo


Demo 1: Creating a Silverlight Application
XNA Framework Game Projects

 XNA Framework used to build 2D and 3D games
 XNA Framework targets Xbox, PC, and Windows
  Phone
    Same APIs, different input mechanisms
 Three projects make up an XNA Framework Solution
    Two projects support compile-time integration of
     Content



    Windows Phone
Game Loop Overview


                 Initialize         Load        Get User
                  Engine          Resources      Input


                                                Calculate


                                               Test Criteria


                                                 Give
                              Free Resources   FeedBack




 Windows Phone
Game Loop Overview

                           XNA Framework Game Loop
                 Initialize()      LoadContent()
                                                   Updatet()




                                                    Draw()
                                UnLoadContent()




 Windows Phone
Windows Phone Emulator

   The emulator does not contain the complete Windows
    Phone experience
       No Zune media playback
       Only the browser application built in
   Internet Explorer 9 browser with HTML5 support
   Provides the phone behaviors for items like placing calls
    and sending SMS messages
       There are also some entries in the Address Book and
        pictures in the media library
   Supports multiple touchpoints to pinch and zoom on multi-
    touch monitor

    Windows Phone                       14
Windows Phone Emulator
Capabilities

 Near complete application development possible with
  the Emulator
     Performance test on a device
 Rich simulation capabilities
     Camera Simulation
     Location Simulation
     Accelerometer Simulation
 Screen-Capture Tool

    Windows Phone                 15
Visual Studio Debugging

 Visual Studio provides an exceptional debugging
  experience
 This experience extends to Windows Phone
 You can do all the debugging actions in Windows
  Phone that you can do with a Windows PC application
     Breakpoints
     Single Stepping
     Viewing and modifying variables



    Windows Phone
Windows Phone Profiler

 The performance analysis tool
  will tell you where your
  program is spending most of its
  time
 Then you can consider
  optimising those parts
 It is activated from the Debug
  menu



    Windows Phone                   18
Performance Analysis Settings




   You can create and activate diagnostic settings that
    you can use and reuse as you develop the application



    Windows Phone                   19
Analysis Data




   The analysis provides plenty of good data


    Windows Phone                    20
Developer Unlock a Device

 Before you can deploy your own
  programs to the device you need
  to register it as a developer device
 This is done once for a particular
  phone
 Registered developers can
  register up to 3 devices
     Registered students can
      register 1 device
http://create.msdn.com – AppHub

    Windows Phone
Deploying Applications to a
Device




   The Windows Phone device uses the Zune software
    to connect to the Windows PC
       Synchronize media and choose applications
       Perform phone updates
    Windows Phone
Demo


Demo 5: Debugging and the Windows
Phone Profiler
                                    23
Summary

 Visual Studio brings together code and assets and
  tools to help you be productive right away
 The emulator provides similar capabilities to a
  Windows Phone device, but it does not emulate the
  actual hardware speed
     It can emulate the camera, GPS and
      accelerometer sensors
 You can also use the emulator to capture screenshots
  of active applications and games
 The Windows Phone Developer Tools includes
  powerful debugging and profiling tools
    Windows Phone                 24

More Related Content

PPTX
Monetizing Your Windows Phone App
PPTX
Windows Phone Application Platform
PDF
Windows phone 8 session 2
PPTX
Windows 7 mobile
PDF
QBS Visual Studio 2012 and modern windows apps
PPTX
Windows Phone 7 Programming Introduction
DOCX
Classification of the document
PPTX
Developing Silverlight Applications for Windows Phone 7
Monetizing Your Windows Phone App
Windows Phone Application Platform
Windows phone 8 session 2
Windows 7 mobile
QBS Visual Studio 2012 and modern windows apps
Windows Phone 7 Programming Introduction
Classification of the document
Developing Silverlight Applications for Windows Phone 7

What's hot (20)

PPTX
Developing silverlight applications for windows phone 7 series
PPTX
Mobile os by waqas
PPTX
Windows Phone 8 App Development
PPTX
Android deep dive
PPTX
Introducing the Windows Phone Application Platform
PPTX
Building Multi-Touch Experiences
PPTX
22 universal apps for windows
PPTX
Developing for Windows Phone 8 and Windows 8
PPTX
18 windows phone 8.1 for the enterprise developer
PPTX
Appium Mobile Testing: Nakov at BurgasConf - July 2021
PPTX
Windows phone 8 overview
PPTX
Iasi 15 noiembrie 2009 Introduction to Windows Mobile programming
PPTX
Android Studio Overview
PDF
Conociendo el ecosistema de Windows Phone 8 y Windows 8
PPTX
Windows store app development V1
PPTX
Windows phone7 subodh
PDF
Android Programming Basics
PPTX
PPT
Titanium Meetup Deck
PPTX
Adc2012 windows phone 8
Developing silverlight applications for windows phone 7 series
Mobile os by waqas
Windows Phone 8 App Development
Android deep dive
Introducing the Windows Phone Application Platform
Building Multi-Touch Experiences
22 universal apps for windows
Developing for Windows Phone 8 and Windows 8
18 windows phone 8.1 for the enterprise developer
Appium Mobile Testing: Nakov at BurgasConf - July 2021
Windows phone 8 overview
Iasi 15 noiembrie 2009 Introduction to Windows Mobile programming
Android Studio Overview
Conociendo el ecosistema de Windows Phone 8 y Windows 8
Windows store app development V1
Windows phone7 subodh
Android Programming Basics
Titanium Meetup Deck
Adc2012 windows phone 8
Ad

Viewers also liked (8)

PDF
Francesco Inguscio - Avviare una start-up
PDF
follow-app BOOTCAMP 2: Introduction to silverlight
PDF
follow-app DAY 1: Manager e leader
PDF
follow-app BOOTCAMP 4: iOS
PDF
follow-app BOOTCAMP 3: Android
PDF
follow-app DAY 4 - Strumenti per la prototipazione
PDF
follow-app DAY 1: Facebook IPO
PDF
follow-app DAY 2: Dal mercato al business
Francesco Inguscio - Avviare una start-up
follow-app BOOTCAMP 2: Introduction to silverlight
follow-app DAY 1: Manager e leader
follow-app BOOTCAMP 4: iOS
follow-app BOOTCAMP 3: Android
follow-app DAY 4 - Strumenti per la prototipazione
follow-app DAY 1: Facebook IPO
follow-app DAY 2: Dal mercato al business
Ad

Similar to follow-app BOOTCAMP 2: Building windows phone applications with visual studio 2010 (20)

PPTX
Windows phone
PDF
S#01 김영욱
PPTX
Bam windows phone 7 for informatics
PPTX
Bam amor mobile development tools
PPTX
Windows phone app development overview
PPTX
Windows Phone Application development
PPTX
microsoft windows phone for government and citizens
PPT
Windows Phone
PDF
Windows Phone 7 Platform Overview
PDF
Windows phone 7 technology update
PPTX
WP7 HUB_Overview and application platform
PPTX
Zadar Developers Hub - Windows Phone Development
PPTX
Windows Phone Apps Development overview
PPTX
Computer project work
PDF
windows phone-developer-guidance-map- 2-d00_-v2
PPTX
Runtime 8 and Windows Phone 8
PPTX
Windows Phone Introduction
PPTX
Nashua Cloud .NET User Group - Basic WP8 App Dev With XAML and C#, April 2013
PPTX
WP7 HUB_Launch event WP7
PDF
Windows phone 7 overview
Windows phone
S#01 김영욱
Bam windows phone 7 for informatics
Bam amor mobile development tools
Windows phone app development overview
Windows Phone Application development
microsoft windows phone for government and citizens
Windows Phone
Windows Phone 7 Platform Overview
Windows phone 7 technology update
WP7 HUB_Overview and application platform
Zadar Developers Hub - Windows Phone Development
Windows Phone Apps Development overview
Computer project work
windows phone-developer-guidance-map- 2-d00_-v2
Runtime 8 and Windows Phone 8
Windows Phone Introduction
Nashua Cloud .NET User Group - Basic WP8 App Dev With XAML and C#, April 2013
WP7 HUB_Launch event WP7
Windows phone 7 overview

More from QIRIS (14)

PDF
[F5 Hit Refresh] Pierpaolo Basile - Accesso alle informazioni con apache lucene
PDF
Francesco Inguscio - Start-up financing from the side of the entrepreneur
PDF
Monica Maria Crapanzano - Definire business model e business plan
PDF
Massimo Aliberti - Dal concept al prototipo al prodotto
PDF
follow-app BOOTCAMP 2: Windows phone fast application switching
PDF
follow-app BOOTCAMP 2 - Windows Phone: Tiles and Notifications
PDF
follow-app: BOOTCAMP 3 - Introduzione al GTUG
PDF
follow-app DAY 4: Dati, segreti e tecniche per App di successo
PDF
follow-ap DAY 4: HTML5 e jQuery
PDF
follow-app DAY 2: Dall'idea al mercato
PDF
follow-app DAY 3: Marketing & Sales
PDF
follow-app DAY 2: Risorse utili
PDF
follow-app DAY 1: Cosa vuol dire essere imprenditore
PDF
dbGLOVE (presentation at Silicon Valley Personal Health Technology)
[F5 Hit Refresh] Pierpaolo Basile - Accesso alle informazioni con apache lucene
Francesco Inguscio - Start-up financing from the side of the entrepreneur
Monica Maria Crapanzano - Definire business model e business plan
Massimo Aliberti - Dal concept al prototipo al prodotto
follow-app BOOTCAMP 2: Windows phone fast application switching
follow-app BOOTCAMP 2 - Windows Phone: Tiles and Notifications
follow-app: BOOTCAMP 3 - Introduzione al GTUG
follow-app DAY 4: Dati, segreti e tecniche per App di successo
follow-ap DAY 4: HTML5 e jQuery
follow-app DAY 2: Dall'idea al mercato
follow-app DAY 3: Marketing & Sales
follow-app DAY 2: Risorse utili
follow-app DAY 1: Cosa vuol dire essere imprenditore
dbGLOVE (presentation at Silicon Valley Personal Health Technology)

Recently uploaded (20)

PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
Computing-Curriculum for Schools in Ghana
PPTX
GDM (1) (1).pptx small presentation for students
PDF
Sports Quiz easy sports quiz sports quiz
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
Insiders guide to clinical Medicine.pdf
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
Anesthesia in Laparoscopic Surgery in India
PPTX
PPH.pptx obstetrics and gynecology in nursing
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
Pre independence Education in Inndia.pdf
PDF
VCE English Exam - Section C Student Revision Booklet
PDF
TR - Agricultural Crops Production NC III.pdf
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
Computing-Curriculum for Schools in Ghana
GDM (1) (1).pptx small presentation for students
Sports Quiz easy sports quiz sports quiz
O5-L3 Freight Transport Ops (International) V1.pdf
Insiders guide to clinical Medicine.pdf
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Anesthesia in Laparoscopic Surgery in India
PPH.pptx obstetrics and gynecology in nursing
Renaissance Architecture: A Journey from Faith to Humanism
STATICS OF THE RIGID BODIES Hibbelers.pdf
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
Pre independence Education in Inndia.pdf
VCE English Exam - Section C Student Revision Booklet
TR - Agricultural Crops Production NC III.pdf
FourierSeries-QuestionsWithAnswers(Part-A).pdf
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
Microbial diseases, their pathogenesis and prophylaxis
Abdominal Access Techniques with Prof. Dr. R K Mishra

follow-app BOOTCAMP 2: Building windows phone applications with visual studio 2010

  • 2. Topics  Application Platform Introduction  Windows Phone Developer Tools  Visual Studio 2010  Windows Phone Emulator  Windows Phone Profiler Windows Phone
  • 3. Windows Phone Application Platform – On “Screen” Runtime Tools Sensors Media Data Location Phone Emulator Phone Xbox LIVE Notifications Samples Documentation .NET Framework managed code sandbox Guides Community Packaging and Verification Tools SCREEN CLOUD Cloud Services Portal Services Notifications App Deployment Registration Marketplace Location Identity Feeds Validation MO and CC Billing Social Maps Certification Business Intelligence Publishing Update Management Windows Phone
  • 4. From Development to Device Windows Phone SDK Phone Emulator Samples Documentation Guides Community Packaging and Verification Tools AppHub Consumer myapp.xap Windows Phone Emulator Windows Phone
  • 5. Windows Phone SDK Free Download!: http://create.msdn.com  WPSDK Includes:  Visual Studio 2010 Express Edition  Expression Blend 4 for Windows Phone  Windows Phone Developer Registration Tool  Application Deployment Tool  Visual Studio is an Integrated Development Environment for creating Applications and Games  Expression Blend 4 is a visual design tool  Build user experiences, animations, configure data bindings, and create sample data Windows Phone 5
  • 6. Demo Demo 1: Creating a Silverlight Application
  • 7. XNA Framework Game Projects  XNA Framework used to build 2D and 3D games  XNA Framework targets Xbox, PC, and Windows Phone  Same APIs, different input mechanisms  Three projects make up an XNA Framework Solution  Two projects support compile-time integration of Content Windows Phone
  • 8. Game Loop Overview Initialize Load Get User Engine Resources Input Calculate Test Criteria Give Free Resources FeedBack Windows Phone
  • 9. Game Loop Overview XNA Framework Game Loop Initialize() LoadContent() Updatet() Draw() UnLoadContent() Windows Phone
  • 10. Windows Phone Emulator  The emulator does not contain the complete Windows Phone experience  No Zune media playback  Only the browser application built in  Internet Explorer 9 browser with HTML5 support  Provides the phone behaviors for items like placing calls and sending SMS messages  There are also some entries in the Address Book and pictures in the media library  Supports multiple touchpoints to pinch and zoom on multi- touch monitor Windows Phone 14
  • 11. Windows Phone Emulator Capabilities  Near complete application development possible with the Emulator  Performance test on a device  Rich simulation capabilities  Camera Simulation  Location Simulation  Accelerometer Simulation  Screen-Capture Tool Windows Phone 15
  • 12. Visual Studio Debugging  Visual Studio provides an exceptional debugging experience  This experience extends to Windows Phone  You can do all the debugging actions in Windows Phone that you can do with a Windows PC application  Breakpoints  Single Stepping  Viewing and modifying variables Windows Phone
  • 13. Windows Phone Profiler  The performance analysis tool will tell you where your program is spending most of its time  Then you can consider optimising those parts  It is activated from the Debug menu Windows Phone 18
  • 14. Performance Analysis Settings  You can create and activate diagnostic settings that you can use and reuse as you develop the application Windows Phone 19
  • 15. Analysis Data  The analysis provides plenty of good data Windows Phone 20
  • 16. Developer Unlock a Device  Before you can deploy your own programs to the device you need to register it as a developer device  This is done once for a particular phone  Registered developers can register up to 3 devices  Registered students can register 1 device http://create.msdn.com – AppHub Windows Phone
  • 17. Deploying Applications to a Device  The Windows Phone device uses the Zune software to connect to the Windows PC  Synchronize media and choose applications  Perform phone updates Windows Phone
  • 18. Demo Demo 5: Debugging and the Windows Phone Profiler 23
  • 19. Summary  Visual Studio brings together code and assets and tools to help you be productive right away  The emulator provides similar capabilities to a Windows Phone device, but it does not emulate the actual hardware speed  It can emulate the camera, GPS and accelerometer sensors  You can also use the emulator to capture screenshots of active applications and games  The Windows Phone Developer Tools includes powerful debugging and profiling tools Windows Phone 24