SlideShare a Scribd company logo
DEVELOPMENT
        FOR
    WINDOWS
     PHONE 8
      Damir Dobric
AGENDA
 Platform
                  Platform
 Evolution
                Compatibility
“Runtime 8”



 Emulator         WP8 API



                 Platform
App Model
                 Targeting



Code Sharing/     Mobile
   Speech         Services
Evolution
Die Kurze Geschichte der
                                     Zeit

                                                        Surface

             Windows NT         Vista     Windows 8
                                                        WinRT
                                          System32/
                     System32               WinRT
Windows 95

                                                         WP8
   DOS       Windows CE/
                            Win Mobile     WP7
              Embedded
                                                      WP8 Runtime
                            System32/CE
Demo


         As Runtime
         (Store App)

WinRT

            As API
        (Desktop App)
Platform Compatibility
o WP7 and WP7.1 Apps run on WP8!
o No general breaking changes
o Existing code is emulated in Quirks-
  Mode
o Some API differences
 example:
 XmlSerializer
 WP8 must have a default constructor.
 WP7 quirks: It is not necessary to have a default
 constructor
o Code after Rebuild targets WP8 platform
The dream or reality?
Upgrade

o In Solution Explorer, use the Upgrade
  to Windows Phone 8.0 command.
o In the project designer, change the
  Target Windows Phone OS Version
  value to Windows Phone OS 8.0.
Demo



 Windows Phone 8
 Hello World
Emulator

        • Hardware-assisted virtualization supported and
          enabled in the BIOS

        • Second Level Address Translation (SLAT)
          supported by the BIOS

        • Hardware-based Data Execution Prevention
          (DEP) supported and enabled in the BIOS


http://developers.de/blogs/damir_dobric/archive/2012/10/14/windows8-error-hypervisor-is-not-running.aspx
Resolution

                                   Scaled
       Resolution   Aspect ratio
                                   resolution


WVGA   480 × 800    15:9           480 × 800


WXGA   768 × 1280   15:9           480 × 800


720P   720 × 1280   16:9           480 × 853
Windows Phone API
Windows Phone API
Runtime 8
Runtime 8
Facts across platforms
Common API-s
Native API         WinRT API
                    Networking
DirectX 11.1
                    Sensors
XAudio2             Proximity
                    Storage
MediaEngine
                    DataSaver/Connection Manager
STL                 Location
                    Touch
CRT
                    Online Identity
WinSock             Keyboard
                    Launchers & Choosers
                    In-App Purchase
                    Sensors
                    Threading
                    Base Types/ Windows.Foundation
New APIs

o   Bluetoth
o   Advanced Capture
o   Lence control
o   Photo and Media enhencmets
o   LongListSelector
o   Subset of WinRT storage API
o   Data Sense API
o   DirectX and native audio and media
o   File and protocol associations
o   In-App purchasing
o   Location tracking in Background
o   App as Lock Screen
Common Controls




http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj735581(v=vs.105).aspx
Your Apps Your way
Supported Languages
Project Templates

o C# (HTML5)
o XNA
o C++
o HTML5
Demo


             Windows Phone 8

            JavaScript


                         Web App
          jQuery
                         on Phone




http://wpwidgetlibrary.codeplex.com/
Threading

o OS 7.1, apps run on a single core, and
  the scheduler is less aggressive in time-
  slicing
o OS 8, apps run on multiple cores and the
  scheduler is more aggressive in time-
  slicing threads.
  Raise conditions and concurrency bugs
  easier to achieve 
Platform Targeting

o Single OS 7.1 version which runs on
  both. No new features are supported.
  Runs in quirks
o Create separate copy for 7.1 and 8.0
o Create separate copy with shared files
Demo


Windows Phone 8,Windows 8

 Code Sharing

  Portable
              Linked Files
   Library



  Camera      Accelerometer
Network Improvements


o Socket Listeners (Incoming)
 Windows.Networking.Sockets

o IPv6
o Winsock Support
o Proximity API
In-App Purchasing

Class            Member                                                      Description




                 LoadListingInformationByProductIdsAsync(ListingInformatio
CurrentApp
                 n productIds)

                 LoadListingInformationByKeywordsAsync(ListingInformation
CurrentApp
                 keywords)


CurrentApp       void ReportProductFulfillment(string productId)

ProductLicense   bool IsConsumable { get; }
ProductListing   string Description { get; }
ProductListing   IEnumerable<string> Keywords {get;}
ProductListing   ProductType ProductType {get;}
ProductListing   string Tag {get;}
ProductListing   Uri ImageUri { get; }
Demo


Custom Protocol
Enterprise Device
                              Enrollment
o Enterprise Enrollment
   o Company Account
   o Symantec Verification
   o Corporate Signing Certificate
o Management
   o System Center
   o InTune
