SlideShare a Scribd company logo
1 of 18
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

What's hot

Windows phone 8 session 2
Windows phone 8 session 2Windows phone 8 session 2
Windows phone 8 session 2
hitesh chothani
 
Mobile Developer's Guide To The Galaxy, 5th edition
Mobile Developer's Guide To The Galaxy, 5th editionMobile Developer's Guide To The Galaxy, 5th edition
Mobile Developer's Guide To The Galaxy, 5th edition
Marco Tabor
 
Windows Phone Garage - Application Jumpstart
Windows Phone Garage - Application JumpstartWindows Phone Garage - Application Jumpstart
Windows Phone Garage - Application Jumpstart
Glen Gordon
 
White paper native, web or hybrid mobile app development
White paper  native, web or hybrid mobile app developmentWhite paper  native, web or hybrid mobile app development
White paper native, web or hybrid mobile app development
IBM Software India
 
B feigin mobileapplicationdevelopment
B feigin mobileapplicationdevelopmentB feigin mobileapplicationdevelopment
B feigin mobileapplicationdevelopment
sathesh leo
 

What's hot (20)

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

Viewers also liked (6)

Xamarin day5 - iOS Advance Concepts
Xamarin day5 - iOS Advance ConceptsXamarin day5 - iOS Advance Concepts
Xamarin day5 - iOS Advance Concepts
 
Planet Lab
Planet LabPlanet Lab
Planet Lab
 
Xamarin day2 - Android with Xamarin
Xamarin day2 - Android with XamarinXamarin day2 - Android with Xamarin
Xamarin day2 - Android with Xamarin
 
Xamarin day8 - Xamarin forms. Common code / controls on iOS, Android, Windows
Xamarin day8 - Xamarin forms. Common code / controls on iOS, Android, WindowsXamarin day8 - Xamarin forms. Common code / controls on iOS, Android, Windows
Xamarin day8 - Xamarin forms. Common code / controls on iOS, Android, Windows
 
Introduction to silver light
Introduction to silver lightIntroduction to silver light
Introduction to silver light
 
Silver Light for every one by Subodh
Silver Light for every one by SubodhSilver Light for every one by Subodh
Silver Light for every one by Subodh
 

Similar to Windows phone7 subodh

Windows Phone 7 Applications with Silverlight
Windows Phone 7 Applications with SilverlightWindows Phone 7 Applications with Silverlight
Windows Phone 7 Applications with Silverlight
Rishu Mehra
 
Windowsphone7
Windowsphone7Windowsphone7
Windowsphone7
yuvaraj72
 
Windows Phone 7: Silverlight
Windows Phone 7: SilverlightWindows Phone 7: Silverlight
Windows Phone 7: Silverlight
Rishu Mehra
 
Porting iPhone Apps to Windows Phone 7
Porting iPhone Apps to Windows Phone 7Porting iPhone Apps to Windows Phone 7
Porting iPhone Apps to Windows Phone 7
Wes Yanaga
 

Similar to Windows phone7 subodh (20)

Windows Phone 7 Applications with Silverlight
Windows Phone 7 Applications with SilverlightWindows Phone 7 Applications with Silverlight
Windows Phone 7 Applications with Silverlight
 
Windowsphone7
Windowsphone7Windowsphone7
Windowsphone7
 
Windows Phone 7: Silverlight
Windows Phone 7: SilverlightWindows Phone 7: Silverlight
Windows Phone 7: Silverlight
 
An end-to-end experience of Windows Phone 7 development (Part 2)
An end-to-end experience of Windows Phone 7 development (Part 2)An end-to-end experience of Windows Phone 7 development (Part 2)
An end-to-end experience of Windows Phone 7 development (Part 2)
 
Developing Application in WP7
Developing Application in WP7Developing Application in WP7
Developing Application in WP7
 
Mobile Devolpment Slides
Mobile Devolpment SlidesMobile Devolpment Slides
Mobile Devolpment Slides
 
Windows Phone Introduction
Windows Phone IntroductionWindows Phone Introduction
Windows Phone Introduction
 
Benefits of PhoneGap for Mobile App Development - Appzure
Benefits of PhoneGap for Mobile App Development - AppzureBenefits of PhoneGap for Mobile App Development - Appzure
Benefits of PhoneGap for Mobile App Development - Appzure
 
Porting iPhone Apps to Windows Phone 7
Porting iPhone Apps to Windows Phone 7Porting iPhone Apps to Windows Phone 7
Porting iPhone Apps to Windows Phone 7
 
Presentation[1]
Presentation[1]Presentation[1]
Presentation[1]
 
Mobile Developers Guide To The Galaxy Vol.6
Mobile Developers Guide To The Galaxy Vol.6Mobile Developers Guide To The Galaxy Vol.6
Mobile Developers Guide To The Galaxy Vol.6
 
Cross platform Web apps
Cross platform Web appsCross platform Web apps
Cross platform Web apps
 
Cross platform app a comparative study
Cross platform app  a comparative studyCross platform app  a comparative study
Cross platform app a comparative study
 
