Subodh N Pushpak
Agenda
 Introduction to Windows Phone 7
 Tools for Development on Windows Phone 7
 Using Silverlight for WP7 development
 Navigation among pages of application
 WP 7 application lifecycle
 Launchers and Choosers
 Tombstoning
 Fetching data from server
 Deployment model of WP7 application
 Demos
 Q & A
Introduction to WP7
 Windows 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 Qualcomm
 Mobile network operators included AT&T, Deutsche
Telekom, Orange, SFR, Sprint, Telecom Italia,
Telefónica, Telstra, T-Mobile USA, Verizon Wireless,
Vodafone and SingTel.
Hardware Chassis
 The 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 7
 The 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 WP7
 Expression Blend for WP7 is available for designers for
defining user interface of the application
 Windows Phone Emulator
 a desktop application that emulates a Windows Phone OS 7.0
device
 Additional tools: Developer Registration tool, Application
Deployment tool, Windows Phone Connect tool, Phone
Capability Detection tool
Introduction to Windows Phone 7
 The 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 Perspective
The Windows Phone Application Platform is designed to support the multi-
screen world
Lightening up the Web
 Silverlight apps = code + markup*
XAML markup language
defines UI
.NET code handles interaction
Silverlight .NET Application
Demo
 Build a WP7 Client
 Investigating Execution Model Events
 Basic Navigation
 PhoneApplicationService
 Launchers: PhoneCallTask, SearchTask
 Choosers: PhotoChooserTask
 Create a Odata Service
 Connect WP7 to Odata Service
Application Lifecycle
Windows Phone execution model
 The 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.
Tombstoning
 Tombstoning: 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.
Launchers
 Launchers: 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.
Choosers
 Choosers: 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
Subodh N Pushpak
http://geekswithblogs.net/subodhnpushpak/
http://subodhnpushpak.wordpress.com
S_pushpak@hotmail.com
Twitter: s_pushpak
Questions & Answers

More Related Content

PPTX
Windows Phone Application Platform
DOCX
Classification of the document
PPTX
Developing for Windows Phone 8 and Windows 8
PPTX
21 app packaging, monetization and publication
PPTX
22 universal apps for windows
PDF
Learn how to develop an application using SAP Mobile Platform SDK 3.0 for Win...
PPT
WPF Applications, It's all about XAML these days
PPTX
Windows 7 mobile
Windows Phone Application Platform
Classification of the document
Developing for Windows Phone 8 and Windows 8
21 app packaging, monetization and publication
22 universal apps for windows
Learn how to develop an application using SAP Mobile Platform SDK 3.0 for Win...
WPF Applications, It's all about XAML these days
Windows 7 mobile

What's hot (20)

PDF
Why does .net maui deserve your attention if you’re planning to use xamarin
PDF
Windows phone 8 session 2
PPTX
Best Interactive guide on Top 10 Mobile App Development Frameworks
PDF
Mobile Developer's Guide To The Galaxy 11th edition
PPTX
Why windows phone
PDF
Mobile Developer's Guide To The Galaxy, 5th edition
PDF
Mobile Developer's Guide To The Galaxy No. 9
PDF
Developers Guide To The Galaxy 8th edition
PPTX
Monetizing Your Windows Phone App
PDF
Mobile app developers guide
PPTX
Developing silverlight applications for windows phone 7 series
PDF
Mobile Developer's Guide To The Galaxy Vol.7
PDF
Mobile Developer's Guide To The Galaxy No.10
PPT
Overview of Mobile Development Platforms
PPT
Windows Phone
PDF
Top reasons why to choose xamarin for mobile app development
PPTX
Windows Phone Garage - Application Jumpstart
PDF
White paper native, web or hybrid mobile app development
PPTX
Cross-Platform App Development in C#
PDF
B feigin mobileapplicationdevelopment
Why does .net maui deserve your attention if you’re planning to use xamarin
Windows phone 8 session 2
Best Interactive guide on Top 10 Mobile App Development Frameworks
Mobile Developer's Guide To The Galaxy 11th edition
Why windows phone
Mobile Developer's Guide To The Galaxy, 5th edition
Mobile Developer's Guide To The Galaxy No. 9
Developers Guide To The Galaxy 8th edition
Monetizing Your Windows Phone App
Mobile app developers guide
Developing silverlight applications for windows phone 7 series
Mobile Developer's Guide To The Galaxy Vol.7
Mobile Developer's Guide To The Galaxy No.10
Overview of Mobile Development Platforms
Windows Phone
Top reasons why to choose xamarin for mobile app development
Windows Phone Garage - Application Jumpstart
White paper native, web or hybrid mobile app development
Cross-Platform App Development in C#
B feigin mobileapplicationdevelopment
Ad

