SlideShare a Scribd company logo
Developing WP7 applications with SilverlightSubodh N Pushpak
AgendaIntroduction  to Windows Phone 7Tools for Development on Windows Phone 7Using Silverlight  for WP7 developmentNavigation among pages of application WP 7 application lifecycleLaunchers and ChoosersTombstoningFetching data from serverDeployment model of WP7 applicationDemos Q & A
Introduction to WP7Windows Phone 7 is a mobile operating system and is the successor to Windows Mobile 6.x platform.Windows Phone  has a new Metro user interface and seamlessly  integrates the operating system with Microsoft's other services including Xbox and Zune.Partners (OEM) include Dell, Garmin-Asus, HTC, HP , LG, Samsung, Sony Ericsson, Toshiba and QualcommMobile network operators included AT&T, Deutsche Telekom, Orange, SFR, Sprint, Telecom Italia, Telefónica, Telstra, T-Mobile USA, Verizon Wireless, Vodafone and SingTel.
Hardware ChassisThe Windows Phone specifications ensure that every Windows Phone has a consistent set of features that customers can rely on. This also provides developers with a base set of features they can build rich and creative applications upon.Each Windows Phone will contain the following hardware elements:WVGA (800 x 480) format display capable of rendering most web content in full-page width and displaying movies in a cinematic aspect ratio.Capacitive 4-point multi-touch screens for quick, simple control of the phone and its features.DirectX 9 hardware acceleration for crisp graphics and exciting audio and video.A standard suite of sensors - A-GPS, accelerometer, compass, light, proximity - for interacting with the phone’s location, orientation, and environment.A digital camera.A common set of hardware controls and buttons that include the Start, Search, and Back buttons.Support for data connectivity using cellular networks and Wi-Fi.256 MB (or more) of RAM and 8 GB (or more) of flash storage.
Introduction  to Windows Phone 7The Windows Phone Application Platform provides two frameworks for developing applications: The Silverlight framework for event-driven, XAML-based application development that allows developers to develop creative mark-up based user experiences.The XNA Framework for loop-based games that enables immersive and fun gaming and entertainment experiences.Silverlight development on WP7 may be done using existing Microsoft® tools and technologies such as Visual Studio, Expression Blend® and  Silverlight®. Developers already familiar with those technologies and their related tools  are able to create new applications for Windows Phone without a steep learning curve.
Tools for development The primary tools used for development will be Microsoft's Visual Studio 2010 and Expression Blend, which are also available as free downloads.Visual Studio 2010 is used by developers to develop applications targeting WP7Expression Blend for WP7 is available for designers for defining user interface of the application Windows Phone Emulatora desktop application that emulates a Windows Phone OS 7.0 deviceAdditional tools: Developer Registration tool, Application Deployment tool, Windows Phone Connect tool, Phone Capability Detection tool
Introduction  to Windows Phone 7The Windows Phone Application Platform helps developers to create applications by providing:A familiar and inexpensive toolset.A cohesive and well designed managed API set.An isolated sandbox for each application.Runtime services on devices that can be used to access web services in the cloud such as Xbox LIVE®, Windows Azure, location, and notification services. Access to 3rd party Windows Communication Foundation (WCF), Representational State Transfer (REST) services and ODATA is also supported.The Windows Phone Marketplace to distribute application.
Introduction  to Windows Phone 7 – A Developer PerspectiveThe Windows Phone Application Platform is designed to support the multi-screen world
Lightening up the WebSilverlight apps = code + markup*XAML markup languagedefines UI.NET code handles interactionSilverlight .NET Application
DemoBuild a WP7 ClientInvestigating Execution Model EventsBasic NavigationPhoneApplicationServiceLaunchers: PhoneCallTask, SearchTaskChoosers: PhotoChooserTaskCreate a Odata ServiceConnect WP7 to Odata Service
Application Lifecycle
Windows Phone execution modelThe Windows Phone execution model governs the life cycle of applications running on a Windows Phone, from when the application is launched until it is terminated.The execution model is designed to provide end users with a fast, responsive experience at all times. To achieve this, Windows Phone allows only one application to run at a time.  To enable seamless navigation by limiting the phone to run one application at a time, Windows Phone activates and deactivates applications dynamically, raising events for applications to respond to when their state changes. By implementing handlers for these events, developers can save and restore application state as their application transitions between active and inactive states.
TombstoningTombstoning: The procedure in which the operating system terminates an application’s process when the user navigates away from the application. The operating system maintains state information about the application. If the user navigates back to the application, the operating system restarts the application process and passes the state data back to the application.Two sets of data types Persistent data: Data that is shared by all instances of an application. Persistent data is saved and loaded from isolated storage. Application settings are an example of persistent data that should be preserved between application executions.Transient : Data that describes the state of a single instance of an application. Transient data is stored in the State dictionary provided by the PhoneApplicationService class. A tombstoned application restores its transient state when it is activated. An example of transient state is the data returned by a Web service query. This can be stored when an application is tombstoned to reduce the need to perform the query again if the user quickly returns to the application.
LaunchersLaunchers: A Launcher is an API that launches one of the built-in applications through which a user completes a task, and in which no data is returned to the calling application. Examples of this is the PhoneCallTask, SearchTask, etc.When the user closes the Phone application, the calling application is usually activated again, but the Phone application does not return any data about or resulting from the user’s actions.
ChoosersChoosers: A Chooser is an API that launches one of the built-in applications through which a user completes a task, and which returns some kind of data to the calling application. An example of this is the PhotoChooserTask.The result includes a value that indicates whether the user completed the task and, if the user did complete the task, the result includes an IO stream that contains the image data of the chosen photo.An important concept for Windows Phone application developers to consider in general, and especially when using Launcher or Chooser APIs, is that the calling application is no longer running when the Launcher or Chooser task application is invoked.
Deployment model of WP7 application
Write in to
Questions & Answers