o Token Distribution
   o AETGenerator
     generates Application Enrollment Token (AET)
    .aetx
   o EnterpriseInstall.exe
       o Enrolles Token
       o Distributes XAP
o EnterpriseValidation.exe
   o Periodically sends Device ID, installed apps to MS Server to validate
     enterprise.
o Enterprise Developer API
   o query what apps are installed for enterprise,
   o start an enterprise app installation
   o query pending enterprise app installation
Demo


Background Process
Demo


  Speech
Demo


  Speech
PNS Infrastructure
Demo


     Windows Phone 8
Windows Azure Mobile Services
Where to start?


WP8 MSDN Documentation
http://msdn.microsoft.com/en-
us/library/windowsphone/develop/ff402535(v=vs.105).aspx

WinRT:
http://de.slideshare.net/ITCamp/itcamp-2012-raffaele-rialdi-introduction-to-
winrt
Recap
 Platform
                 Platform
 Evolution
               Compatibility
“Runtime 8”



 Emulator        WP8 API



                Platform
App Model
                Targeting



                 Mobile
Code Sharing
                 Services
Differences

More Related Content

PPTX
Runtime 8 and Windows Phone 8
Damir Dobric
 
PDF
Reverse engineering and modifying windows 8 apps
Amaan Khan
 
PPTX
Developing for Windows Phone 8 and Windows 8
Dave Bost
 
PPT
SynapseIndia mobile apps deployment framework architecture
Synapseindiappsdevelopment
 
PDF
Marlabs - MarlaBuzz November
Marlabs
 
PPTX
Windows 10 & Raspberry Pi 2
ByteMinded
 
PPTX
Develop a Windows 10 App. Deploy it on PC, Phone and Raspberry Pi.
Clemente Giorio
 
PPT
1 introduction of android
akila_mano
 
Runtime 8 and Windows Phone 8
Damir Dobric
 
Reverse engineering and modifying windows 8 apps
Amaan Khan
 
Developing for Windows Phone 8 and Windows 8
Dave Bost
 
SynapseIndia mobile apps deployment framework architecture
Synapseindiappsdevelopment
 
Marlabs - MarlaBuzz November
Marlabs
 
Windows 10 & Raspberry Pi 2
ByteMinded
 
Develop a Windows 10 App. Deploy it on PC, Phone and Raspberry Pi.
Clemente Giorio
 
1 introduction of android
akila_mano
 

Viewers also liked (20)

PPTX
Wide area network
Onlly Aisah
 
PDF
Normas apa
Alfredo Loaiza
 
PPTX
SB Guys
seroskamp12
 
PPTX
Recticel
Matthias de Mey
 
PPTX
Genre survey results
HollieRackley
 
PDF
Brand Newsrooms - Real-time Marketing Strategy, Operations and Execution
Insight Summit Series
 
PPTX
Sarah and chris1
Ginger Bear
 
PPTX
Itg investor presentation_21march16
Investment_Tech_Group
 
PDF
11. sosial hal54 114
fadilrazqa
 
PPT
Zagadki o zime
MrMcDeer
 
PPTX
Tuuli Toivonen, ProGIS-seminaari 19.4.2012
University of Helsinki / Digital Geography Lab
 
PDF
Freelance survey 2015 (voor Interim Managers in Finance)
TriFinance Nederland
 
PPTX
Evaluation question 4
Elliot Wheeler
 
PPTX
TAUS Conference - Portland 2013
Michael Meinhardt
 
PPTX
Music Research
Elliot Wheeler
 
PPTX
에디터 실무 정ㅋ벅ㅋ
Jongchul Lee
 
PPT
Evaluation 2
HollieRackley
 
PPTX
Bethany 22
Lisa Carner Dailey
 
Wide area network
Onlly Aisah
 
Normas apa
Alfredo Loaiza
 
SB Guys
seroskamp12
 
Recticel
Matthias de Mey
 
Genre survey results
HollieRackley
 
Brand Newsrooms - Real-time Marketing Strategy, Operations and Execution
Insight Summit Series
 
Sarah and chris1
Ginger Bear
 
Itg investor presentation_21march16
Investment_Tech_Group
 
11. sosial hal54 114
fadilrazqa
 
Zagadki o zime
MrMcDeer
 
Tuuli Toivonen, ProGIS-seminaari 19.4.2012
University of Helsinki / Digital Geography Lab
 
Freelance survey 2015 (voor Interim Managers in Finance)
TriFinance Nederland
 
Evaluation question 4
Elliot Wheeler
 
TAUS Conference - Portland 2013
Michael Meinhardt
 
Music Research
Elliot Wheeler
 
에디터 실무 정ㅋ벅ㅋ
Jongchul Lee
 
Evaluation 2
HollieRackley
 
Bethany 22
Lisa Carner Dailey
 
Ad

