SlideShare uma empresa Scribd logo
1 de 19
WINDOWS PHONE 8
Introducing Windows Phone 8 Development
FOLLOW US
Twitter

: @chothanihitesh

Slideshare

: http://www.slideshare.net/Chothani-Hitesh

Email

: chothani.hitesh@gmail.com

Support

: windows.chothani@live.com

LinkedIn

: in.linkedin.com/pub/hiteshchothani/6b/311/2b8

W8 Publisher

: AppStudios

WP Publisher : AppStudios
Website

: www.appmobinfotech.com
INTRODUCING WINDOWS PHONE 8 APP
DEVELOPMENT | PART 1
NEW WP8 HARDWARE
BEAUTIFUL

NEW HARDWARE FROM

NOKIA, HTC, SAMSUNG

AND MORE…
MODERN SMARTPHONE PLATFORM


New multicore chipset New graphics
processor Increased RAM: 1GB or
512MB More Screen resolutions and
Removable encryptable storage NFC

(Near Field Communication)

(Radio communication)
SHARED WINDOWS CORE
WINDOWS 8 AND WINDOWS PHONE 8 SHARE MANY COMPONENTS
OPERATING SYSTEM LEVEL

AT THE
WINDOWS PHONE 8 PROGRAMMING APIS


Windows Phone 8 supports


Managed app dev using the
WP7.1, WP8.0 .NET and
Windows Phone Runtime
APIs



Native app dev using
WinPRT and Win32



Games dev using the WP7.1
XNA framework



Games dev using Direct3D or
DirectX
.NET API FOR WINDOWS PHONE



The .NET API for Windows Phone is the primary managed API





Includes *all* the types and APIs from Windows Phone OS 7.1
Contains classes and types from the System and Microsoft.Phone namespaces

There have been new classes added for Windows Phone 8.0, for example


Microsoft.Phone.Wallet



Microsoft.Phone.Tasks.ShareMediaTask



Microsoft.Phone.Tasks.MapsTask



Microsoft.Phone.Storage.ExternalStorage



Microsoft.Phone.Networking.Voip



Many more…!
WINDOWS PHONE RUNTIME API


Windows Phone Runtime is a subset of the full WinRT, plus some phone-specific
additions


Windows (Phone) Runtime is implemented in C++ and projected into C#, VB.NET, and C++



HTML5/JavaScript projection not available on Windows Phone 8



Phone-specific additions to Windows
Phone Runtime include


Speech synthesis and recognition



Windows.Phone.PersonalInformation



LockScreen and LockScreenManager



More…
API CHOICES FOR MANAGED CODE
DEVELOPERS


Many of the APIs in Windows Phone Runtime exist to provide new functionality
to Windows Phone



Other APIs exist to expose Windows Phone capabilities to both native and
managed code developers and provide equivalent functionality to the .NET APIs



Managed code developers can use whichever API they like
•

Developers targeting WP7.1 and WP8 devices will prefer the .NET API

•

Developers sharing code between WP8 and W8 targets will tend to use the Windows
Phone Runtime API
XAML UI WITH MANAGED CODE


The most common way to build apps for Windows Phone



UI defined using XAML



Logic written using C# or Visual Basic .NET



Access .NET APIs and Windows Phone Runtime APIs
XNA GAMES USING MANAGED CODE


You can develop games for Windows Phone using the XNA framework



Same functionality as in Windows Phone OS 7.1



Logic written using C# or Visual Basic .NET



Access .NET 7.1 APIs, not Windows Phone 8 APIs



Same new project templates as Visual Studio 2010
DIRECT3D APP


Direct3D app written entirely in native
code, and which use only Direct3D for
its UI



Games development – significant
sharing of code base with a PC version



Access Windows Phone Runtime APIs –
significant subset of the Windows 8

SDK


Easier to share native components such
as compute engines, graphic libraries
and API sets
HTML5 APP DEVELOPMENT


Windows 8-style HTML5/JavaScript app