Viewers also liked (6)

PPTX
Xamarin day5 - iOS Advance Concepts
PPT
Planet Lab
PPTX
Xamarin day2 - Android with Xamarin
PPTX
Xamarin day8 - Xamarin forms. Common code / controls on iOS, Android, Windows
PPT
Introduction to silver light
PPT
Silver Light for every one by Subodh
Xamarin day5 - iOS Advance Concepts
Planet Lab
Xamarin day2 - Android with Xamarin
Xamarin day8 - Xamarin forms. Common code / controls on iOS, Android, Windows
Introduction to silver light
Silver Light for every one by Subodh
Ad

Similar to Windows phone7 subodh (20)

PPTX
Windows Phone 7 Applications with Silverlight
PPTX
Developing windows phone 7 application with silverlight
PPTX
An end-to-end experience of Windows Phone 7 development (Part 2)
PPTX
Designing and developing a Windows Phone 7 Silverlight Application End-to-End...
PDF
Windows Phone 7 Guide for Android Application Developers
PDF
Wp7 guide for android developers
PPTX
Windows phone 7 development
PPTX
데브멘토 발표세미나
PDF
Porting iPhone Apps to Windows Phone 7
PPTX
Computer project work
PPTX
Windows Phone 7
PPTX
Designing and developing a Windows Phone 7 Silverlight Application End-to-End...
PDF
Windows Phone 7 Developer Guide Building connected mobile applications with M...
PPTX
Windows Phone Introduction
PPTX
Windows Phone Apps Development overview
PPTX
Windows Phone 8 App Development
PPTX
WP7 Study 발표 - WinMoDev
PPTX
Windows Phone 7 Architecture Overview
PPTX
Windows Phone 7 Unleashed Session 1
PPTX
Getting Started with WP7 Development
Windows Phone 7 Applications with Silverlight
Developing windows phone 7 application with silverlight
An end-to-end experience of Windows Phone 7 development (Part 2)
Designing and developing a Windows Phone 7 Silverlight Application End-to-End...
Windows Phone 7 Guide for Android Application Developers
Wp7 guide for android developers
Windows phone 7 development
데브멘토 발표세미나
Porting iPhone Apps to Windows Phone 7
Computer project work
Windows Phone 7
Designing and developing a Windows Phone 7 Silverlight Application End-to-End...
Windows Phone 7 Developer Guide Building connected mobile applications with M...
Windows Phone Introduction
Windows Phone Apps Development overview
Windows Phone 8 App Development
WP7 Study 발표 - WinMoDev
Windows Phone 7 Architecture Overview
Windows Phone 7 Unleashed Session 1
Getting Started with WP7 Development

More from Subodh Pushpak (17)

PPTX
Azure data platform & structured storage
PPTX
Xamarin day10 - Advance concepts - Native Binding, service calling
PPTX
Xamarin day9 - Advance Xamarin Forms
PPTX
Xamarin day7
PPTX
Xamarin day6 - Using SQlite on iOS, Android, Widows Phone, WinRT
PPTX
Xamarin day4 - iOS concepts
PPTX
Xamarin day3 - Android Fragments
PPTX
Xamarin day1
PPTX
New features in .NET 4.5, C# and VS2012
PPTX
Windows Azure with ASP .Net MVC3
PPTX
Windows Azure with Windows Phone 7
PPTX
Windows Phone 7- From idea to making money
PPTX
WebMatrix2
PPTX
WebMatrix
PPT
Dot Net Training Dot Net35
PPT
Dot Net Training Wcf Dot Net35
PPT
Silverlight Training
Azure data platform & structured storage
Xamarin day10 - Advance concepts - Native Binding, service calling
Xamarin day9 - Advance Xamarin Forms
Xamarin day7
Xamarin day6 - Using SQlite on iOS, Android, Widows Phone, WinRT
Xamarin day4 - iOS concepts
Xamarin day3 - Android Fragments
Xamarin day1
New features in .NET 4.5, C# and VS2012
Windows Azure with ASP .Net MVC3
Windows Azure with Windows Phone 7
Windows Phone 7- From idea to making money
WebMatrix2
WebMatrix
Dot Net Training Dot Net35
Dot Net Training Wcf Dot Net35
Silverlight Training

Recently uploaded (20)