More Related Content

PPTX
Windows phone7 subodh
PDF
Mobile application development
DOCX
Classification of the document
PDF
White paper native, web or hybrid mobile app development
PPTX
Windows Phone Garage - Application Jumpstart
PDF
ACCESS_WP_GoNative_web
PDF
Why does .net maui deserve your attention if you’re planning to use xamarin
PPTX
Windows 7 mobile
Windows phone7 subodh
Mobile application development
Classification of the document
White paper native, web or hybrid mobile app development
Windows Phone Garage - Application Jumpstart
ACCESS_WP_GoNative_web
Why does .net maui deserve your attention if you’re planning to use xamarin
Windows 7 mobile

What's hot (20)

PDF
React js vs angularjs which framework to choose in 2022_
PPT
visual basic for the beginner
PPTX
Cross platform Web apps
PDF
Benefits of PhoneGap for Mobile App Development - Appzure
PDF
Ionic vs flutter best platform for hybrid app development
PDF
DEVELOPING CUSTOM APPS USING DYNAMIC XML PARSING
PDF
B feigin mobileapplicationdevelopment
PDF
Mobile Developer's Guide To The Galaxy 11th edition
PPTX
Mobile Programming
PPTX
Mobility testing day_1_ppt
PDF
35602787 mobile-application-testing
PDF
5 Reasons To Select Ionic Apps Development For Your Next Project
PPT
Overview of Mobile Development Platforms
PDF
ios vs android development – key differences
PPTX
Mobile testing
DOCX
Mobile testing
PDF
Mobile software development_and_mobile_porting
PDF
Testing Mobile Apps
PPTX
Best Interactive guide on Top 10 Mobile App Development Frameworks
React js vs angularjs which framework to choose in 2022_
visual basic for the beginner
Cross platform Web apps
Benefits of PhoneGap for Mobile App Development - Appzure
Ionic vs flutter best platform for hybrid app development
DEVELOPING CUSTOM APPS USING DYNAMIC XML PARSING
B feigin mobileapplicationdevelopment
Mobile Developer's Guide To The Galaxy 11th edition
Mobile Programming
Mobility testing day_1_ppt
35602787 mobile-application-testing
5 Reasons To Select Ionic Apps Development For Your Next Project
Overview of Mobile Development Platforms
ios vs android development – key differences
Mobile testing
Mobile testing
Mobile software development_and_mobile_porting
Testing Mobile Apps
Best Interactive guide on Top 10 Mobile App Development Frameworks
Ad