Similar to Adc2012 windows phone 8 (20)

PDF
Conociendo el ecosistema de Windows Phone 8 y Windows 8
Sorey García
 
PPTX
Windows 8 & Phone 8 - an Architectural Battle Plan
Caleb Jenkins
 
PPTX
Windows Phone Apps Development overview
Pruthvi Reddy
 
PPTX
Sharing code win8 wp8
matthidinger
 
PPTX
Metro Style Apps - Whats there for Developers
Jitendra Soni
 
PPTX
Windows phone 8 overview
codeblock
 
PPTX
Nashua Cloud .NET User Group - Basic WP8 App Dev With XAML and C#, April 2013
John Garland
 
PPTX
SLUGUK BUILD Round-up
Derek Lakin
 
PPTX
Windows Phone 8.1 アプリ開発徹底解説
shinobu takahashi
 
PPTX
Windows 8
Alexei Skachykhin
 
PDF
13.30 hr Hebinck
Themadagen
 
PDF
Window IoT Mod 1.pdf
OshofisanOlusholaShe
 
PDF
Dot Net Project Mini Game
varun arora
 
PPTX
Developing for Windows Phone 8.1
Dan Ardelean
 
PDF
Developing for Windows Phone 8.1 (Dan Ardelean)
ITCamp
 
PPTX
Building your Own Mobile Enterprise Application: It’s Not as Hard as You Migh...
Jason Conger
 
PPT
Mobile Devolpment Slides
Luke Angel
 
PPT
Windows Mobile 7 Development
pranavaa
 
PPTX
Sinergija 12 WP8 is around the corner
Catalin Gheorghiu
 
Conociendo el ecosistema de Windows Phone 8 y Windows 8
Sorey García
 
Windows 8 & Phone 8 - an Architectural Battle Plan
Caleb Jenkins
 
Windows Phone Apps Development overview
Pruthvi Reddy
 
Sharing code win8 wp8
matthidinger
 
Metro Style Apps - Whats there for Developers
Jitendra Soni
 
Windows phone 8 overview
codeblock
 
Nashua Cloud .NET User Group - Basic WP8 App Dev With XAML and C#, April 2013
John Garland
 
SLUGUK BUILD Round-up
Derek Lakin
 
Windows Phone 8.1 アプリ開発徹底解説
shinobu takahashi
 
13.30 hr Hebinck
Themadagen
 
Window IoT Mod 1.pdf
OshofisanOlusholaShe
 
Dot Net Project Mini Game
varun arora
 
Developing for Windows Phone 8.1
Dan Ardelean
 
Developing for Windows Phone 8.1 (Dan Ardelean)
ITCamp
 
Building your Own Mobile Enterprise Application: It’s Not as Hard as You Migh...
Jason Conger
 
Mobile Devolpment Slides
Luke Angel
 
Windows Mobile 7 Development
pranavaa
 
Sinergija 12 WP8 is around the corner
Catalin Gheorghiu
 
Ad