development is not supported on Windows Phone 8


Windows Phone Runtime projections to C#/VB.NET
and C++ only



However, Windows Phone 8 includes Internet
Explorer 10


Another shared codebase with Windows 8



Great support for HTML5 (2 x feature support
compared to Windows Phone 7.5)



New JavaScript processing engine (4 x faster than
Windows Phone 7.5)



This same browser is at the heart of the
WebBrowser control


You can build HTML5-based apps rendered in the
WebBrowser against local or web-based content
HTML5 APP PROJECT TEMPLATE
WINDOWS PHONE OS 7.1 APPS ON
WINDOWS PHONE 8



Instead of breaking WP 7.1 apps
running with the WP 8.0 runtime,

quirks mode is applied to retain WP
7.1 behaviour


Apps that are upgraded to WP 8.0 and
recompiled run on the phone without
quirks mode being applied
CONVERTING CODE DEVELOPED FOR WP
OS 7.1 TO WP 8.0


When converting existing WP7.1 code to WP 8.0, be careful your code does
not rely on WP 7.1 behaviour



Two scenarios to consider:


Source code incompatibility – when code is recompiled for Windows Phone 8, the new WP8
behaviour applies which differs from how the same code behaved when run on WP 7.1
Example: Assembly.GetType property method searches for the specified type in mscorlib.dll
as well as in the assembly on which it is called on WP OS 7.1, but on WP8, it searches for
the specified type only in the assembly on which it is called



Binary app incompatibility – some behaviours cannot be quirked, so an app that has been
written for, and tested on WP OS 7.1 will not run the same on a WP8 device because of a
difference in runtime behaviour Example: The garbage collector in the WP8 runtime is
completely different from that on WP OS 7.1. If your 7.1 code relies on a particular order of
object finalization, it may be broken. The dependency on a particular order of finalization
should be removed
SOURCE CODE INCOMPATIBILITY
EXAMPLES
Code that Behaves Differently When Compiled for WP8 and
Quirks Mode is no longer Applied
Thank You

Mais conteúdo relacionado

Mais procurados

Windowsphone7
Windowsphone7Windowsphone7
Windowsphone7yuvaraj72
 
Top 10 Differences between developing Windows Phone and Store apps
Top 10 Differences between developing Windows Phone and Store appsTop 10 Differences between developing Windows Phone and Store apps
Top 10 Differences between developing Windows Phone and Store appsMorten Nielsen
 
Windows Phone Apps Development overview
Windows Phone Apps Development overviewWindows Phone Apps Development overview
Windows Phone Apps Development overviewPruthvi Reddy
 
Top reason to choose flutter app development
Top reason to choose flutter app developmentTop reason to choose flutter app development
Top reason to choose flutter app developmentElenorWisozk
 
How to build PhoneGap App for Windows Phone?
How to build PhoneGap App for Windows Phone?How to build PhoneGap App for Windows Phone?
How to build PhoneGap App for Windows Phone?MobilePundits
 
Windows 10 & Raspberry Pi 2
Windows 10 & Raspberry Pi 2Windows 10 & Raspberry Pi 2
Windows 10 & Raspberry Pi 2ByteMinded
 
Getting Started with WP7 Development
Getting Started with WP7 DevelopmentGetting Started with WP7 Development
Getting Started with WP7 DevelopmentJeff Bramwell
 
Introduction for Windows phone 8.1 .
Introduction for Windows phone 8.1 . Introduction for Windows phone 8.1 .
Introduction for Windows phone 8.1 . Youssef Elsalhawy
 
Cross-Platform App Development in C#
Cross-Platform App Development in C#Cross-Platform App Development in C#
Cross-Platform App Development in C#MobilePundits
 
Dot net universal apps
Dot net universal appsDot net universal apps
Dot net universal appssonia merchant
 
Flutter single codebase to build your dream application for i os and android
Flutter single codebase to build your dream application for i os and android Flutter single codebase to build your dream application for i os and android
Flutter single codebase to build your dream application for i os and android Concetto Labs
 