Viewers also liked (10)

PPTX
SharePoint 2010 for IT Pros
PPTX
Hello, windows phone!
PPTX
all you need to know about windows phone
PPTX
SharePoint 2010 for Devs
PPTX
SQL Server 2008 R2 - Implementing High Availabilitty
PDF
Lync Server
PPTX
Woow!. It's Windows 7
PPTX
I Unlock Joy! - ITM Gurgaon
PPTX
What is Microsoft Student Partner Program?
PDF
Office365
SharePoint 2010 for IT Pros
Hello, windows phone!
all you need to know about windows phone
SharePoint 2010 for Devs
SQL Server 2008 R2 - Implementing High Availabilitty
Lync Server
Woow!. It's Windows 7
I Unlock Joy! - ITM Gurgaon
What is Microsoft Student Partner Program?
Office365
Ad

Similar to Windows Phone 7 Applications with Silverlight (20)

PPTX
An end-to-end experience of Windows Phone 7 development (Part 2)
PPTX
Why windows phone
PPTX
architecture of android.pptx
PPTX
Mobile Application Development Handout by Tariku
PPT
Mobile app development using PhoneGap - A comprehensive walkthrough - Touch T...
PPSX
Developing Application in WP7
PPTX
Know all about android development
PDF
Android Introduction by Kajal
PPT
Mobile Devolpment Slides
PDF
Learn how to develop an application using SAP Mobile Platform SDK 3.0 for Win...
PPTX
OS in mobile devices [Android]
PPTX
Windows Phone 7: Silverlight
PPTX
Getting started with android programming
PPTX
Android architecture
PPTX
Windows Phone Introduction
PDF
mobicon_paper
PPTX
PPT
Android overview
PPTX
Android platform
An end-to-end experience of Windows Phone 7 development (Part 2)
Why windows phone
architecture of android.pptx
Mobile Application Development Handout by Tariku
Mobile app development using PhoneGap - A comprehensive walkthrough - Touch T...
Developing Application in WP7
Know all about android development
Android Introduction by Kajal
Mobile Devolpment Slides
Learn how to develop an application using SAP Mobile Platform SDK 3.0 for Win...
OS in mobile devices [Android]
Windows Phone 7: Silverlight
Getting started with android programming
Android architecture
Windows Phone Introduction
mobicon_paper
Android overview
Android platform

More from Rishu Mehra (20)