Adc2012 windows phone 8

  • 1. DEVELOPMENT FOR WINDOWS PHONE 8 Damir Dobric
  • 2. AGENDA Platform Platform Evolution Compatibility “Runtime 8” Emulator WP8 API Platform App Model Targeting Code Sharing/ Mobile Speech Services
  • 4. Die Kurze Geschichte der Zeit Surface Windows NT Vista Windows 8 WinRT System32/ System32 WinRT Windows 95 WP8 DOS Windows CE/ Win Mobile WP7 Embedded WP8 Runtime System32/CE
  • 5. Demo As Runtime (Store App) WinRT As API (Desktop App)
  • 6. Platform Compatibility o WP7 and WP7.1 Apps run on WP8! o No general breaking changes o Existing code is emulated in Quirks- Mode o Some API differences example: XmlSerializer WP8 must have a default constructor. WP7 quirks: It is not necessary to have a default constructor o Code after Rebuild targets WP8 platform
  • 7. The dream or reality?
  • 8. Upgrade o In Solution Explorer, use the Upgrade to Windows Phone 8.0 command. o In the project designer, change the Target Windows Phone OS Version value to Windows Phone OS 8.0.
  • 9. Demo Windows Phone 8 Hello World
  • 10. Emulator • Hardware-assisted virtualization supported and enabled in the BIOS • Second Level Address Translation (SLAT) supported by the BIOS • Hardware-based Data Execution Prevention (DEP) supported and enabled in the BIOS http://developers.de/blogs/damir_dobric/archive/2012/10/14/windows8-error-hypervisor-is-not-running.aspx
  • 11. Resolution Scaled Resolution Aspect ratio resolution WVGA 480 × 800 15:9 480 × 800 WXGA 768 × 1280 15:9 480 × 800 720P 720 × 1280 16:9 480 × 853
  • 17. Common API-s Native API WinRT API Networking DirectX 11.1 Sensors XAudio2 Proximity Storage MediaEngine DataSaver/Connection Manager STL Location Touch CRT Online Identity WinSock Keyboard Launchers & Choosers In-App Purchase Sensors Threading Base Types/ Windows.Foundation
  • 18. New APIs o Bluetoth o Advanced Capture o Lence control o Photo and Media enhencmets o LongListSelector o Subset of WinRT storage API o Data Sense API o DirectX and native audio and media o File and protocol associations o In-App purchasing o Location tracking in Background o App as Lock Screen
  • 22. Project Templates o C# (HTML5) o XNA o C++ o HTML5
  • 23. Demo Windows Phone 8 JavaScript Web App jQuery on Phone http://wpwidgetlibrary.codeplex.com/
  • 24. Threading o OS 7.1, apps run on a single core, and the scheduler is less aggressive in time- slicing o OS 8, apps run on multiple cores and the scheduler is more aggressive in time- slicing threads. Raise conditions and concurrency bugs easier to achieve 
  • 25. Platform Targeting o Single OS 7.1 version which runs on both. No new features are supported. Runs in quirks o Create separate copy for 7.1 and 8.0 o Create separate copy with shared files
  • 26. Demo Windows Phone 8,Windows 8 Code Sharing Portable Linked Files Library Camera Accelerometer
  • 27. Network Improvements o Socket Listeners (Incoming) Windows.Networking.Sockets o IPv6 o Winsock Support o Proximity API
  • 28. In-App Purchasing Class Member Description LoadListingInformationByProductIdsAsync(ListingInformatio CurrentApp n productIds) LoadListingInformationByKeywordsAsync(ListingInformation CurrentApp keywords) CurrentApp void ReportProductFulfillment(string productId) ProductLicense bool IsConsumable { get; } ProductListing string Description { get; } ProductListing IEnumerable<string> Keywords {get;} ProductListing ProductType ProductType {get;} ProductListing string Tag {get;} ProductListing Uri ImageUri { get; }
  • 30. Enterprise Device Enrollment o Enterprise Enrollment o Company Account o Symantec Verification o Corporate Signing Certificate o Management o System Center o InTune o Token Distribution o AETGenerator generates Application Enrollment Token (AET) .aetx o EnterpriseInstall.exe o Enrolles Token o Distributes XAP o EnterpriseValidation.exe o Periodically sends Device ID, installed apps to MS Server to validate enterprise. o Enterprise Developer API o query what apps are installed for enterprise, o start an enterprise app installation o query pending enterprise app installation
  • 35. Demo Windows Phone 8 Windows Azure Mobile Services
  • 36. Where to start? WP8 MSDN Documentation http://msdn.microsoft.com/en- us/library/windowsphone/develop/ff402535(v=vs.105).aspx WinRT: http://de.slideshare.net/ITCamp/itcamp-2012-raffaele-rialdi-introduction-to- winrt
  • 37. Recap Platform Platform Evolution Compatibility “Runtime 8” Emulator WP8 API Platform App Model Targeting Mobile Code Sharing Services

Editor's Notes

  • #7: Platforn, Clr and App compatibility
  • #31: Ecosystem Overview There are some general steps that enterprises must follow to establish an enterprise account, enroll devices and distribute apps to their enrolled devices. The following list describes these. An enterprise establishes an account on the developer site and is verified by SymantecAn enterprise receives a certificate, which they use to create an enrollment token to enroll devices in their enterprise.The enterprise can use the same certificate to sign apps and deploy them to their app portal.Users within the enterprise install the enrollment token on their phone, either through an OMA DM system or manually.Once a phone is enrolled in the enterprise, the employee can visit an enterprise specific app portal and download and install apps.Enterprises can query a phone for the enterprise-specific apps installed on the device.Enterprise Enrollment Enterprises will be required to establish a company account on Windows Phone Dev Center. As a part of establishing the account the enterprise will undergo a verification process with Symantec. Once an enterprise account has been established, a certificate and tools are provided to enterprises to enable them to sign apps and complete other tasks specific to enterprise app distribution. Enterprise Enrollment Token Distribution An enterprise can either manage Windows Phones using an OMA-DM management system such as System Center or InTune or they can use a set of tools provided by Microsoft to manage their phones manually. Following is a list of some of these tools and their purpose. AETGenerator Generates an Application Enrollment Token (AET) for distribution to a phone.EnterpriseInstall.exe Provides enterprise token enrollment and distribution of one enterprise XAP. This typically application launches when a user clicks a link or attachment that contains the application enrollment token (.AETX) file.EnterpriseValidation.exe Enables enterprise-enrolled phone to periodically send a message to a Microsoft server to report device ID, enterprise apps installed on the phone and the validity of the enterprise.Enterprise Developer APIs