Flutter 2.2 version | skywave info solutions
Flutter 2.2 version | skywave info solutionsFlutter 2.2 version | skywave info solutions
Flutter 2.2 version | skywave info solutionsSkywave Info Solutions
 
Visual Studio Code Can Do That: Tips & Tricks
Visual Studio Code Can Do That: Tips & TricksVisual Studio Code Can Do That: Tips & Tricks
Visual Studio Code Can Do That: Tips & TricksMicrosoft Tech Community
 
A lap around Windows Phone 8.1
A lap around Windows Phone 8.1A lap around Windows Phone 8.1
A lap around Windows Phone 8.1Nico Vermeir
 
Windows p hone app developement
Windows p hone app developementWindows p hone app developement
Windows p hone app developementYudi Herdiana
 
Windows Phone 8 - 1 Introducing Windows Phone 8 Development
Windows Phone 8 - 1 Introducing Windows Phone 8 DevelopmentWindows Phone 8 - 1 Introducing Windows Phone 8 Development
Windows Phone 8 - 1 Introducing Windows Phone 8 DevelopmentOliver Scheer
 
Flutter single codebase to build your dream application for i os and android
Flutter single codebase to build your dream application for i os and android Flutter single codebase to build your dream application for i os and android
Flutter single codebase to build your dream application for i os and android Heli Thakkar
 

Mais procurados (19)

Windowsphone7
Windowsphone7Windowsphone7
Windowsphone7
 
Top 10 Differences between developing Windows Phone and Store apps
Top 10 Differences between developing Windows Phone and Store appsTop 10 Differences between developing Windows Phone and Store apps
Top 10 Differences between developing Windows Phone and Store apps
 
Windows Phone Apps Development overview
Windows Phone Apps Development overviewWindows Phone Apps Development overview
Windows Phone Apps Development overview
 
Top reason to choose flutter app development
Top reason to choose flutter app developmentTop reason to choose flutter app development
Top reason to choose flutter app development
 
How to build PhoneGap App for Windows Phone?
How to build PhoneGap App for Windows Phone?How to build PhoneGap App for Windows Phone?
How to build PhoneGap App for Windows Phone?
 
Windows 10 & Raspberry Pi 2
Windows 10 & Raspberry Pi 2Windows 10 & Raspberry Pi 2
Windows 10 & Raspberry Pi 2
 
Getting Started with WP7 Development
Getting Started with WP7 DevelopmentGetting Started with WP7 Development
Getting Started with WP7 Development
 
Introduction for Windows phone 8.1 .
Introduction for Windows phone 8.1 . Introduction for Windows phone 8.1 .
Introduction for Windows phone 8.1 .
 
Presentation[1]
Presentation[1]Presentation[1]
Presentation[1]
 
Cross-Platform App Development in C#
Cross-Platform App Development in C#Cross-Platform App Development in C#
Cross-Platform App Development in C#
 
Dot net universal apps
Dot net universal appsDot net universal apps
Dot net universal apps
 
Flutter single codebase to build your dream application for i os and android
Flutter single codebase to build your dream application for i os and android Flutter single codebase to build your dream application for i os and android
Flutter single codebase to build your dream application for i os and android
 
Flutter 2.2 version | skywave info solutions
Flutter 2.2 version | skywave info solutionsFlutter 2.2 version | skywave info solutions
Flutter 2.2 version | skywave info solutions
 
Visual Studio Code Can Do That: Tips & Tricks
Visual Studio Code Can Do That: Tips & TricksVisual Studio Code Can Do That: Tips & Tricks
Visual Studio Code Can Do That: Tips & Tricks
 
Windows Phone Introduction
Windows Phone IntroductionWindows Phone Introduction
Windows Phone Introduction
 
A lap around Windows Phone 8.1
A lap around Windows Phone 8.1A lap around Windows Phone 8.1
A lap around Windows Phone 8.1
 