PDF
Flame analysis and combustion estimation using large language and vision assi...
PDF
Accessing-Finance-in-Jordan-MENA 2024 2025.pdf
PDF
Produktkatalog für HOBO Datenlogger, Wetterstationen, Sensoren, Software und ...
DOCX
Basics of Cloud Computing - Cloud Ecosystem
PPTX
Custom Battery Pack Design Considerations for Performance and Safety
PPTX
future_of_ai_comprehensive_20250822032121.pptx
PPTX
Microsoft User Copilot Training Slide Deck
PDF
INTERSPEECH 2025 「Recent Advances and Future Directions in Voice Conversion」
PPTX
Build Your First AI Agent with UiPath.pptx
PDF
“A New Era of 3D Sensing: Transforming Industries and Creating Opportunities,...
PDF
Transform-Your-Streaming-Platform-with-AI-Driven-Quality-Engineering.pdf
PDF
NewMind AI Weekly Chronicles – August ’25 Week IV
PDF
Comparative analysis of machine learning models for fake news detection in so...
PDF
Co-training pseudo-labeling for text classification with support vector machi...
DOCX
search engine optimization ppt fir known well about this
PPTX
AI-driven Assurance Across Your End-to-end Network With ThousandEyes
PDF
Advancing precision in air quality forecasting through machine learning integ...
PDF
sustainability-14-14877-v2.pddhzftheheeeee
PDF
Enhancing plagiarism detection using data pre-processing and machine learning...
PDF
sbt 2.0: go big (Scala Days 2025 edition)
Flame analysis and combustion estimation using large language and vision assi...
Accessing-Finance-in-Jordan-MENA 2024 2025.pdf
Produktkatalog für HOBO Datenlogger, Wetterstationen, Sensoren, Software und ...
Basics of Cloud Computing - Cloud Ecosystem
Custom Battery Pack Design Considerations for Performance and Safety
future_of_ai_comprehensive_20250822032121.pptx
Microsoft User Copilot Training Slide Deck
INTERSPEECH 2025 「Recent Advances and Future Directions in Voice Conversion」
Build Your First AI Agent with UiPath.pptx
“A New Era of 3D Sensing: Transforming Industries and Creating Opportunities,...
Transform-Your-Streaming-Platform-with-AI-Driven-Quality-Engineering.pdf
NewMind AI Weekly Chronicles – August ’25 Week IV
Comparative analysis of machine learning models for fake news detection in so...
Co-training pseudo-labeling for text classification with support vector machi...
search engine optimization ppt fir known well about this
AI-driven Assurance Across Your End-to-end Network With ThousandEyes
Advancing precision in air quality forecasting through machine learning integ...
sustainability-14-14877-v2.pddhzftheheeeee
Enhancing plagiarism detection using data pre-processing and machine learning...
sbt 2.0: go big (Scala Days 2025 edition)

Windows phone7 subodh

  • 2. Agenda  Introduction to Windows Phone 7  Tools for Development on Windows Phone 7  Using Silverlight for WP7 development  Navigation among pages of application  WP 7 application lifecycle  Launchers and Choosers  Tombstoning  Fetching data from server  Deployment model of WP7 application  Demos  Q & A
  • 3. Introduction to WP7  Windows 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 Qualcomm  Mobile 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 Chassis  The 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 7  The 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 WP7  Expression Blend for WP7 is available for designers for defining user interface of the application  Windows Phone Emulator  a desktop application that emulates a Windows Phone OS 7.0 device  Additional tools: Developer Registration tool, Application Deployment tool, Windows Phone Connect tool, Phone Capability Detection tool
  • 7. Introduction to Windows Phone 7  The 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 Perspective The Windows Phone Application Platform is designed to support the multi- screen world
  • 9. Lightening up the Web  Silverlight apps = code + markup* XAML markup language defines UI .NET code handles interaction Silverlight .NET Application
  • 10. Demo  Build a WP7 Client  Investigating Execution Model Events  Basic Navigation  PhoneApplicationService  Launchers: PhoneCallTask, SearchTask  Choosers: PhotoChooserTask  Create a Odata Service  Connect WP7 to Odata Service
  • 12. Windows Phone execution model  The 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. Tombstoning  Tombstoning: 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. Launchers  Launchers: 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. Choosers  Choosers: 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
  • 17. Write in to Subodh N Pushpak http://geekswithblogs.net/subodhnpushpak/ http://subodhnpushpak.wordpress.com [email protected] Twitter: s_pushpak

Editor's Notes

  • #4: Metro design language contains the following principles Clean, Light, Open, Fast UI 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