Windows Phone 7.5 Mango - What's New
Windows Phone 7.5 Mango - What's NewWindows Phone 7.5 Mango - What's New
Windows Phone 7.5 Mango - What's New
 
architecture of android.pptx
architecture of android.pptxarchitecture of android.pptx
architecture of android.pptx
 
Mobile Developer's Guide To The Galaxy, 14th Edition
Mobile Developer's Guide To The Galaxy, 14th EditionMobile Developer's Guide To The Galaxy, 14th Edition
Mobile Developer's Guide To The Galaxy, 14th Edition
 
Android Introduction by Kajal
Android Introduction by KajalAndroid Introduction by Kajal
Android Introduction by Kajal
 
mobicon_paper
mobicon_papermobicon_paper
mobicon_paper
 
Best android frameworks for app development in 2023.pdf
Best android frameworks for app development in 2023.pdfBest android frameworks for app development in 2023.pdf
Best android frameworks for app development in 2023.pdf
 
Ionic vs flutter best platform for hybrid app development
Ionic vs flutter  best platform for hybrid app developmentIonic vs flutter  best platform for hybrid app development
Ionic vs flutter best platform for hybrid app development
 

More from Subodh Pushpak

Windows Azure with ASP .Net MVC3
Windows Azure with ASP .Net MVC3 Windows Azure with ASP .Net MVC3
Windows Azure with ASP .Net MVC3
Subodh Pushpak
 
Windows Azure with Windows Phone 7
Windows Azure with Windows Phone 7Windows Azure with Windows Phone 7
Windows Azure with Windows Phone 7
Subodh Pushpak
 
Windows Phone 7- From idea to making money
Windows Phone 7- From idea to making moneyWindows Phone 7- From idea to making money
Windows Phone 7- From idea to making money
Subodh Pushpak
 
Dot Net Training Dot Net35
Dot Net Training Dot Net35Dot Net Training Dot Net35
Dot Net Training Dot Net35
Subodh Pushpak
 
Dot Net Training Wcf Dot Net35
Dot Net Training Wcf Dot Net35Dot Net Training Wcf Dot Net35
Dot Net Training Wcf Dot Net35
Subodh Pushpak
 

More from Subodh Pushpak (17)

Azure data platform & structured storage
Azure data platform & structured storageAzure data platform & structured storage
Azure data platform & structured storage
 
Xamarin day10 - Advance concepts - Native Binding, service calling
Xamarin day10 - Advance concepts - Native Binding, service callingXamarin day10 - Advance concepts - Native Binding, service calling
Xamarin day10 - Advance concepts - Native Binding, service calling
 
Xamarin day9 - Advance Xamarin Forms
Xamarin day9 - Advance Xamarin FormsXamarin day9 - Advance Xamarin Forms
Xamarin day9 - Advance Xamarin Forms
 
Xamarin day7
Xamarin day7Xamarin day7
Xamarin day7
 
Xamarin day6 - Using SQlite on iOS, Android, Widows Phone, WinRT
Xamarin day6 - Using SQlite on iOS, Android, Widows Phone, WinRTXamarin day6 - Using SQlite on iOS, Android, Widows Phone, WinRT
Xamarin day6 - Using SQlite on iOS, Android, Widows Phone, WinRT
 
Xamarin day4 - iOS concepts
Xamarin day4 - iOS conceptsXamarin day4 - iOS concepts
Xamarin day4 - iOS concepts
 
Xamarin day3 - Android Fragments
Xamarin day3 - Android FragmentsXamarin day3 - Android Fragments
Xamarin day3 - Android Fragments
 
Xamarin day1
Xamarin day1Xamarin day1
Xamarin day1
 
New features in .NET 4.5, C# and VS2012
New features in .NET 4.5, C# and VS2012New features in .NET 4.5, C# and VS2012
New features in .NET 4.5, C# and VS2012
 
Windows Azure with ASP .Net MVC3
Windows Azure with ASP .Net MVC3 Windows Azure with ASP .Net MVC3
Windows Azure with ASP .Net MVC3
 
Windows Azure with Windows Phone 7
Windows Azure with Windows Phone 7Windows Azure with Windows Phone 7
Windows Azure with Windows Phone 7
 
Windows Phone 7- From idea to making money
Windows Phone 7- From idea to making moneyWindows Phone 7- From idea to making money
Windows Phone 7- From idea to making money
 
WebMatrix2
WebMatrix2WebMatrix2
WebMatrix2
 
WebMatrix
WebMatrixWebMatrix
WebMatrix
 
Dot Net Training Dot Net35
Dot Net Training Dot Net35Dot Net Training Dot Net35
Dot Net Training Dot Net35
 
Dot Net Training Wcf Dot Net35
Dot Net Training Wcf Dot Net35Dot Net Training Wcf Dot Net35
Dot Net Training Wcf Dot Net35
 
Silverlight Training
Silverlight TrainingSilverlight Training
Silverlight Training
 

Recently uploaded

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 

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 S_pushpak@hotmail.com Twitter: s_pushpak

Editor's Notes

  1. 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