Windows p hone app developement
Windows p hone app developementWindows p hone app developement
Windows p hone app developement
 
Windows Phone 8 - 1 Introducing Windows Phone 8 Development
Windows Phone 8 - 1 Introducing Windows Phone 8 DevelopmentWindows Phone 8 - 1 Introducing Windows Phone 8 Development
Windows Phone 8 - 1 Introducing Windows Phone 8 Development
 
Flutter single codebase to build your dream application for i os and android
Flutter single codebase to build your dream application for i os and android Flutter single codebase to build your dream application for i os and android
Flutter single codebase to build your dream application for i os and android
 

Destaque

Sistemas Operacionais Multimidia Cap7 Tanenbaum
Sistemas Operacionais Multimidia   Cap7 TanenbaumSistemas Operacionais Multimidia   Cap7 Tanenbaum
Sistemas Operacionais Multimidia Cap7 Tanenbaumandfelipe
 
Overview do Windows Phone 7 Series
Overview do Windows Phone 7 SeriesOverview do Windows Phone 7 Series
Overview do Windows Phone 7 SeriesLuciano Condé
 
Windows phone 8 session 13
Windows phone 8 session 13Windows phone 8 session 13
Windows phone 8 session 13hitesh chothani
 
03 Sistemas Operacionais Linux
03   Sistemas Operacionais Linux03   Sistemas Operacionais Linux
03 Sistemas Operacionais LinuxMauro Duarte
 
Introdução a sistemas operacionais 002
Introdução a sistemas operacionais 002Introdução a sistemas operacionais 002
Introdução a sistemas operacionais 002ewerton333
 
Sistemas Operacionais - 05 - Sistemas Operacionais Microsoft
Sistemas Operacionais - 05 - Sistemas Operacionais MicrosoftSistemas Operacionais - 05 - Sistemas Operacionais Microsoft
Sistemas Operacionais - 05 - Sistemas Operacionais MicrosoftMauro Duarte
 
Primeiros passos Windows Phone - 3º Campo Grande Game Show
Primeiros passos Windows Phone - 3º Campo Grande Game ShowPrimeiros passos Windows Phone - 3º Campo Grande Game Show
Primeiros passos Windows Phone - 3º Campo Grande Game ShowLeandro Borges
 
ApresentaçãO2 Sistema Operacional
ApresentaçãO2  Sistema OperacionalApresentaçãO2  Sistema Operacional
ApresentaçãO2 Sistema OperacionalCláudia Costa
 

Destaque (8)

Sistemas Operacionais Multimidia Cap7 Tanenbaum
Sistemas Operacionais Multimidia   Cap7 TanenbaumSistemas Operacionais Multimidia   Cap7 Tanenbaum
Sistemas Operacionais Multimidia Cap7 Tanenbaum
 
Overview do Windows Phone 7 Series
Overview do Windows Phone 7 SeriesOverview do Windows Phone 7 Series
Overview do Windows Phone 7 Series
 
Windows phone 8 session 13
Windows phone 8 session 13Windows phone 8 session 13
Windows phone 8 session 13
 
03 Sistemas Operacionais Linux
03   Sistemas Operacionais Linux03   Sistemas Operacionais Linux
03 Sistemas Operacionais Linux
 
Introdução a sistemas operacionais 002
Introdução a sistemas operacionais 002Introdução a sistemas operacionais 002
Introdução a sistemas operacionais 002
 
Sistemas Operacionais - 05 - Sistemas Operacionais Microsoft
Sistemas Operacionais - 05 - Sistemas Operacionais MicrosoftSistemas Operacionais - 05 - Sistemas Operacionais Microsoft
Sistemas Operacionais - 05 - Sistemas Operacionais Microsoft
 
Primeiros passos Windows Phone - 3º Campo Grande Game Show
Primeiros passos Windows Phone - 3º Campo Grande Game ShowPrimeiros passos Windows Phone - 3º Campo Grande Game Show
Primeiros passos Windows Phone - 3º Campo Grande Game Show
 