PPTX
Blurring the difference of Web & Native Apps with HTML 5 & IE 9
PPTX
Windows Phone 7: Interfacing
PPTX
Ado.net entity framework_4.0
PPTX
Microsoft India Academic Initiatives
PPTX
Microsoft Community Tools
PPTX
Visual studio 2010
PPTX
Mvc 4 0_jayant_jindal_28082010
PPTX
Microsoft CTD & User Groups
PPTX
.Net Performance by Bijoy Singhal
PPTX
Uploading Data From Microsoft Excel - Microsoft SLQ Server 2008 (by Rakesh Mi...
PPT
SQL Server Profiler & Performance Monitor - SarabPreet Singh
PPT
SQLServerGeek.com (Intro)
PPT
Web Developing Tools
PPTX
Windows Server 2008 R2
PPT
Disaster Recovery
PPT
Creating And Implementing A Data Disaster Recovery Plan
PPT
Creating And Implementing A Data Disaster Recovery Plan
PPTX
Building Systems Using The Workflow Approach
PPTX
Critical Controls Of Cyber Defense
PPTX
Microsoft Community TechDays (Delhi/NCR) - Communities in Delhi
Blurring the difference of Web & Native Apps with HTML 5 & IE 9
Windows Phone 7: Interfacing
Ado.net entity framework_4.0
Microsoft India Academic Initiatives
Microsoft Community Tools
Visual studio 2010
Mvc 4 0_jayant_jindal_28082010
Microsoft CTD & User Groups
.Net Performance by Bijoy Singhal
Uploading Data From Microsoft Excel - Microsoft SLQ Server 2008 (by Rakesh Mi...
SQL Server Profiler & Performance Monitor - SarabPreet Singh
SQLServerGeek.com (Intro)
Web Developing Tools
Windows Server 2008 R2
Disaster Recovery
Creating And Implementing A Data Disaster Recovery Plan
Creating And Implementing A Data Disaster Recovery Plan
Building Systems Using The Workflow Approach
Critical Controls Of Cyber Defense
Microsoft Community TechDays (Delhi/NCR) - Communities in Delhi

Recently uploaded (20)

PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Machine learning based COVID-19 study performance prediction
PDF
Modernizing your data center with Dell and AMD
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
cuic standard and advanced reporting.pdf
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Encapsulation theory and applications.pdf
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PPTX
Cloud computing and distributed systems.
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Per capita expenditure prediction using model stacking based on satellite ima...
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Chapter 3 Spatial Domain Image Processing.pdf
The Rise and Fall of 3GPP – Time for a Sabbatical?
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Digital-Transformation-Roadmap-for-Companies.pptx
Machine learning based COVID-19 study performance prediction
Modernizing your data center with Dell and AMD
NewMind AI Monthly Chronicles - July 2025
cuic standard and advanced reporting.pdf
The AUB Centre for AI in Media Proposal.docx
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Encapsulation theory and applications.pdf
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Cloud computing and distributed systems.
Encapsulation_ Review paper, used for researhc scholars
Unlocking AI with Model Context Protocol (MCP)
20250228 LYD VKU AI Blended-Learning.pptx

Windows Phone 7 Applications with Silverlight

  • 1. Developing WP7 applications with SilverlightSubodh N Pushpak
  • 2. AgendaIntroduction to Windows Phone 7Tools for Development on Windows Phone 7Using Silverlight for WP7 developmentNavigation among pages of application WP 7 application lifecycleLaunchers and ChoosersTombstoningFetching data from serverDeployment model of WP7 applicationDemos Q & A
  • 3. Introduction to WP7Windows Phone 7 is a mobile operating system and is the successor to Windows Mobile 6.x platform.Windows Phone has a new Metro user interface and seamlessly integrates the operating system with Microsoft's other services including Xbox and Zune.Partners (OEM) include Dell, Garmin-Asus, HTC, HP , LG, Samsung, Sony Ericsson, Toshiba and QualcommMobile network operators included AT&T, Deutsche Telekom, Orange, SFR, Sprint, Telecom Italia, Telefónica, Telstra, T-Mobile USA, Verizon Wireless, Vodafone and SingTel.
  • 4. Hardware ChassisThe Windows Phone specifications ensure that every Windows Phone has a consistent set of features that customers can rely on. This also provides developers with a base set of features they can build rich and creative applications upon.Each Windows Phone will contain the following hardware elements:WVGA (800 x 480) format display capable of rendering most web content in full-page width and displaying movies in a cinematic aspect ratio.Capacitive 4-point multi-touch screens for quick, simple control of the phone and its features.DirectX 9 hardware acceleration for crisp graphics and exciting audio and video.A standard suite of sensors - A-GPS, accelerometer, compass, light, proximity - for interacting with the phone’s location, orientation, and environment.A digital camera.A common set of hardware controls and buttons that include the Start, Search, and Back buttons.Support for data connectivity using cellular networks and Wi-Fi.256 MB (or more) of RAM and 8 GB (or more) of flash storage.
  • 5. Introduction to Windows Phone 7The Windows Phone Application Platform provides two frameworks for developing applications: The Silverlight framework for event-driven, XAML-based application development that allows developers to develop creative mark-up based user experiences.The XNA Framework for loop-based games that enables immersive and fun gaming and entertainment experiences.Silverlight development on WP7 may be done using existing Microsoft® tools and technologies such as Visual Studio, Expression Blend® and Silverlight®. Developers already familiar with those technologies and their related tools are able to create new applications for Windows Phone without a steep learning curve.
  • 6. Tools for development The primary tools used for development will be Microsoft's Visual Studio 2010 and Expression Blend, which are also available as free downloads.Visual Studio 2010 is used by developers to develop applications targeting WP7Expression Blend for WP7 is available for designers for defining user interface of the application Windows Phone Emulatora desktop application that emulates a Windows Phone OS 7.0 deviceAdditional tools: Developer Registration tool, Application Deployment tool, Windows Phone Connect tool, Phone Capability Detection tool
  • 7. Introduction to Windows Phone 7The Windows Phone Application Platform helps developers to create applications by providing:A familiar and inexpensive toolset.A cohesive and well designed managed API set.An isolated sandbox for each application.Runtime services on devices that can be used to access web services in the cloud such as Xbox LIVE®, Windows Azure, location, and notification services. Access to 3rd party Windows Communication Foundation (WCF), Representational State Transfer (REST) services and ODATA is also supported.The Windows Phone Marketplace to distribute application.
  • 8. Introduction to Windows Phone 7 – A Developer PerspectiveThe Windows Phone Application Platform is designed to support the multi-screen world
  • 9. Lightening up the WebSilverlight apps = code + markup*XAML markup languagedefines UI.NET code handles interactionSilverlight .NET Application
  • 10. DemoBuild a WP7 ClientInvestigating Execution Model EventsBasic NavigationPhoneApplicationServiceLaunchers: PhoneCallTask, SearchTaskChoosers: PhotoChooserTaskCreate a Odata ServiceConnect WP7 to Odata Service
  • 12. Windows Phone execution modelThe Windows Phone execution model governs the life cycle of applications running on a Windows Phone, from when the application is launched until it is terminated.The execution model is designed to provide end users with a fast, responsive experience at all times. To achieve this, Windows Phone allows only one application to run at a time. To enable seamless navigation by limiting the phone to run one application at a time, Windows Phone activates and deactivates applications dynamically, raising events for applications to respond to when their state changes. By implementing handlers for these events, developers can save and restore application state as their application transitions between active and inactive states.
  • 13. TombstoningTombstoning: The procedure in which the operating system terminates an application’s process when the user navigates away from the application. The operating system maintains state information about the application. If the user navigates back to the application, the operating system restarts the application process and passes the state data back to the application.Two sets of data types Persistent data: Data that is shared by all instances of an application. Persistent data is saved and loaded from isolated storage. Application settings are an example of persistent data that should be preserved between application executions.Transient : Data that describes the state of a single instance of an application. Transient data is stored in the State dictionary provided by the PhoneApplicationService class. A tombstoned application restores its transient state when it is activated. An example of transient state is the data returned by a Web service query. This can be stored when an application is tombstoned to reduce the need to perform the query again if the user quickly returns to the application.
  • 14. LaunchersLaunchers: A Launcher is an API that launches one of the built-in applications through which a user completes a task, and in which no data is returned to the calling application. Examples of this is the PhoneCallTask, SearchTask, etc.When the user closes the Phone application, the calling application is usually activated again, but the Phone application does not return any data about or resulting from the user’s actions.
  • 15. ChoosersChoosers: A Chooser is an API that launches one of the built-in applications through which a user completes a task, and which returns some kind of data to the calling application. An example of this is the PhotoChooserTask.The result includes a value that indicates whether the user completed the task and, if the user did complete the task, the result includes an IO stream that contains the image data of the chosen photo.An important concept for Windows Phone application developers to consider in general, and especially when using Launcher or Chooser APIs, is that the calling application is no longer running when the Launcher or Chooser task application is invoked.
  • 16. Deployment model of WP7 application

Editor's Notes

  • #4: Metro design language contains the following principlesClean, Light, Open, FastUI of Metro is based on the signs you see on the Metro.Large, eye-popping typography that catches the eye and text that runs off the page