ApresentaçãO2 Sistema Operacional
ApresentaçãO2  Sistema OperacionalApresentaçãO2  Sistema Operacional
ApresentaçãO2 Sistema Operacional
 

Semelhante a Introducing Windows Phone 8 Development

Windows Phone 8 - introducing wp8 development
Windows Phone 8 - introducing wp8 developmentWindows Phone 8 - introducing wp8 development
Windows Phone 8 - introducing wp8 developmentGouda Mando
 
Windows Phone 8 App Development
Windows Phone 8 App DevelopmentWindows Phone 8 App Development
Windows Phone 8 App DevelopmentDalpatTapaniya
 
Windows phone 8 overview
Windows phone 8 overviewWindows phone 8 overview
Windows phone 8 overviewcodeblock
 
Rivalry Now Begins: Rise of Windows Phone 8
Rivalry Now Begins: Rise of Windows Phone 8Rivalry Now Begins: Rise of Windows Phone 8
Rivalry Now Begins: Rise of Windows Phone 8Monitise MEA
 
Classification of the document
Classification of the documentClassification of the document
Classification of the documentthink_cloud
 
How to modernise WPF and Windows Forms applications with Windows Apps SDK
How to modernise WPF and Windows Forms applications with Windows Apps SDKHow to modernise WPF and Windows Forms applications with Windows Apps SDK
How to modernise WPF and Windows Forms applications with Windows Apps SDKMirco Vanini
 
Windows8.1 html5 dev paradigm discussion netponto
Windows8.1 html5 dev paradigm discussion netpontoWindows8.1 html5 dev paradigm discussion netponto
Windows8.1 html5 dev paradigm discussion netpontoAlexandre Marreiros
 
Mobile Devolpment Slides
Mobile Devolpment SlidesMobile Devolpment Slides
Mobile Devolpment SlidesLuke Angel
 
Windows phone 8 session 2
Windows phone 8 session 2Windows phone 8 session 2
Windows phone 8 session 2hitesh chothani
 
Introducing the Windows Phone 8.1 App Development Platform
Introducing the Windows Phone 8.1 App Development PlatformIntroducing the Windows Phone 8.1 App Development Platform
Introducing the Windows Phone 8.1 App Development PlatformMariano Sánchez
 
Windows store app development V1
Windows store app development V1Windows store app development V1
Windows store app development V1Foyzul Karim
 
Windows 8 mobile app development
Windows 8 mobile app developmentWindows 8 mobile app development
Windows 8 mobile app developmentTirth Thakkar
 
Developing Apps for Windows Phone 8
Developing Apps for Windows Phone 8Developing Apps for Windows Phone 8
Developing Apps for Windows Phone 8KMS Technology
 
Windows 8 App and Game Development Landscape
Windows 8 App and Game Development LandscapeWindows 8 App and Game Development Landscape
Windows 8 App and Game Development LandscapeJim O'Neil
 
Adc2012 windows phone 8
Adc2012 windows phone 8Adc2012 windows phone 8
Adc2012 windows phone 8AlexanderGoetz
 
Windows Phone 8 Advanced Developers Conference
Windows Phone 8 Advanced Developers ConferenceWindows Phone 8 Advanced Developers Conference
Windows Phone 8 Advanced Developers ConferenceDamir Dobric
 
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.6Marco Tabor
 
Mobile Application Development-Lecture 03 & 04.pdf
Mobile Application Development-Lecture 03 & 04.pdfMobile Application Development-Lecture 03 & 04.pdf
Mobile Application Development-Lecture 03 & 04.pdfAbdullahMunir32
 
01 introducing the windows phone 8.1
01   introducing the windows phone 8.101   introducing the windows phone 8.1
01 introducing the windows phone 8.1WindowsPhoneRocks
 

Semelhante a Introducing Windows Phone 8 Development (20)

Windows Phone 8 - introducing wp8 development
Windows Phone 8 - introducing wp8 developmentWindows Phone 8 - introducing wp8 development
Windows Phone 8 - introducing wp8 development
 
Windows Phone 8 App Development
Windows Phone 8 App DevelopmentWindows Phone 8 App Development
Windows Phone 8 App Development
 
Windows 7 mobile
Windows 7 mobileWindows 7 mobile
Windows 7 mobile
 
Windows phone 8 overview
Windows phone 8 overviewWindows phone 8 overview
Windows phone 8 overview
 
Rivalry Now Begins: Rise of Windows Phone 8
Rivalry Now Begins: Rise of Windows Phone 8Rivalry Now Begins: Rise of Windows Phone 8
Rivalry Now Begins: Rise of Windows Phone 8
 
Classification of the document
Classification of the documentClassification of the document
Classification of the document
 
How to modernise WPF and Windows Forms applications with Windows Apps SDK
How to modernise WPF and Windows Forms applications with Windows Apps SDKHow to modernise WPF and Windows Forms applications with Windows Apps SDK
How to modernise WPF and Windows Forms applications with Windows Apps SDK
 
Windows8.1 html5 dev paradigm discussion netponto
Windows8.1 html5 dev paradigm discussion netpontoWindows8.1 html5 dev paradigm discussion netponto
Windows8.1 html5 dev paradigm discussion netponto
 
Mobile Devolpment Slides
Mobile Devolpment SlidesMobile Devolpment Slides
Mobile Devolpment Slides
 
Windows phone 8 session 2
Windows phone 8 session 2Windows phone 8 session 2
Windows phone 8 session 2
 
Introducing the Windows Phone 8.1 App Development Platform
Introducing the Windows Phone 8.1 App Development PlatformIntroducing the Windows Phone 8.1 App Development Platform
Introducing the Windows Phone 8.1 App Development Platform
 
Windows store app development V1
Windows store app development V1Windows store app development V1
Windows store app development V1
 
Windows 8 mobile app development
Windows 8 mobile app developmentWindows 8 mobile app development
Windows 8 mobile app development
 
Developing Apps for Windows Phone 8
Developing Apps for Windows Phone 8Developing Apps for Windows Phone 8
Developing Apps for Windows Phone 8
 
Windows 8 App and Game Development Landscape
Windows 8 App and Game Development LandscapeWindows 8 App and Game Development Landscape
Windows 8 App and Game Development Landscape
 
Adc2012 windows phone 8
Adc2012 windows phone 8Adc2012 windows phone 8
Adc2012 windows phone 8
 
Windows Phone 8 Advanced Developers Conference
Windows Phone 8 Advanced Developers ConferenceWindows Phone 8 Advanced Developers Conference
Windows Phone 8 Advanced Developers Conference
 
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
 
Mobile Application Development-Lecture 03 & 04.pdf
Mobile Application Development-Lecture 03 & 04.pdfMobile Application Development-Lecture 03 & 04.pdf
Mobile Application Development-Lecture 03 & 04.pdf
 
01 introducing the windows phone 8.1
01   introducing the windows phone 8.101   introducing the windows phone 8.1
01 introducing the windows phone 8.1
 

Mais de hitesh chothani

Windows phone 8 session 11
Windows phone 8 session 11Windows phone 8 session 11
Windows phone 8 session 11hitesh chothani
 
Windows phone 8 session 10
Windows phone 8 session 10Windows phone 8 session 10
Windows phone 8 session 10hitesh chothani
 
Windows phone 8 session 9
Windows phone 8 session 9Windows phone 8 session 9
Windows phone 8 session 9hitesh chothani
 
Windows phone 8 session 8
Windows phone 8 session 8Windows phone 8 session 8
Windows phone 8 session 8hitesh chothani
 
Windows phone 8 session 7
Windows phone 8 session 7Windows phone 8 session 7
Windows phone 8 session 7hitesh chothani
 
Windows phone 8 session 6
Windows phone 8 session 6Windows phone 8 session 6
Windows phone 8 session 6hitesh chothani
 
Windows phone 8 session 5
Windows phone 8 session 5Windows phone 8 session 5
Windows phone 8 session 5hitesh chothani
 
Windows phone 8 session 4
Windows phone 8 session 4Windows phone 8 session 4
Windows phone 8 session 4hitesh chothani
 
Windows phone 8 session 3
Windows phone 8 session 3Windows phone 8 session 3
Windows phone 8 session 3hitesh chothani
 

Mais de hitesh chothani (9)

Windows phone 8 session 11
Windows phone 8 session 11Windows phone 8 session 11
Windows phone 8 session 11
 
Windows phone 8 session 10
Windows phone 8 session 10Windows phone 8 session 10
Windows phone 8 session 10
 
Windows phone 8 session 9
Windows phone 8 session 9Windows phone 8 session 9
Windows phone 8 session 9
 
Windows phone 8 session 8
Windows phone 8 session 8Windows phone 8 session 8
Windows phone 8 session 8
 
Windows phone 8 session 7
Windows phone 8 session 7Windows phone 8 session 7
Windows phone 8 session 7
 
Windows phone 8 session 6
Windows phone 8 session 6Windows phone 8 session 6
Windows phone 8 session 6
 
Windows phone 8 session 5
Windows phone 8 session 5Windows phone 8 session 5
Windows phone 8 session 5
 
Windows phone 8 session 4
Windows phone 8 session 4Windows phone 8 session 4
Windows phone 8 session 4
 
Windows phone 8 session 3
Windows phone 8 session 3Windows phone 8 session 3
Windows phone 8 session 3
 

Último

Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxChelloAnnAsuncion2
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYKayeClaireEstoconing
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfphamnguyenenglishnb
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...Postal Advocate Inc.
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 
Q4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxQ4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxnelietumpap1
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
 

Último (20)

Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 
Q4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxQ4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptx
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
 

Introducing Windows Phone 8 Development

  • 1. WINDOWS PHONE 8 Introducing Windows Phone 8 Development
  • 2. FOLLOW US Twitter : @chothanihitesh Slideshare : http://www.slideshare.net/Chothani-Hitesh Email : chothani.hitesh@gmail.com Support : windows.chothani@live.com LinkedIn : in.linkedin.com/pub/hiteshchothani/6b/311/2b8 W8 Publisher : AppStudios WP Publisher : AppStudios Website : www.appmobinfotech.com
  • 3. INTRODUCING WINDOWS PHONE 8 APP DEVELOPMENT | PART 1
  • 4. NEW WP8 HARDWARE BEAUTIFUL NEW HARDWARE FROM NOKIA, HTC, SAMSUNG AND MORE…
  • 5. MODERN SMARTPHONE PLATFORM  New multicore chipset New graphics processor Increased RAM: 1GB or 512MB More Screen resolutions and Removable encryptable storage NFC (Near Field Communication) (Radio communication)
  • 6. SHARED WINDOWS CORE WINDOWS 8 AND WINDOWS PHONE 8 SHARE MANY COMPONENTS OPERATING SYSTEM LEVEL AT THE
  • 7. WINDOWS PHONE 8 PROGRAMMING APIS  Windows Phone 8 supports  Managed app dev using the WP7.1, WP8.0 .NET and Windows Phone Runtime APIs  Native app dev using WinPRT and Win32  Games dev using the WP7.1 XNA framework  Games dev using Direct3D or DirectX
  • 8. .NET API FOR WINDOWS PHONE  The .NET API for Windows Phone is the primary managed API    Includes *all* the types and APIs from Windows Phone OS 7.1 Contains classes and types from the System and Microsoft.Phone namespaces There have been new classes added for Windows Phone 8.0, for example  Microsoft.Phone.Wallet  Microsoft.Phone.Tasks.ShareMediaTask  Microsoft.Phone.Tasks.MapsTask  Microsoft.Phone.Storage.ExternalStorage  Microsoft.Phone.Networking.Voip  Many more…!
  • 9. WINDOWS PHONE RUNTIME API  Windows Phone Runtime is a subset of the full WinRT, plus some phone-specific additions  Windows (Phone) Runtime is implemented in C++ and projected into C#, VB.NET, and C++  HTML5/JavaScript projection not available on Windows Phone 8  Phone-specific additions to Windows Phone Runtime include  Speech synthesis and recognition  Windows.Phone.PersonalInformation  LockScreen and LockScreenManager  More…
  • 10. API CHOICES FOR MANAGED CODE DEVELOPERS  Many of the APIs in Windows Phone Runtime exist to provide new functionality to Windows Phone  Other APIs exist to expose Windows Phone capabilities to both native and managed code developers and provide equivalent functionality to the .NET APIs  Managed code developers can use whichever API they like • Developers targeting WP7.1 and WP8 devices will prefer the .NET API • Developers sharing code between WP8 and W8 targets will tend to use the Windows Phone Runtime API
  • 11. XAML UI WITH MANAGED CODE  The most common way to build apps for Windows Phone  UI defined using XAML  Logic written using C# or Visual Basic .NET  Access .NET APIs and Windows Phone Runtime APIs
  • 12. XNA GAMES USING MANAGED CODE  You can develop games for Windows Phone using the XNA framework  Same functionality as in Windows Phone OS 7.1  Logic written using C# or Visual Basic .NET  Access .NET 7.1 APIs, not Windows Phone 8 APIs  Same new project templates as Visual Studio 2010
  • 13. DIRECT3D APP  Direct3D app written entirely in native code, and which use only Direct3D for its UI  Games development – significant sharing of code base with a PC version  Access Windows Phone Runtime APIs – significant subset of the Windows 8 SDK  Easier to share native components such as compute engines, graphic libraries and API sets
  • 14. HTML5 APP DEVELOPMENT  Windows 8-style HTML5/JavaScript app development is not supported on Windows Phone 8  Windows Phone Runtime projections to C#/VB.NET and C++ only  However, Windows Phone 8 includes Internet Explorer 10  Another shared codebase with Windows 8  Great support for HTML5 (2 x feature support compared to Windows Phone 7.5)  New JavaScript processing engine (4 x faster than Windows Phone 7.5)  This same browser is at the heart of the WebBrowser control  You can build HTML5-based apps rendered in the WebBrowser against local or web-based content
  • 15. HTML5 APP PROJECT TEMPLATE
  • 16. WINDOWS PHONE OS 7.1 APPS ON WINDOWS PHONE 8  Instead of breaking WP 7.1 apps running with the WP 8.0 runtime, quirks mode is applied to retain WP 7.1 behaviour  Apps that are upgraded to WP 8.0 and recompiled run on the phone without quirks mode being applied
  • 17. CONVERTING CODE DEVELOPED FOR WP OS 7.1 TO WP 8.0  When converting existing WP7.1 code to WP 8.0, be careful your code does not rely on WP 7.1 behaviour  Two scenarios to consider:  Source code incompatibility – when code is recompiled for Windows Phone 8, the new WP8 behaviour applies which differs from how the same code behaved when run on WP 7.1 Example: Assembly.GetType property method searches for the specified type in mscorlib.dll as well as in the assembly on which it is called on WP OS 7.1, but on WP8, it searches for the specified type only in the assembly on which it is called  Binary app incompatibility – some behaviours cannot be quirked, so an app that has been written for, and tested on WP OS 7.1 will not run the same on a WP8 device because of a difference in runtime behaviour Example: The garbage collector in the WP8 runtime is completely different from that on WP OS 7.1. If your 7.1 code relies on a particular order of object finalization, it may be broken. The dependency on a particular order of finalization should be removed
  • 18. SOURCE CODE INCOMPATIBILITY EXAMPLES Code that Behaves Differently When Compiled for WP8 and Quirks Mode is no longer Applied